Lines Matching refs:constructor
97 jmethodID constructor = env->GetMethodID(klass, "<init>", "()V"); in NewInstance() local
98 if (constructor == nullptr) { in NewInstance()
101 return env->NewObject(klass, constructor); in NewInstance()
258 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canDiscoverConstructor() local
259 if (constructor == nullptr) { in Java_JNI_canDiscoverConstructor()
270 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canInvokeConstructorA() local
271 if (constructor == nullptr) { in Java_JNI_canInvokeConstructorA()
282 env->NewObjectA(klass, constructor, initargs); in Java_JNI_canInvokeConstructorA()
295 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canInvokeConstructorV() local
296 if (constructor == nullptr) { in Java_JNI_canInvokeConstructorV()
308 env->NewObject(klass, constructor, initargs[0], initargs[1]); in Java_JNI_canInvokeConstructorV()