/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
Platform.java | 19 import java.lang.reflect.Method; 32 static Method getMethod(Class<?> clazz, String methodName) {
|
/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);
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/ |
UiAutomatorTestCaseFilter.java | 21 import java.lang.reflect.Method; 31 public boolean accept(Method method) { 32 return ((method.getParameterTypes().length == 0) && 33 (method.getName().startsWith("test")) && 34 (method.getReturnType().getSimpleName().equals("void")));
|
/libcore/luni/src/main/java/java/lang/ |
Void.java | 20 import java.lang.reflect.Method; 40 Method method = Runnable.class.getMethod("run", EmptyArray.CLASS); local 41 return (Class<Void>) method.getReturnType();
|
/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 | 36 (method arguments) and "locals" (local variables). The "outs" (arguments 76 become the parameters to the called method. The VM guarantees that there 78 into a method. 86 We push two stack frames on when calling an interpreted or native method 90 stack might look like an uninterrupted series of interpreted method calls. 91 The second frame is for the method itself. 95 NULL method pointer. 97 When calling a native method from interpreted code, the stack setup is 98 essentially identical to calling an interpreted method. Because it's a 99 native method, though, there are never any "locals" or "outs" 137 const Method* method; member in struct:StackSaveArea [all...] |
/dalvik/vm/reflect/ |
Reflect.h | 54 * Get the named method. 69 Method* dvmSlotToMethod(ClassObject* clazz, int slot); 99 * Return the class object that matches the method's signature. For 102 ClassObject* dvmGetBoxedReturnType(const Method* meth); 108 Method* dvmGetMethodFromReflectObj(Object* obj); 110 Object* dvmCreateReflectObjForMethod(const ClassObject* clazz, Method* method); 113 * Quick test to determine if the method in question is a reflection call. 114 * Used for some stack parsing. Currently defined as "the method's declaring 115 * class is java.lang.reflect.Method" [all...] |
/external/chromium/base/ |
observer_list_threadsafe.h | 141 template <class Method> 142 void Notify(Method m) { 143 UnboundMethod<ObserverType, Method, Tuple0> method(m, MakeTuple()); 144 Notify<Method, Tuple0>(method); 147 template <class Method, class A> 148 void Notify(Method m, const A &a) { 149 UnboundMethod<ObserverType, Method, Tuple1<A> > method(m, MakeTuple(a)) [all...] |
task.h | 89 template <class Method> 90 inline CancelableTask* NewRunnableMethod(Method method) { 91 return new RunnableMethod<Method, Tuple0>( 92 weak_factory_.GetWeakPtr(), method, MakeTuple()); 95 template <class Method, class A> 96 inline CancelableTask* NewRunnableMethod(Method method, const A& a) { 97 return new RunnableMethod<Method, Tuple1<A> >( 98 weak_factory_.GetWeakPtr(), method, MakeTuple(a)) [all...] |
/external/junit/src/org/junit/internal/runners/ |
ClassRoadie.java | 4 import java.lang.reflect.Method; 54 List<Method> befores= fTestClass.getBefores(); 55 for (Method before : befores) 69 List<Method> afters= fTestClass.getAfters(); 70 for (Method after : afters)
|
TestMethod.java | 4 import java.lang.reflect.Method; 21 private final Method fMethod; 24 public TestMethod(Method method, TestClass testClass) { 25 fMethod= method; 57 List<Method> getBefores() { 61 List<Method> getAfters() {
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
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...] |
/external/qemu-pc-bios/bochs/bios/ |
acpi-dsdt.dsl | 110 Method (_EJ0,1) { \ 198 Method (_STA, 0, NotSerialized) { 219 Method (_S1D, 0, NotSerialized) 223 Method (_S2D, 0, NotSerialized) 227 Method (_S3D, 0, NotSerialized) 256 Method (_STA, 0, NotSerialized) 261 Method (_CRS, 0, NotSerialized) 288 Method (_STA, 0, NotSerialized) 293 Method (_CRS, 0, NotSerialized) 307 Method (_STA, 0, NotSerialized [all...] |
/external/junit/src/org/junit/internal/matchers/ |
TypeSafeMatcher.java | 3 import java.lang.reflect.Method; 29 for (Method method : c.getDeclaredMethods()) { 30 if (isMatchesSafelyMethod(method)) { 31 return method.getParameterTypes()[0]; 36 throw new Error("Cannot determine correct type for matchesSafely() method."); 39 private static boolean isMatchesSafelyMethod(Method method) { 40 return method.getName().equals("matchesSafely") 41 && method.getParameterTypes().length == [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);
|
/libcore/luni/src/test/java/libcore/java/lang/annotation/ |
AnnotationTypeMismatchExceptionTest.java | 23 import java.lang.reflect.Method; 27 Method m = String.class.getMethod("length"); 34 Method m = String.class.getMethod("length"); 40 // non-serializable field of type Method.
|