/art/test/046-reflect/src/ |
D | Main.java | 34 void printMethodInfo(Method meth) { in printMethodInfo() argument 38 System.out.println("Method name is " + meth.getName()); in printMethodInfo() 40 + meth.getDeclaringClass().getName()); in printMethodInfo() 41 params = meth.getParameterTypes(); in printMethodInfo() 44 exceptions = meth.getExceptionTypes(); in printMethodInfo() 47 System.out.println(" Return type is " + meth.getReturnType().getName()); in printMethodInfo() 49 + Integer.toHexString(meth.getModifiers())); in printMethodInfo() 85 Method meth; in checkAccess() local 87 meth = target.getMethod("publicMethod", (Class[]) null); in checkAccess() 88 meth.invoke(instance); in checkAccess() [all …]
|
/art/test/075-verification-error/ |
D | expected.txt | 10 Got expected IllegalAccessError (meth-class) 12 Got expected IllegalAccessError (meth-meth)
|
/art/test/032-concrete-sub/src/ |
D | ConcreteSub.java | 41 Method meth; in main() local 46 meth = absClass.getMethod("redefineMe", (Class[]) null); in main() 51 System.out.println("meth modifiers=" + meth.getModifiers()); in main()
|
/art/test/085-old-style-inner-class/src/ |
D | Main.java | 37 private static String nameOf(Method meth) { in nameOf() argument 38 return (meth == null) ? "(null)" : meth.toString(); in nameOf()
|
/art/test/087-gc-after-link/src/ |
D | Main.java | 86 Method meth = dexClass.getMethod("loadClass", in findDexClass() local 93 meth.invoke(dexFile, name, this); in findDexClass() 97 Method meth = dexClass.getMethod("close", (Class[]) null); in findDexClass() local 98 meth.invoke(dexFile); in findDexClass()
|
/art/test/005-annotations/src/android/test/anno/ |
D | TestAnnotations.java | 120 Method meth; in testArrayProblem() local 125 meth = TestAnnotations.class.getMethod("getFocusType", in testArrayProblem() 130 property = meth.getAnnotation(ExportedProperty.class); in testArrayProblem() 138 meth.isAnnotationPresent(ExportedProperty.class)); in testArrayProblem() 140 meth.isAnnotationPresent(AnnoSimpleType.class)); in testArrayProblem()
|
/art/test/138-duplicate-classes-check2/src/ |
D | FancyLoader.java | 112 Method meth; in findClassDalvik() local 115 meth = mDexClass.getMethod("loadClass", in findClassDalvik() 122 meth.invoke(mDexFile, name, this); in findClassDalvik()
|
/art/test/068-classloader/src/ |
D | FancyLoader.java | 111 Method meth; in findClassDalvik() local 114 meth = mDexClass.getMethod("loadClass", in findClassDalvik() 121 meth.invoke(mDexFile, name, this); in findClassDalvik()
|
/art/test/138-duplicate-classes-check/src/ |
D | FancyLoader.java | 112 Method meth; in findClassDalvik() local 115 meth = mDexClass.getMethod("loadClass", in findClassDalvik() 122 meth.invoke(mDexFile, name, this); in findClassDalvik()
|
/art/test/130-hprof/src/ |
D | Main.java | 128 Method meth; in getDumpHprofDataMethod() local 130 meth = vmdClass.getMethod("dumpHprofData", in getDumpHprofDataMethod() 137 return meth; in getDumpHprofDataMethod()
|
/art/test/086-null-super/src/ |
D | Main.java | 83 Method meth = mDexClass. in findDexClass() local 91 meth.invoke(mDexFile, name, this); in findDexClass()
|
/art/test/032-concrete-sub/ |
D | expected.txt | 5 meth modifiers=1025
|
/art/test/044-proxy/src/ |
D | BasicTest.java | 88 Method meth = methods[methods.length -1]; in main() local 89 System.out.println("Decl annos: " + Arrays.deepToString(meth.getDeclaredAnnotations())); in main() 90 Annotation[][] paramAnnos = meth.getParameterAnnotations(); in main() 93 System.out.println("Modifiers: " + meth.getModifiers()); in main()
|
/art/test/128-reg-spilling-on-implicit-nullcheck/src/ |
D | Main.java | 43 public void meth() {field = 1;} in meth() method in TestClass
|
/art/test/074-gc-thrash/src/ |
D | Main.java | 79 Method meth; in getDumpHprofDataMethod() local 81 meth = vmdClass.getMethod("dumpHprofData", in getDumpHprofDataMethod() 88 return meth; in getDumpHprofDataMethod()
|
/art/test/031-class-attributes/src/ |
D | ClassAttrs.java | 126 Method meth; in main() local 127 meth = MemberClass.class.getMethod("foo", (Class[]) null); in main() 129 + getSignatureAttribute(meth)); in main()
|