Home | History | Annotate | Download | only in runtime

Lines Matching defs:method

197    * Verify that the method's return type matches the type of call.
214 AbortF("calling non-static method %s with %s",
217 AbortF("calling static method %s with %s",
269 * Instances of "java_class" must be instances of the method's declaring class.
288 * Make sure the object is an instance of the method's declaring class.
447 mirror::Object* method = soa.Decode<mirror::Object*>(jmethod);
448 if (method == nullptr) {
449 AbortF("expected non-null method");
452 mirror::Class* c = method->GetClass();
455 AbortF("expected java.lang.reflect.Method or "
457 PrettyTypeOf(method).c_str(), jmethod);
465 ArtMethod* method = soa.DecodeMethod(mid);
466 if (method == nullptr) {
470 if (!method->IsConstructor() || method->IsStatic()) {
471 AbortF("expected a constructor but %s: %p", PrettyMethod(method).c_str(), mid);
1038 case kFlag_CritOkay: // okay to call this method
1561 static jmethodID FromReflectedMethod(JNIEnv* env, jobject method) {
1564 JniValueType args[2] = {{.E = env}, {.L = method}};
1565 if (sc.Check(soa, true, "EL", args) && sc.CheckReflectedMethod(soa, method)) {
1567 result.m = baseEnv(env)->FromReflectedMethod(env, method);
1996 static rtype Call##name##Method(JNIEnv* env, jobject obj, jmethodID mid, ...) { \
2005 static rtype CallNonvirtual##name##Method(JNIEnv* env, jobject obj, jclass c, jmethodID mid, \
2015 static rtype CallStatic##name##Method(JNIEnv* env, jclass c, jmethodID mid, ...) { \