/external/clang/lib/AST/ |
ExprObjC.cpp | 21 ObjCMethodDecl *Method, SourceRange SR) 24 NumElements(Elements.size()), Range(SR), ArrayWithObjectsMethod(Method) { 40 QualType T, ObjCMethodDecl *Method, 44 return new (Mem) ObjCArrayLiteral(Elements, T, Method, SR); 57 ObjCMethodDecl *method, 62 DictWithObjectsMethod(method) { 93 ObjCMethodDecl *method, SourceRange SR) { 100 return new (Mem) ObjCDictionaryLiteral(VK, HasPackExpansions, T, method, SR); 140 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, 147 reinterpret_cast<uintptr_t>(Method ? Method : Sel.getAsOpaquePtr())) [all...] |
/external/proguard/src/proguard/classfile/editor/ |
ConstantPoolRemapper.java | 261 // Remap the constant pool references of the bootstrap method entries. 337 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute) 343 methodParametersAttribute.parametersAccept(clazz, method, this); 347 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute) 358 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 367 codeAttribute.instructionsAccept(clazz, method, this); 371 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute) [all...] |
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
FactoryProvider.java | 42 import java.lang.reflect.Method; 58 * method's parameters are the arguments required to build the constructed type. 68 * parameters that match each of the factory method's parameters. Each factory-supplied parameter 104 * The types of the factory method's parameters must be distinct. To use multiple parameters of 106 * parameters. The names must be applied to the factory method's parameters: 128 * Returned factories use child injectors to create values. The values are eligible for method 136 * <p>Instead of matching factory method arguments to constructor parameters using their names, the 137 * <strong>parameters are matched by their order</strong>. The first factory method argument is 142 * method interception. They do receive post-construction member injection. 164 private final Map<Method, AssistedConstructor<?>> factoryMethodToConstructor [all...] |
FactoryProvider2.java | 63 import java.lang.reflect.Method; 94 /** if a factory method parameter isn't annotated, it gets this annotation. */ 121 /** the return type in the factory method that the constructor is bound to. */ 123 /** the parameters in the factory method associated with this data. */ 128 /** All non-assisted dependencies required by this method. */ 130 /** The factory method associated with this data*/ 131 final Method factoryMethod; 141 TypeLiteral<?> implementationType, Method factoryMethod, 162 .add("factory method", factoryMethod) 173 public Method getFactoryMethod() 234 defaultMethods.put(method.getName(), method); local 237 otherMethods.put(method.getName(), method); local 668 Method method = entry.getKey(); local [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
ReflectUtils.java | 37 private static Method DEFINE_CLASS; 93 if (member instanceof Method) { 94 return TypeUtils.getTypes(((Method)member).getExceptionTypes()); 103 if (member instanceof Method) { 104 return new Signature(member.getName(), Type.getMethodDescriptor((Method)member)); 131 public static Method findMethod(String desc) { 135 public static Method findMethod(String desc, ClassLoader loader) { 272 public static Method findNewInstance(Class iface) { 273 Method m = findInterfaceMethod(iface); 275 throw new IllegalArgumentException(iface + " missing newInstance method"); [all...] |
/external/dexmaker/src/test/java/com/google/dexmaker/ |
DexMakerTest.java | 24 import java.lang.reflect.Method; 65 * This is necessary to generate multiple classes in the same test method. 127 Method method = generatedClass.getMethod("call"); local 128 method.invoke(instance); 153 * Method method = null; 157 TypeId<Method> methodType = TypeId.get(Method.class); 159 Local<Method> localMethod = code.newLocal(methodType) 167 Method method = generatedClass.getMethod("call", int.class); local 232 Method method = generatedClass.getMethod("call", generatedClass); local 265 Method method = generatedClass.getMethod("superHashCode"); local 480 Method method = generatedClass.getMethod("call"); local 1080 Method method = getMethod(); local 1105 Method method = getMethod(); local 1330 Method method = getMethod(); local 1411 Method method = getMethod(); local 1528 Method method = getMethod(); local 1690 Method method = generatedClass.getMethod("call"); local 1723 Method method = generatedClass.getMethod("call"); local [all...] |
/art/test/040-miranda/src/ |
Main.java | 17 import java.lang.reflect.Method; 43 System.out.println("Test getting miranda method via reflection:"); 46 Method mirandaMethod = mirandaClass.getDeclaredMethod("inInterface"); 47 System.out.println(" did not expect to find miranda method");
|
/art/test/044-proxy/src/ |
Clash4.java | 19 import java.lang.reflect.Method; 72 public Object invoke(Object proxy, Method method, Object[] args)
|
NarrowingTest.java | 26 // Note that this method declaration narrows the return type. 37 public Object invoke(Object proxy, Method method, 39 System.out.println("Invocation of " + method); 50 Method[] methods = proxy.getClass().getDeclaredMethods();
|
/art/test/126-miranda-multidex/src/ |
Main.java | 17 import java.lang.reflect.Method; 45 System.out.println("Test getting miranda method via reflection:"); 48 Method mirandaMethod = mirandaClass.getDeclaredMethod("inInterface"); 49 System.out.println(" did not expect to find miranda method");
|
/art/test/141-class-unload/src/ |
Main.java | 22 import java.lang.reflect.Method; 40 // Test that we don't unload if we have a Method keeping the class live. 103 Method stackTraceMethod = klass.get().getDeclaredMethod("generateStackTrace"); 144 Method getValue = intHolder.getDeclaredMethod("getValue"); 145 Method setValue = intHolder.getDeclaredMethod("setValue", Integer.TYPE); 161 Method setValue = intHolder.getDeclaredMethod("setValue", Integer.TYPE); 171 Method loadLibrary = intHolder.getDeclaredMethod("loadLibrary", String.class); 174 Method waitForCompilation = intHolder.getDeclaredMethod("waitForCompilation"); 183 Method loadLibrary = intHolder.getDeclaredMethod("loadLibrary", String.class);
|
/art/test/145-alloc-tracking-stress/src/ |
Main.java | 18 import java.lang.reflect.Method; 24 static Method enableAllocTrackingMethod; 41 throw new AssertionError("Couldn't find enableRecentAllocations method");
|
/art/test/612-jit-dex-cache/src/ |
Main.java | 17 import java.lang.reflect.Method; 53 Method m = cls.getDeclaredMethod("letMeInlineYou", A.class); 55 // Invoke the method enough times to get an inline cache and get JITted.
|
/art/test/972-iface-super-multidex/src/ |
Main.java | 29 Method m = c.getMethod("runReal"); 36 Method m = c.getMethod("runConflict");
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
TestUtils.java | 26 import java.lang.reflect.Method; 35 * Utility method to call hidden ScanRecord.parseFromBytes method. 40 Method method = scanRecordClass.getDeclaredMethod("parseFromBytes", byte[].class); local 41 return (ScanRecord) method.invoke(null, bytes);
|
/cts/tests/tests/permission/src/android/permission/cts/ |
AppOpsTest.java | 27 import java.lang.reflect.Method; 49 Method setMode = mAppOps.getClass().getMethod("setMode", int.class, int.class, 59 throw new AssertionError("Unable to find setMode method", e);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
ExceptionCaughtDebuggee.java | 32 import java.lang.reflect.Method; 86 // We use java reflection to invoke the method throwing the exception through native. 87 Method method = getClass().getDeclaredMethod("throwDebuggeeException"); local 89 method.invoke(this); 106 * Catches a {@link NullPointerException} thrown from a native method. 118 * Causes a {@link NullPointerException} to be thrown from native method
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/debuggee/ |
ProxyDebuggee.java | 25 import java.lang.reflect.Method; 51 public Object invoke(Object proxy, Method method, Object[] args)
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
BenchmarkClassChecker.java | 27 import java.lang.reflect.Method; 36 * by calling an appropriate method on {@link CaliperMain}. 69 * Check to see whether the supplied class contains at least one benchmark method that can be run 73 * @return true if the class does contain a benchmark method, false otherwise. 76 for (Method method : theClass.getDeclaredMethods()) { 78 if (instrument.isBenchmarkMethod(method)) {
|
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/staticprovides/ |
StaticProvidesTest.java | 20 import java.lang.reflect.Method; 63 for (Method method : DaggerStaticTestComponent.Builder.class.getDeclaredMethods()) { 64 if (Arrays.asList(method.getParameterTypes()).contains(AllStaticModule.class)) { 65 assertWithMessage(method.getName()) 66 .that(method.isAnnotationPresent(Deprecated.class))
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
FeatureSpecificTestSuiteBuilder.java | 31 import java.lang.reflect.Method; 107 * features. This method may be called more than once to add features 145 private Set<Method> suppressedTests = new HashSet<Method>(); 155 public B suppressing(Method... methods) { 159 public B suppressing(Collection<Method> methods) { 164 public Set<Method> getSuppressedTests() { 226 final Method method; local 228 method = extractMethod(test) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
CollectionCreationTester.java | 29 import java.lang.reflect.Method; 33 * static factory method) of a collection. Can't be invoked directly; please see 61 * Returns the {@link Method} instance for {@link 68 public static Method getCreateWithNullUnsupportedMethod() {
|
SetAddTester.java | 29 import java.lang.reflect.Method; 57 * Returns the {@link Method} instance for 62 public static Method getAddSupportedNullPresentMethod() {
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
ReflectionTest.java | 24 import java.lang.reflect.Method; 53 public Object invoke(Object proxy, Method method, Object[] args)
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
ForwardingObjectTester.java | 27 import java.lang.reflect.Method; 37 private static final Method DELEGATE_METHOD;
|