Lines Matching refs:constructor
94 jmethodID constructor = env->GetMethodID(klass, "<init>", "()V"); in NewInstance() local
95 if (constructor == nullptr) { in NewInstance()
98 return env->NewObject(klass, constructor); in NewInstance()
255 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canDiscoverConstructor() local
256 if (constructor == nullptr) { in Java_JNI_canDiscoverConstructor()
267 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canInvokeConstructorA() local
268 if (constructor == nullptr) { in Java_JNI_canInvokeConstructorA()
279 env->NewObjectA(klass, constructor, initargs); in Java_JNI_canInvokeConstructorA()
292 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canInvokeConstructorV() local
293 if (constructor == nullptr) { in Java_JNI_canInvokeConstructorV()
305 env->NewObject(klass, constructor, initargs[0], initargs[1]); in Java_JNI_canInvokeConstructorV()