/external/proguard/src/proguard/classfile/editor/ |
Utf8Shrinker.java | 201 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute) 206 methodParametersAttribute.parametersAccept(clazz, method, this); 210 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute) 216 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 221 codeAttribute.attributesAccept(clazz, method, this); 225 public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute [all...] |
ClassEditor.java | 188 * Adds the given method. 190 public void addMethod(Method method) 193 Method[] methods = targetClass.methods; 195 // Make sure there is enough space for the new method. 207 System.out.println(targetClass.getName()+": adding method ["+method.getName(targetClass)+method.getDescriptor(targetClass)+"]"); 210 // Add the method. 211 methods[targetClass.u2methodsCount++] = method; [all...] |
BridgeMethodFixer.java | 37 * versions of JDK 1.6, complain if they can't find the method with the same 72 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 74 // Go over the instructions of the bridge method. 75 codeAttribute.instructionsAccept(clazz, method, this); 81 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 84 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 92 // Get the name of the bridged method [all...] |
/external/vogar/src/vogar/target/junit/ |
Junit3.java | 21 import java.lang.reflect.Method; 41 private static final Method setUp; 42 private static final Method tearDown; 43 private static final Method runTest; 64 Method suiteMethod = testClass.getMethod("suite"); 71 for (Method m : testClass.getMethods()) { 96 * @param methodNames if non-empty, this is the list of test method names. 124 for (Method m : testClass.getMethods()) { 140 "Method \"" + methodName + "\" not found"); 156 Method suiteMethod = testClass.getMethod("suite") 237 protected final Method method; field in class:Junit3.VogarJUnitTest 326 super(testCase.getClass(), method); local [all...] |
/cts/tests/core/runner/src/com/android/cts/core/internal/runner/ |
TestLoader.java | 30 import java.lang.reflect.Method; 171 // ensure that if a TestCase, it has at least one test method otherwise 178 // TODO: look for a 'suite' method? 182 for (Method testMethod : loadedClass.getMethods()) { 208 for (Method testMethod : loadedClass.getMethods()) { 217 private boolean isPublicTestMethod(Method m) { 222 private boolean isTestMethod(Method m) { 227 // Libcore-specific change: Add method for checking TestNG-annotated classes. 236 // Or It's marked @Test at the method level 237 for (Method m : cls.getDeclaredMethods()) [all...] |
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
ExperimentingRunnerModuleTest.java | 38 import java.lang.reflect.Method; 51 private Method methodA; 52 private Method methodB; 53 private Method methodC; 108 fail("should have thrown for invalid benchmark method name"); 122 @Override public boolean isBenchmarkMethod(Method method) { 127 public Instrumentation createInstrumentation(Method benchmarkMethod)
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361/ |
plugin.properties | 25 javaMethodBreakpoint.name=Java Method Breakpoints 38 JavaMethodBreakpoint.name = Java Method Breakpoint 39 JavaMethodEntryBreakpoint.name = Java Method Entry Breakpoint
|
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
MultibindingsScanner.java | 30 import java.lang.reflect.Method; 47 * <p>This is a convenience method, equivalent to doing 80 Method method = (Method) injectionPoint.getMember(); 81 AnnotationOrError mapKey = findMapKeyAnnotation(binder, method); 84 binder.addError("Found a MapKey annotation on non map binding at %s.", method); 94 binder.addError("No MapKey found for map binding at %s.", method); 102 binder.addError("Found a MapKey annotation on non map binding at %s.", method); 132 private static AnnotationOrError findMapKeyAnnotation(Binder binder, Method method) [all...] |
/external/proguard/src/proguard/shrink/ |
UsageMarker.java | 108 // Explicitly mark the <clinit> method, if it's not empty. 195 // Has the method already been referenced? 215 // Has the method already been referenced? 220 // Mark the method body. 223 // Note that, if the method has been marked as possibly used, 224 // the method hierarchy has already been marked (cfr. below). 242 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 246 method.accept(clazz, UsageMarker.this); 282 // Is the method's class used [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/ |
RobolectricWiringTest.java | 12 import java.lang.reflect.Method; 30 Assert.assertEquals("@Implementation method mismatch: " + Join.join("\n", mismatches), 0, mismatches.size()); 47 for (Method shadowMethod : shadowClass.getDeclaredMethods()) { 52 private void verifyMethod(Class implementedClass, Method shadowMethod) { 63 mismatches.add(shadowMethod.toGenericString() + " doesn't match a real method"); 65 mismatches.add(shadowMethod.toGenericString() + " doesn't match the staticness of the real method"); 78 private boolean isAnnotatedImplementation(Method shadowMethod) { 87 private Member findConstructor(Class implementedClass, Method shadowMethod) { 100 private Member findMethod(Class implementedClass, Method shadowMethod) {
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
CustomInlineMethodResolver.java | 36 import org.jf.dexlib2.iface.Method; 53 @Nonnull private final Method[] inlineMethods; 77 inlineMethods = new Method[lines.size()]; 90 public Method resolveExecuteInline(@Nonnull AnalyzedInstruction analyzedInstruction) { 95 throw new RuntimeException("Invalid method index: " + methodIndex); 103 private Method parseAndResolveInlineMethod(@Nonnull String inlineMethod) { 107 throw new RuntimeException("Invalid method descriptor: " + inlineMethod); 123 for (Method method: classDef.getMethods()) { 124 if (method.equals(methodRef)) [all...] |
/external/webrtc/talk/app/webrtc/ |
proxy.h | 138 typedef R (C::*Method)(); 139 MethodCall0(C* c, Method m) : c_(c), m_(m) {} 150 Method m_; 158 typedef R (C::*Method)() const; 159 ConstMethodCall0(C* c, Method m) : c_(c), m_(m) {} 170 Method m_; 178 typedef R (C::*Method)(T1 a1); 179 MethodCall1(C* c, Method m, T1 a1) : c_(c), m_(m), a1_(a1) {} 190 Method m_; 199 typedef R (C::*Method)(T1 a1) const [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
GenericExceptionsTest.java | 21 import java.lang.reflect.Method; 31 Method method = Thrower.class.getMethod("parameterizedMethod"); local 33 Arrays.asList(method.getGenericExceptionTypes())); 37 Method method = Thrower.class.getMethod("genericParameters", List.class); local 39 Arrays.asList(method.getGenericExceptionTypes())); 63 Method method = ThrowerT.class.getMethod("throwsTypeVariable"); local 64 TypeVariable typeVariable = getOnlyValue(method.getGenericExceptionTypes() 71 Method method = ThrowerT.class.getMethod("throwsMethodTypeParameter"); local 79 Method method = ThrowerT.class.getMethod("throwsEverything"); local [all...] |
/art/runtime/mirror/ |
method.h | 28 // C++ mirror of java.lang.reflect.Method. 29 class MANAGED Method : public AbstractMethod { 32 static Method* CreateFromArtMethod(Thread* self, ArtMethod* method) 54 static GcRoot<Class> static_class_; // java.lang.reflect.Method.class. 55 static GcRoot<Class> array_class_; // [java.lang.reflect.Method.class. 57 DISALLOW_COPY_AND_ASSIGN(Method); 64 static Constructor* CreateFromArtMethod(Thread* self, ArtMethod* method)
|
/art/test/071-dexfile/src/ |
Main.java | 20 import java.lang.reflect.Method; 94 Method DexFile_loadDex = DexFile.getMethod("loadDex", 98 Method DexFile_entries = DexFile.getMethod("entries");
|
/art/test/087-gc-after-link/src/ |
Main.java | 18 import java.lang.reflect.Method; 86 Method meth = dexClass.getMethod("loadClass", 98 Method meth = dexClass.getMethod("close", (Class[]) null); 119 * otherwise invoke the super's loadClass method.
|
/art/test/416-optimizing-arith-not/src/ |
Main.java | 17 import java.lang.reflect.Method; 68 Method m = c.getMethod("$opt$NotInt", int.class); 75 Method m = c.getMethod("$opt$NotLong", long.class);
|
/art/test/496-checker-inlining-and-class-loader/src/ |
Main.java | 18 import java.lang.reflect.Method; 68 Method method = dexFile.getClass().getDeclaredMethod( local 72 Class clazz = (Class)method.invoke(dexFile, className, this, null); 127 Method m = foo.getDeclaredMethod("bar");
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
GcmSpecUtil.java | 4 import java.lang.reflect.Method; 56 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); 57 Method iv= gcmSpecClass.getDeclaredMethod("getIV", new Class[0]);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
BiMapInverseTester.java | 29 import java.lang.reflect.Method; 71 * Returns {@link Method} instances for the tests that assume that the inverse will be the same 75 public static List<Method> getInverseSameAfterSerializingMethods() { 80 private static Method getMethod(String methodName) {
|
/external/guice/core/src/com/google/inject/internal/ |
DefaultConstructionProxyFactory.java | 25 import java.lang.reflect.Method; 69 public ImmutableMap<Method, List<org.aopalliance.intercept.MethodInterceptor>> 100 public ImmutableMap<Method, List<org.aopalliance.intercept.MethodInterceptor>>
|
/external/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/ |
DaggerMethodScanner.java | 30 import java.lang.reflect.Method; 47 Method providesMethod = (Method) injectionPoint.getMember();
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
InterfaceMaker.java | 29 * of method signatures. 48 * Add a method signature to the interface. 49 * @param sig the method signature to add to the interface 50 * @param exceptions an array of exception types to declare for the method 57 * Add a method signature to the interface. The method modifiers are ignored, 59 * @param method the method to add to the interface 61 public void add(Method method) { [all...] |
Proxy.java | 19 import java.lang.reflect.Method; 30 * on the <code>Method</code> passed to the <code>invoke</code> method 43 public int accept(Method method, List<Method> allMethods) { 44 if (method.getDeclaringClass().getName().equals("java.lang.Object")) { 45 String name = method.getName();
|
/external/mockito/src/org/mockito/internal/invocation/ |
SerializableMethod.java | 8 import java.lang.reflect.Method;
24 public SerializableMethod(Method method) {
25 declaringClass = method.getDeclaringClass();
26 methodName = method.getName();
27 parameterTypes = method.getParameterTypes();
28 returnType = method.getReturnType();
29 exceptionTypes = method.getExceptionTypes();
30 isVarArgs = method.isVarArgs();
53 public Method getJavaMethod() { [all...] |