Lines Matching defs:method

83 void ThrowAbstractMethodError(ArtMethod* method) {
85 StringPrintf("abstract method \"%s\"",
86 PrettyMethod(method).c_str()).c_str());
91 StringPrintf("abstract method \"%s\"",
170 << " method " << PrettyMethod(called).c_str();
190 msg << "Final field '" << PrettyField(accessed, false) << "' cannot be written to by method '"
220 ArtMethod* method, ArtMethod* referrer) {
222 msg << "The method '" << PrettyMethod(method) << "' was expected to be of type "
229 void ThrowIncompatibleClassChangeErrorClassForInterfaceSuper(ArtMethod* method,
239 << PrettyMethod(method) << "'";
278 void ThrowIncompatibleClassChangeErrorForMethodConflict(ArtMethod* method) {
279 DCHECK(method != nullptr);
282 StringPrintf("Conflicting default method implementations %s",
283 PrettyMethod(method).c_str()).c_str());
354 msg << "No " << type << " method " << name << signature
360 ArtMethod* method = Thread::Current()->GetCurrentMethod(nullptr);
361 mirror::DexCache* dex_cache = method->GetDeclaringClass()->GetDexCache();
364 msg << "No method '" << PrettyMethod(method_idx, dex_file, true) << "'";
366 method->GetDeclaringClass(), msg.str().c_str());
383 msg << "Attempt to invoke " << type << " method '"
396 void ThrowNullPointerExceptionForMethodAccess(ArtMethod* method,
398 mirror::DexCache* dex_cache = method->GetDeclaringClass()->GetDexCache();
400 ThrowNullPointerExceptionForMethodAccessImpl(method->GetDexMethodIndex(),
406 ArtMethod* method = Thread::Current()->GetCurrentMethod(&throw_dex_pc);
407 const DexFile::CodeItem* code = method->GetCodeItem();
431 // Since we replaced the method index, we ask the verifier to tell us which
432 // method is invoked at this location.
434 verifier::MethodVerifier::FindInvokedMethodAtDexPc(method, throw_dex_pc);
440 ThrowNullPointerException("Attempt to invoke a virtual method on a null object reference");
452 Runtime::Current()->GetClassLinker()->ResolveField(instr->VRegC_22c(), method, false);
466 verifier::MethodVerifier::FindAccessedFieldAtDexPc(method, throw_dex_pc);
484 Runtime::Current()->GetClassLinker()->ResolveField(instr->VRegC_22c(), method, false);
498 verifier::MethodVerifier::FindAccessedFieldAtDexPc(method, throw_dex_pc);
536 method->GetDeclaringClass()->GetDexCache()->GetDexFile();