/external/proguard/src/proguard/classfile/editor/ |
ExceptionInfoAdder.java | 54 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
|
LocalVariableInfoAdder.java | 52 public void visitLocalVariableInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo)
|
LocalVariableTypeInfoAdder.java | 52 public void visitLocalVariableTypeInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeInfo localVariableTypeInfo)
|
MethodInvocationFixer.java | 60 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 66 codeAttribute.instructionsAccept(clazz, method, this); 69 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute); 75 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 78 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 82 // Get information on the called class and method, if present. 87 // Did we find the called class and method [all...] |
NamedAttributeDeleter.java | 78 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 80 new AttributesEditor((ProgramClass)clazz, (ProgramMember)method, codeAttribute, false).deleteAttribute(attributeName);
|
/external/proguard/src/proguard/optimize/ |
DuplicateInitializerFixer.java | 85 Method similarMethod = programClass.findMethod(name, descriptor); 129 // Fix the local variable frame size, the method 157 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 161 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz), 162 method.getAccessFlags()); 171 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute signatureAttribute) 173 String descriptor = method.getDescriptor(clazz); 188 public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute [all...] |
/external/proguard/src/proguard/optimize/evaluation/ |
SimpleEnumArrayPropagator.java | 31 * method in the simple enum classes that it visits. 50 // Update the return value of the "int[] values()" method. 86 private static void setMethodReturnValue(Method method, Value value) 88 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
MessageNanoPrinter.java | 36 import java.lang.reflect.Method; 145 for (Method method : clazz.getMethods()) { 146 String name = method.getName(); 147 // Check for the setter accessor method since getters and hazzers both have 152 Method hazzer = null; 163 Method getter = null;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowListFragment.java | 13 import java.lang.reflect.Method;
|
/frameworks/base/core/tests/utillib/src/android/test/ |
BandwidthTestCase.java | 24 import java.lang.reflect.Method; 46 Method method = null; local 54 method = testClass.getMethod(fName, (Class[]) null); 56 fail("Method \""+fName+"\" not found"); 59 if (!Modifier.isPublic(method.getModifiers())) { 60 fail("Method \""+fName+"\" should be public"); 65 if (method.isAnnotationPresent(FlakyTest.class)) { 66 runCount = method.getAnnotation(FlakyTest.class).tolerance(); 67 } else if (method.isAnnotationPresent(RepetitiveTest.class)) [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
HTTPMessage.java | 27 public enum Method {GET, PUT, POST}
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
ClearCacheRequest.java | 41 super(Method.GET, null, null);
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
Reflect.java | 80 static Method lookupMethod(String className, 86 Method m = cl.getDeclaredMethod(methodName, paramTypes); 96 static Object invoke(Method m, Object ob, Object[] args) { 106 static Object invokeIO(Method m, Object ob, Object[] args)
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
dmksctrl.h | 42 PKSMETHOD Method,
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
RuntimeInstrument.java | 54 import java.lang.reflect.Method; 81 public boolean isBenchmarkMethod(Method method) { 82 return method.isAnnotationPresent(Benchmark.class) 83 || BenchmarkMethods.isTimeMethod(method) 84 || method.isAnnotationPresent(Macrobenchmark.class); 95 public Instrumentation createInstrumentation(Method benchmarkMethod) 121 MacrobenchmarkInstrumentation(Method benchmarkMethod) { 127 ImmutableSet<Method> beforeRepMethods = 129 ImmutableSet<Method> afterRepMethods [all...] |
/external/testng/src/main/java/org/testng/internal/ |
MethodHelper.java | 3 import java.lang.reflect.Method;
33 private static final Map<Method, String> CANONICAL_NAME_CACHE = new ConcurrentHashMap<>();
64 * Finds TestNG methods that the specified TestNG method depends upon
65 * @param m TestNG method
84 for (ITestNGMethod method : methods) {
85 Method thisMethod = method.getMethod();
97 vResult.add(method);
110 Method maybeReferringTo = findMethodByName(m, regexp);
112 throw new TestNGException(canonicalMethodName + "() is depending on method "
[all...] |
/external/testng/src/test/java/test/mannotation/ |
MAnnotationSampleTest.java | 18 import java.lang.reflect.Method; 66 Method method = MTest1.class.getMethod("f", new Class[0]); local 67 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); 78 Assert.assertEquals(test1.getDescription(), "Method description"); 110 Method method = MTest1.class.getMethod("before", new Class[0]); local 112 (IConfigurationAnnotation) m_finder.findAnnotation(method, IConfigurationAnnotation.class); 135 Method method = MTest1.class.getMethod("after", new Class[0]) local 160 Method method = MTest1.class.getMethod("otherConfigurations", new Class[0]); local 185 Method method = MTest1.class.getMethod("otherConfigurations", new Class[0]); local 194 Method method = MTest1.class.getMethod("otherConfigurations", new Class[0]); local 204 Method method = MTest1.class.getMethod("factory", new Class[0]); local 214 Method method = MTest1.class.getMethod("parameters", new Class[0]); local 224 Method method = MTest1.class.getMethod("newBefore", new Class[0]); local 238 Method method = MTest1.class.getMethod("newAfter", new Class[0]); local [all...] |
/art/test/080-oom-throw/src/ |
Main.java | 18 import java.lang.reflect.Method; 108 Method m = c.getMethod("blowup", (Class[]) null);
|
/art/test/086-null-super/src/ |
Main.java | 18 import java.lang.reflect.Method; 83 Method meth = mDexClass. 109 * otherwise invoke the super's loadClass method.
|
/art/test/099-vmdebug/src/ |
Main.java | 19 import java.lang.reflect.Method; 253 private static final Method startMethodTracingMethod; 254 private static final Method stopMethodTracingMethod; 255 private static final Method getMethodTracingModeMethod; 256 private static final Method getRuntimeStatMethod; 257 private static final Method getRuntimeStatsMethod; 258 private static final Method countInstancesOfClassMethod; 259 private static final Method countInstancesOfClassesMethod;
|
/art/test/201-built-in-exception-detail-messages/src/ |
Main.java | 19 import java.lang.reflect.Method; 299 // Invoke method. 305 assertEquals("Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference", ex.getMessage()); 385 Method m = A.class.getMethod("m", int.class, String.class); 389 assertEquals("method A.m argument 2 has type java.lang.String, got java.lang.Integer", 395 Method m = A.class.getMethod("m", int.class, String.class); 399 assertEquals("method A.m argument 1 has type int, got null", expected.getMessage()); 403 Method m = String.class.getMethod("charAt", int.class); 410 Method m = String.class.getMethod("charAt", int.class); 414 assertEquals("method java.lang.String.charAt! argument 1 has type int, got java.lang.String" [all...] |
/art/test/522-checker-regression-monitor-exit/src/ |
Main.java | 17 import java.lang.reflect.Method; 43 Method m = c.getMethod("synchronizedHashCode", new Class[] { Object.class });
|
/art/test/595-profile-saving/src/ |
Main.java | 19 import java.lang.reflect.Method; 39 throw new RuntimeException("Method with index " + methodIdx + " not in the profile"); 50 // Make sure we have a profile info for this method without the need to loop. 54 // Return the dex method index. 58 // Checks if the profiles saver knows about the method. 83 private static final Method registerAppInfoMethod;
|
/cts/tools/vm-tests-tf/src/dot/junit/ |
DxTestCase.java | 62 * Try to load the class with the given name, find the "run" method and run it. 69 java.lang.reflect.Method method = null; local 70 // We expect only ever one declared method named run, but don't know the arguments. So 72 for (java.lang.reflect.Method m : c.getDeclaredMethods()) { 74 method = m; 78 if (method == null) { 79 fail("Could not find method 'run'"); 92 method.invoke(receiver, args);
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/util/ |
ConfiguratorTest.java | 26 import java.lang.reflect.Method;
95 Method m = Configurator.getSetter(c.getClass(), "b");
|