Lines Matching refs:method
26 #include "mirror/method.h"
39 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod);
40 if (method->GetDeclaringClass()->IsProxyClass()) {
48 return soa.AddLocalReference<jobjectArray>(annotations::GetAnnotationsForMethod(method));
56 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod);
57 if (method->IsProxyMethod()) {
61 return soa.AddLocalReference<jobject>(annotations::GetAnnotationForMethod(method, klass));
67 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod);
68 if (method->GetDeclaringClass()->IsProxyClass()) {
72 return soa.AddLocalReference<jobjectArray>(annotations::GetSignatureAnnotationForMethod(method));
78 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod);
79 if (method->IsProxyMethod()) {
82 return soa.AddLocalReference<jobjectArray>(annotations::GetParameterAnnotations(method));
91 Handle<mirror::Method> executable = hs.NewHandle(soa.Decode<mirror::Method>(javaMethod));
188 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod);
189 if (method->GetDeclaringClass()->IsProxyClass()) {
194 return annotations::IsMethodAnnotationPresent(method, klass);
252 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod);
253 method = method->GetInterfaceMethodIfProxy(kRuntimePointerSize);
254 return soa.AddLocalReference<jobject>(method->GetNameAsString(soa.Self()));
259 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod);
260 method = method->GetInterfaceMethodIfProxy(kRuntimePointerSize);
261 ObjPtr<mirror::Class> return_type(method->GetReturnType(true /* resolve */));
271 // as arrays have a GetArrayClass() method. This is duplicated in
281 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod);
282 method = method->GetInterfaceMethodIfProxy(kRuntimePointerSize);
284 const DexFile::TypeList* params = method->GetParameterTypeList();
303 param.Assign(Runtime::Current()->GetClassLinker()->ResolveType(type_idx, method));
316 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod);
317 method = method->GetInterfaceMethodIfProxy(kRuntimePointerSize);
319 const DexFile::TypeList* params = method->GetParameterTypeList();
326 "(Ljava/lang/reflect/Method;)I"),