Native methods of the Java API class java.lang.Class.


struct Hjava_lang_Class* java_lang_Class_forName(struct Hjava_lang_String* str)
Converts string name to class object.
Arguments
struct Hjava_lang_String* java_lang_Class_getName(struct Hjava_lang_Class* c)
Converts class to string name.
Arguments
struct Hjava_lang_Object* java_lang_Class_newInstance(struct Hjava_lang_Class* this)
Creates a new instance of the derived class.
Arguments
struct Hjava_lang_Class* java_lang_Class_getSuperclass(struct Hjava_lang_Class* this)
Returns the super class of the current class.
Arguments
HArrayOfObject* java_lang_Class_getInterfaces(struct Hjava_lang_Class* this)
Returns the interfaces implemented by this class.
Arguments
struct Hjava_lang_ClassLoader* java_lang_Class_getClassLoader(struct Hjava_lang_Class* this)
Returns the class loader which loaded me.
Arguments
jbool java_lang_Class_isInterface(struct Hjava_lang_Class* this)
Decides whether the current class is an interface.
Arguments
jbool java_lang_Class_isPrimitive(struct Hjava_lang_Class* this)
Decides whether the current class is a primitive.
Arguments
jbool java_lang_Class_isArray(struct Hjava_lang_Class* this)
Decides whether the current class is an array.
Arguments
Hjava_lang_Class* java_lang_Class_getComponentType(struct Hjava_lang_Class* this)
Decides whether the current class is an array.
Arguments
jbool java_lang_Class_isAssignableFrom(struct Hjava_lang_Class* this, struct Hjava_lang_Class* cls)
Decides whether the current class is assignable from another class.
Arguments
struct Hjava_lang_Class* java_lang_Class_getPrimitiveClass(struct Hjava_lang_String* name)
Gets primitive class from class name (JDK 1.1).
Arguments
jbool java_lang_Class_isInstance(struct Hjava_lang_Class* this, struct Hjava_lang_Object* obj)
Checks whether an object is an instance of this class.
Arguments
jint java_lang_Class_getModifiers(struct Hjava_lang_Class* this)
Gets the modifiers of the current (this) class.
Arguments
jint java_lang_Class_getSigners()
Unimplemented!
Return value
jint java_lang_Class_setSigners()
Unimplemented!
Return value
jint java_lang_Class_getMethods0()
Unimplemented!
Return value
jint java_lang_Class_getConstructors0()
Unimplemented!
Return value
jint java_lang_Class_getMethod0()
Unimplemented!
Return value
jint java_lang_Class_getConstructor0()
Unimplemented
Return value
static Hjava_lang_reflect_Field* makeField(struct Hjava_lang_Class* clazz, int slot)
Makes a new field to a given class.
Arguments
HArrayOfObject* java_lang_Class_getFields0(struct Hjava_lang_Class* clazz, int declared)
Gets the public fields of the given class. NOTE: This method does not work properly!!
Arguments
Hjava_lang_reflect_Field* java_lang_Class_getField0(struct Hjava_lang_Class* clazz, struct Hjava_lang_String* name, int declared)
Gets a certain field of the given class.
Arguments