34 #if defined(ENABLE_JNI_HEADERS)
35 # include "native/include/java_lang_Class.h"
74 for (
const char *it = uname.
begin(), *end = uname.
end(); it != end; ++it) {
static JNINativeMethod methods[]
Table containing all native methods registered with the VM.
NativeMethods & get_nativemethods()
void register_methods(Utf8String classname, const JNINativeMethod *methods, size_t count)
Register native methods with the VM.
Utf8String to_utf8() const
void exceptions_throw_classnotfoundexception(Utf8String name)
#define NATIVE_METHODS_COUNT
byte_iterator end() const
JNIEXPORT jstring JNICALL Java_java_lang_Class_getName(JNIEnv *env, jclass _this)
classinfo * load_class_bootstrap(Utf8String name)
bool class_is_instance(classinfo *c, java_handle_t *h)
JNIEXPORT jboolean JNICALL Java_java_lang_Class_isArray(JNIEnv *env, jclass _this)
static bool class_is_array(classinfo *c)
JNIEXPORT jboolean JNICALL Java_java_lang_Class_isInterface(JNIEnv *env, jclass _this)
JNIEnv jclass jobject const char * name
java_handle_t * class_get_classname(classinfo *c)
Returns the classname of the class, where slashes ('/') are replaced by dots ('.
#define LLNI_classinfo_wrap(classinfo)
JNIEXPORT jclass JNICALL Java_java_lang_Class_forName(JNIEnv *env, jclass clazz, jstring name)
void exceptions_throw_nullpointerexception(void)
static bool class_is_interface(classinfo *c)
JNIEXPORT jboolean JNICALL Java_java_lang_Class_isAssignableFrom(JNIEnv *env, jclass _this, jclass cls)
static Utf8String from_utf8(const char *, size_t)
JNIEXPORT jboolean JNICALL Java_java_lang_Class_isInstance(JNIEnv *env, jclass _this, jobject obj)
bool initialize_class(classinfo *c)
JNIEXPORT jobject JNICALL Java_java_lang_Class_newInstance(JNIEnv *env, jclass _this)
java_handle_t * native_new_and_init(classinfo *c)
Registers a new native agent by specified by it's library name and with an optional options string...
byte_iterator begin() const
void _Jv_java_lang_Class_init(void)
classinfo * link_class(classinfo *c)
bool class_is_assignable_from(classinfo *to, classinfo *from)
#define LLNI_classinfo_unwrap(clazz)
static VM * get_current()
Utf8String to_utf8_dot_to_slash() const