/external/guice/core/src/com/google/inject/internal/util/ |
Classes.java | 24 import java.lang.reflect.Method; 49 if (memberType == Method.class) { 61 * Returns {@code Field.class}, {@code Method.class} or {@code Constructor.class}. 69 } else if (member instanceof Method) { 70 return Method.class;
|
/external/guice/core/src/com/google/inject/spi/ |
InterceptorBinding.java | 27 import java.lang.reflect.Method; 48 private final Matcher<? super Method> methodMatcher; 54 Matcher<? super Method> methodMatcher, 70 public Matcher<? super Method> getMethodMatcher() {
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
MixinEverythingEmitter.java | 18 import java.lang.reflect.Method; 45 protected Method[] getMethods(Class type) { 48 return (Method[])methods.toArray(new Method[methods.size()]);
|
/external/objenesis/main/src/org/objenesis/instantiator/perc/ |
PercSerializationInstantiator.java | 21 import java.lang.reflect.Method;
39 private final java.lang.reflect.Method newInstanceMethod;
51 // Get the special Perc method to call
52 Class percMethodClass = Class.forName("COM.newmonics.PercClassLoader.Method");
60 Method getPercClassMethod = percClassClass.getDeclaredMethod("getPercClass",
63 Method findMethodMethod = someObject.getClass().getDeclaredMethod("findMethod",
|
/external/objenesis/main/src/org/objenesis/instantiator/sun/ |
SunReflectionFactoryHelper.java | 20 import java.lang.reflect.Method; 38 Method newConstructorForSerializationMethod = getNewConstructorForSerializationMethod( 67 Method method = reflectionFactoryClass.getDeclaredMethod( local 69 return method.invoke(null, new Object[] {}); 85 private static Method getNewConstructorForSerializationMethod(Class reflectionFactoryClass) {
|
/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/info/ |
DynamicInvocationMarker.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) 54 setInvokesDynamically(method); 61 private static void setInvokesDynamically(Method method) 63 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); 72 * Returns whether the given method calls the invokedynamic instruction. 74 public static boolean invokesDynamically(Method method [all...] |
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...] |
ExceptionInstructionChecker.java | 45 * Returns whether the specified method may throw exceptions. 48 Method method, 52 method, 63 Method method, 79 method, 99 Method method, 106 method, [all...] |
/external/testng/src/main/java/org/testng/internal/ |
ConstructorOrMethod.java | 4 import java.lang.reflect.Method; 7 * Encapsulation of either a method or a constructor. 13 private Method m_method; 17 public ConstructorOrMethod(Method m) { 37 public Method getMethod() {
|
/frameworks/base/core/java/android/hardware/camera2/dispatch/ |
MethodNameInvoker.java | 20 import java.lang.reflect.Method; 26 * Invoke a method on a dispatchable by its name (without knowing the {@code Method} ahead of time). 34 private final ConcurrentHashMap<String, Method> mMethods = 38 * Create a new method name invoker. 49 * Invoke a method by its name. 51 * <p>If more than one method exists in {@code targetClass}, the first method with the right 52 * number of arguments will be used, and later calls will all use that method.</p> 55 * The name of the method, which will be matched 1:1 to the destination metho [all...] |
/frameworks/base/tools/aapt2/compile/ |
PseudolocaleGenerator.h | 27 Pseudolocalizer::Method method,
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
OptionalMethod.java | 21 import java.lang.reflect.Method; 25 * Duck-typing for methods: Represents a method that may or may not be present on an object. 27 * @param <T> the type of the object the method might be on, typically an interface or base class 31 /** The return type of the method. null means "don't care". */ 39 * Creates an optional method. 42 * @param methodName the name of the method 43 * @param methodParams the method parameter types 52 * Returns true if the method exists on the supplied {@code target}. 59 * Invokes the method on {@code target} with {@code args}. If the method does not exist or is no 149 Method method = null; local 164 Method method = null; local [all...] |
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/ |
AllAnnotationVisitor.java | 72 public void visitRuntimeVisibleAnnotationsAttribute(Clazz clazz, Method method, RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute) 75 runtimeVisibleAnnotationsAttribute.annotationsAccept(clazz, method, annotationVisitor); 93 public void visitRuntimeInvisibleAnnotationsAttribute(Clazz clazz, Method method, RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute) 96 runtimeInvisibleAnnotationsAttribute.annotationsAccept(clazz, method, annotationVisitor); 100 public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute) 103 parameterAnnotationsAttribute.annotationsAccept(clazz, method, annotationVisitor); 121 public void visitRuntimeVisibleTypeAnnotationsAttribute(Clazz clazz, Method method, RuntimeVisibleTypeAnnotationsAttribute runtimeVisibleTypeAnnotationsAttribute [all...] |
/libcore/ojluni/src/main/java/sun/reflect/annotation/ |
AnnotationType.java | 57 * Member name -> Method object mapping. This (and its assoicated 60 private final Map<String, Method> members = new HashMap<String, Method>(); 99 Method[] methods = 100 AccessController.doPrivileged(new PrivilegedAction<Method[]>() { 101 public Method[] run() { 108 for (Method method : methods) { 109 if (method.getParameterTypes().length != 0) 110 throw new IllegalArgumentException(method + " has params") [all...] |
/system/connectivity/shill/cellular/ |
cellular_bearer.h | 67 IPConfig::Method ipv4_config_method() const { return ipv4_config_method_; } 71 IPConfig::Method ipv6_config_method() const { return ipv6_config_method_; } 82 // Gets the IP configuration method and properties from |properties|. 85 // configuration method and properties and should be non-NULL. 89 IPConfig::Method* ipconfig_method, 104 void set_ipv4_config_method(IPConfig::Method ipv4_config_method) { 111 void set_ipv6_config_method(IPConfig::Method ipv6_config_method) { 130 IPConfig::Method ipv4_config_method_; 132 IPConfig::Method ipv6_config_method_;
|
/cts/tests/tests/media/src/android/media/cts/ |
RemoteControllerTest.java | 27 import java.lang.reflect.Method; 135 Map<String, List<Method>> methodMap = new HashMap<String, List<Method>>(); 136 for (Method method : listener.getClass().getDeclaredMethods()) { 137 if (!methodMap.containsKey(method.getName())) { 138 methodMap.put(method.getName(), new ArrayList<Method>()); 140 methodMap.get(method.getName()).add(method); [all...] |
/external/proguard/src/proguard/classfile/editor/ |
VariableRemapper.java | 73 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute) 89 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 93 System.out.println("VariableRemapper: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)); 102 codeAttribute.attributesAccept(clazz, method, this); 108 codeAttribute.instructionsAccept(clazz, method, this); 111 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute); 115 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
ReachableCodeMarker.java | 84 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 100 markCode(clazz, method, codeAttribute, 0); 107 codeAttribute.exceptionsAccept(clazz, method, this); 115 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 131 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 136 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction [all...] |
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/ |
InvocationHandlerAdapter.java | 21 import java.lang.reflect.Method; 30 * Handles proxy method invocations to dexmaker's InvocationHandler by calling 41 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 42 if (objectMethodsGuru.isEqualsMethod(method)) { 44 } else if (objectMethodsGuru.isHashCodeMethod(method)) { 48 ProxiedMethod proxiedMethod = new ProxiedMethod(method); 62 private final Method method; field in class:InvocationHandlerAdapter.ProxiedMethod 64 public ProxiedMethod(Method method) [all...] |
UnsafeAllocator.java | 22 import java.lang.reflect.Method; 42 final Method allocateInstance = unsafeClass.getMethod("allocateInstance", Class.class); 59 final Method newInstance = ObjectInputStream.class 78 Method getConstructorId = ObjectStreamClass.class 82 final Method newInstance = ObjectStreamClass.class
|
/external/proguard/src/proguard/classfile/attribute/visitor/ |
AttributeNameFilter.java | 164 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute) 168 attributeVisitor.visitDeprecatedAttribute(clazz, method, deprecatedAttribute); 191 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute) 195 attributeVisitor.visitSyntheticAttribute(clazz, method, syntheticAttribute); 218 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute signatureAttribute) 222 attributeVisitor.visitSignatureAttribute(clazz, method, signatureAttribute); 236 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute exceptionsAttribute [all...] |
NonEmptyAttributeFilter.java | 108 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute) 110 attributeVisitor.visitDeprecatedAttribute(clazz, method, deprecatedAttribute); 126 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute) 128 attributeVisitor.visitSyntheticAttribute(clazz, method, syntheticAttribute); 144 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute signatureAttribute) 146 attributeVisitor.visitSignatureAttribute(clazz, method, signatureAttribute); 156 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute exceptionsAttribute [all...] |
RequiredAttributeFilter.java | 148 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute) 152 optionalAttributeVisitor.visitDeprecatedAttribute(clazz, method, deprecatedAttribute); 175 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute) 179 optionalAttributeVisitor.visitSyntheticAttribute(clazz, method, syntheticAttribute); 202 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute signatureAttribute) 206 optionalAttributeVisitor.visitSignatureAttribute(clazz, method, signatureAttribute); 220 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute exceptionsAttribute [all...] |