/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
WildcardTypeTest.java | 20 import java.lang.reflect.Method; 55 * @param method the declaring method 57 private void checkBoundedTypeParameter(Method method) { 58 TypeVariable<Method> typeParameter = getTypeParameter(method); 60 assertEquals(method, typeParameter.getGenericDeclaration()); 68 private void checkLowerBoundedParameter(Method method) { 125 Method method = clazz.getMethod("upperBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local 131 Method method = clazz.getMethod("lowerBoundedParamReturn", BoundedWildcardsGenericMethods.class); local 138 Method method = clazz.getMethod("upperBoundedParamReturn", BoundedWildcardsGenericMethods.class); local 145 Method method = clazz.getMethod("lowerBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local [all...] |
/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/tests/085-old-style-inner-class/src/ |
Main.java | 17 import java.lang.reflect.Method; 37 private static String nameOf(Method meth) {
|
/dalvik/vm/compiler/codegen/x86/ |
Assemble.cpp | 88 * This method is called from the invoke templates for virtual and interface 90 * written in assembly and have setup method, cell, and clazz at r0, r2, and 101 const Method *dvmJitToPatchPredictedChain(const Method *method,
|
/dalvik/vm/oo/ |
Resolve.h | 24 * used to invoke the method determines which list we search, and whether 51 * Resolve a direct, static, or virtual method. 53 * Can cause the method's class to be initialized if methodType is 58 extern "C" Method* dvmResolveMethod(const ClassObject* referrer, u4 methodIdx, 62 * Resolve an interface method. 66 Method* dvmResolveInterfaceMethod(const ClassObject* referrer, u4 methodIdx);
|
AccessCheck.h | 29 * Determine whether the "accessFrom" class is allowed to get at "method". 31 bool dvmCheckMethodAccess(const ClassObject* accessFrom, const Method* method);
|
/external/chromium/chrome/browser/ui/cocoa/applescript/ |
bookmark_applescript_utils_unittest.h | 34 Method originalMethod_; 35 Method alternateMethod_;
|
/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...] |
/frameworks/base/core/java/com/android/internal/util/ |
WithFramework.java | 19 import java.lang.reflect.Method; 28 * Invokes main(String[]) method on class in args[0] with args[1..n]. 45 Method mainMethod = mainClass.getMethod("main", String[].class);
|
/frameworks/ex/common/java/com/android/common/ |
SharedPreferencesCompat.java | 22 import java.lang.reflect.Method; 29 private static Method sApplyMethod; // final
|
/external/chromium/base/ |
tuple.h | 10 // and method pointer, and unpack a tuple into arguments to the call. 530 // Helper functions that call the given method on an object, with the unpacked 533 // DispatchToMethod(object, &Object::method, args); 539 template <class ObjT, class Method> 540 inline void DispatchToMethod(ObjT* obj, Method method, const Tuple0& arg) { 541 (obj->*method)(); 544 template <class ObjT, class Method, class A> 545 inline void DispatchToMethod(ObjT* obj, Method method, const A& arg) [all...] |
/dalvik/vm/analysis/ |
VerifySubs.cpp | 27 * verification of a particular method. 29 bool dvmWantVerboseVerification(const Method* meth) 45 void dvmLogVerifyFailure(const Method* meth, const char* format, ...) 75 const Method* meth) 83 ALOGE("Could not find class '%s', referenced from method %s.%s", 92 bool dvmGetBranchOffset(const Method* meth, const InsnFlags* insnFlags,
|
/external/chromium/chrome/browser/ui/cocoa/ |
objc_method_swizzle.h | 17 Method GetImplementedInstanceMethod(Class aClass, SEL aSelector);
|
/external/guava/guava/src/com/google/common/eventbus/ |
AnnotatedHandlerFinder.java | 21 import java.lang.reflect.Method; 43 for (Method method : clazz.getMethods()) { 44 Subscribe annotation = method.getAnnotation(Subscribe.class); 47 Class<?>[] parameterTypes = method.getParameterTypes(); 50 "Method " + method + " has @Subscribe annotation, but requires " + 55 EventHandler handler = makeHandler(listener, method); 66 * Creates an {@code EventHandler} for subsequently calling {@code method} on 69 * {@code method} [all...] |
/external/proguard/src/proguard/classfile/visitor/ |
ExceptionCounter.java | 48 public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
|
/external/proguard/src/proguard/optimize/ |
ChangedCodePrinter.java | 117 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute) 119 attributeVisitor.visitDeprecatedAttribute(clazz, method, deprecatedAttribute); 123 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute) 125 attributeVisitor.visitSyntheticAttribute(clazz, method, syntheticAttribute); 129 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute syntheticAttribute) 131 attributeVisitor.visitSignatureAttribute(clazz, method, syntheticAttribute); 141 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute [all...] |
/external/proguard/src/proguard/optimize/info/ |
MethodInvocationMarker.java | 46 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 49 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 62 // Mark the referenced method, if any. 69 // Mark the referenced method. 87 private static void incrementInvocationCount(Method method) 89 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); 98 * Returns the number of times the given method was invoked by th [all...] |
SuperInvocationMarker.java | 47 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 50 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 60 setInvokesSuperMethods(method); 78 private static void setInvokesSuperMethods(Method method) 80 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); 88 public static boolean invokesSuperMethods(Method method) [all...] |
/external/webkit/Source/WebCore/bridge/jni/ |
JavaMethod.h | 43 class JavaMethod : public Method {
|
/external/webkit/Source/WebCore/bridge/objc/ |
objc_header.h | 37 typedef Method MethodStructPtr;
|
/external/webkit/Source/WebCore/fileapi/ |
FileThreadTask.h | 45 typedef void (T::*Method)(); 48 static PassOwnPtr<FileThreadTaskImpl> create(T* instance, Method method) 50 return adoptPtr(new FileThreadTaskImpl(instance, method)); 54 FileThreadTask0(T* instance, Method method) 56 , m_method(method) 66 Method m_method; 72 typedef void (T::*Method)(MP1); 76 static PassOwnPtr<FileThreadTaskImpl> create(T* instance, Method method, Param1 parameter1 [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/ |
CCMainThreadTask.h | 38 typedef void (T::*Method)(); 41 static PassOwnPtr<MainThreadTaskImpl> create(T* instance, Method method) 43 return adoptPtr(new MainThreadTaskImpl(instance, method)); 47 MainThreadTask0(T* instance, Method method) 49 , m_method(method) 59 Method m_method; 65 typedef void (T::*Method)(MP1); 69 static PassOwnPtr<MainThreadTaskImpl> create(T* instance, Method method, Param1 parameter1 [all...] |
/external/proguard/src/proguard/classfile/editor/ |
VariableRemapper.java | 63 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 69 codeAttribute.instructionsAccept(clazz, method, this); 72 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute); 75 codeAttribute.attributesAccept(clazz, method, this); 79 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute) 82 localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this); 91 public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
ReachableCodeMarker.java | 82 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 101 markCode(clazz, method, codeAttribute, 0); 108 codeAttribute.exceptionsAccept(clazz, method, this); 116 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 132 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 137 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
TestDelegates.java | 22 import java.lang.reflect.Method; 36 * {@link LayoutlibDelegate}, and look for a matching method in the delegate (named the same 38 * If the original native method is not static, then we make sure the delegate method also 83 List<Method> checkedDelegateMethods = new ArrayList<Method>(); 86 // with @LayoutlibDelegate, look for a matching method in the delegate class. 87 // The annotation is automatically added by layoutlib_create when it replace a method 89 Method[] originalMethods = originalClass.getDeclaredMethods(); 90 for (Method originalMethod : originalMethods) [all...] |