/external/proguard/src/proguard/classfile/attribute/visitor/ |
ExceptionInfoVisitor.java | 36 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo);
|
LineNumberInfoVisitor.java | 37 public void visitLineNumberInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LineNumberInfo lineNumberInfo);
|
LocalVariableInfoVisitor.java | 37 public void visitLocalVariableInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo);
|
LocalVariableTypeInfoVisitor.java | 37 public void visitLocalVariableTypeInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeInfo localVariableTypeInfo);
|
/dalvik/vm/reflect/ |
Reflect.h | 63 Method* dvmSlotToMethod(ClassObject* clazz, int slot); 93 * Return the class object that matches the method's signature. For 96 ClassObject* dvmGetBoxedReturnType(const Method* meth); 102 Method* dvmGetMethodFromReflectObj(Object* obj); 104 Object* dvmCreateReflectObjForMethod(const ClassObject* clazz, Method* method); 107 * Quick test to determine if the method in question is a reflection call. 108 * Used for some stack parsing. Currently defined as "the method's declaring 109 * class is java.lang.reflect.Method". 111 INLINE bool dvmIsReflectionMethod(const Method* method [all...] |
/dalvik/libcore/luni/src/main/java/java/lang/ |
Void.java | 20 import java.lang.reflect.Method; 41 Method method = Runnable.class.getMethod("run", new Class[0]); //$NON-NLS-1$ local 42 voidType = method.getReturnType();
|
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/ |
AnnotationVisitor.java | 38 public void visitAnnotation(Clazz clazz, Method method, Annotation annotation); 39 public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation);
|
/external/proguard/src/proguard/optimize/info/ |
BackwardBranchMarker.java | 41 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 44 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) 46 markBackwardBranch(method, branchInstruction.branchOffset); 50 public void visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction) 52 markBackwardBranch(method, switchInstruction.defaultOffset); 56 markBackwardBranch(method, switchInstruction.jumpOffsets[index]); 64 * Marks the given method if the given branch offset is negative [all...] |
AccessMethodMarker.java | 45 private Method invokingMethod; 50 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 53 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 55 invokingMethod = method; 128 private static void setAccessesPrivateCode(Method method) 130 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); 139 * Returns whether the given method accesses private class members [all...] |
CatchExceptionMarker.java | 42 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 46 markCatchException(method); 53 private static void markCatchException(Method method) 55 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); 63 public static boolean catchesExceptions(Method method) 65 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
|
/dalvik/vm/interp/ |
Stack.h | 37 (method arguments) and "locals" (local variables). The "outs" (arguments 77 become the parameters to the called method. The VM guarantees that there 79 into a method. 87 We push two stack frames on when calling an interpreted or native method 91 stack might look like an uninterrupted series of interpreted method calls. 92 The second frame is for the method itself. 96 NULL method pointer. 98 When calling a native method from interpreted code, the stack setup is 99 essentially identical to calling an interpreted method. Because it's a 100 native method, though, there are never any "locals" or "outs" 139 const Method* method; member in struct:StackSaveArea [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
BoundedGenericMethodsTests.java | 24 import java.lang.reflect.Method; 31 @TestTargetClass(Method.class) 53 * @param method 54 * the declaring method 56 private void checkBoundedTypeParameter(Method method) { 57 TypeVariable<Method> typeParameter = getTypeParameter(method); 59 assertEquals(method, typeParameter.getGenericDeclaration()); 68 * Tests whether the specified method declares a parameter with the type o 126 Method method = clazz.getMethod("noParamNoReturn"); local 136 Method method = clazz.getMethod("paramNoReturn", BoundedGenericMethods.class); local 147 Method method = clazz.getMethod("noParamReturn"); local 159 Method method = clazz.getMethod("paramReturn", BoundedGenericMethods.class); local [all...] |
GenericReflectionTestsBase.java | 19 import java.lang.reflect.Method; 27 * Returns the type parameter of the declaring method. 29 * @param method 30 * the declaring method 31 * @return the type parameter of the method 33 public TypeVariable<Method> getTypeParameter(Method method) { 34 TypeVariable<Method>[] typeParameters = method.getTypeParameters() [all...] |
WildcardTypeTest.java | 20 import java.lang.reflect.Method; 66 method = "getTypeParameters", 76 * @param method the declaring method 78 private void checkBoundedTypeParameter(Method method) { 79 TypeVariable<Method> typeParameter = getTypeParameter(method); 81 assertEquals(method, typeParameter.getGenericDeclaration()); 89 private void checkLowerBoundedParameter(Method method) 152 Method method = clazz.getMethod("upperBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local 164 Method method = clazz.getMethod("lowerBoundedParamReturn", BoundedWildcardsGenericMethods.class); local 177 Method method = clazz.getMethod("upperBoundedParamReturn", BoundedWildcardsGenericMethods.class); local 190 Method method = clazz.getMethod("lowerBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local [all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/ |
DoubleType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitDoubleType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackDoubleType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesDoubleType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
FloatType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitFloatType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackFloatType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesFloatType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
IntegerType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitIntegerType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackIntegerType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesIntegerType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
LongType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitLongType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackLongType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesLongType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
NullType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitNullType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackNullType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesNullType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
TopType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitTopType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackTopType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesTopType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
UninitializedThisType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitUninitializedThisType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackUninitializedThisType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesUninitializedThisType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
VerificationType.java | 59 * Accepts the given visitor in the context of a method's code, either on 62 public abstract void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor); 66 * Accepts the given visitor in the context of a stack in a method's code . 68 public abstract void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor); 72 * Accepts the given visitor in the context of a variable in a method's code. 74 public abstract void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor);
|
/dalvik/tests/032-concrete-sub/src/ |
ConcreteSub.java | 17 import java.lang.reflect.Method; 20 * Test insertion of an abstract method in a superclass. 41 Method meth;
|
/dalvik/vm/oo/ |
Resolve.h | 24 * used to invoke the method determines which list we search, and whether 50 * Resolve a direct, static, or virtual method. 52 * Can cause the method's class to be initialized if methodType is 57 Method* dvmResolveMethod(const ClassObject* referrer, u4 methodIdx, 61 * Resolve an interface method. 65 Method* dvmResolveInterfaceMethod(const ClassObject* referrer, u4 methodIdx);
|
/external/easymock/src/org/easymock/internal/ |
LegacyMatcherProvider.java | 20 import java.lang.reflect.Method;
36 private transient Map<Method, ArgumentsMatcher> matchers = new HashMap<Method, ArgumentsMatcher>();
38 public ArgumentsMatcher getMatcher(Method method) {
39 if (!matchers.containsKey(method)) {
43 matchers.put(method, defaultMatcher);
45 return matchers.get(method);
58 public void setMatcher(Method method, ArgumentsMatcher matcher) { 81 Method method = entry.getKey().getMethod(); local [all...] |