Lines Matching defs:method
81 void ThrowAbstractMethodError(ArtMethod* method) {
83 StringPrintf("abstract method \"%s\"",
84 PrettyMethod(method).c_str()).c_str());
153 << " method " << PrettyMethod(called).c_str();
159 msg << "Method '" << PrettyMethod(accessed) << "' is inaccessible to class '"
173 msg << "Final field '" << PrettyField(accessed, false) << "' cannot be written to by method '"
203 ArtMethod* method, ArtMethod* referrer) {
205 msg << "The method '" << PrettyMethod(method) << "' was expected to be of type "
312 msg << "No " << type << " method " << name << signature
318 ArtMethod* method = Thread::Current()->GetCurrentMethod(nullptr);
319 mirror::DexCache* dex_cache = method->GetDeclaringClass()->GetDexCache();
322 msg << "No method '" << PrettyMethod(method_idx, dex_file, true) << "'";
324 method->GetDeclaringClass(), msg.str().c_str());
341 msg << "Attempt to invoke " << type << " method '"
354 void ThrowNullPointerExceptionForMethodAccess(ArtMethod* method,
356 mirror::DexCache* dex_cache = method->GetDeclaringClass()->GetDexCache();
358 ThrowNullPointerExceptionForMethodAccessImpl(method->GetDexMethodIndex(),
364 ArtMethod* method = Thread::Current()->GetCurrentMethod(&throw_dex_pc);
365 const DexFile::CodeItem* code = method->GetCodeItem();
389 // Since we replaced the method index, we ask the verifier to tell us which
390 // method is invoked at this location.
392 verifier::MethodVerifier::FindInvokedMethodAtDexPc(method, throw_dex_pc);
398 ThrowNullPointerException("Attempt to invoke a virtual method on a null object reference");
410 Runtime::Current()->GetClassLinker()->ResolveField(instr->VRegC_22c(), method, false);
424 verifier::MethodVerifier::FindAccessedFieldAtDexPc(method, throw_dex_pc);
442 Runtime::Current()->GetClassLinker()->ResolveField(instr->VRegC_22c(), method, false);
456 verifier::MethodVerifier::FindAccessedFieldAtDexPc(method, throw_dex_pc);
494 method->GetDeclaringClass()->GetDexCache()->GetDexFile();