HomeSort by relevance Sort by last modified time
    Searched refs:Method (Results 426 - 450 of 1620) sorted by null

<<11121314151617181920>>

  /external/guice/extensions/grapher/src/com/google/inject/grapher/
ShortNameFactory.java 30 import java.lang.reflect.Method;
44 } else if (member instanceof Method) {
99 * or a {@link Method} when a provider method is used.
105 if (source instanceof Method) {
106 source = StackTraceElements.forMember((Method) source);
120 protected String getMethodString(Method method) {
122 for (Class<?> paramType : method.getParameterTypes()) {
127 return "#" + method.getName() + "(" + paramString + ")"
    [all...]
  /external/javassist/src/main/javassist/util/proxy/
SecurityActions.java 20 import java.lang.reflect.Method;
27 static Method[] getDeclaredMethods(final Class clazz) {
31 return (Method[]) AccessController
53 static Method getDeclaredMethod(final Class clazz, final String name,
59 return (Method) AccessController
  /external/jmdns/src/javax/jmdns/impl/
NetworkTopologyDiscoveryImpl.java 6 import java.lang.reflect.Method;
26 private final Method _isUp;
28 private final Method _supportsMulticast;
35 Method isUp;
39 // We do not want to throw anything if the method does not exist.
43 Method supportsMulticast;
47 // We do not want to throw anything if the method does not exist.
  /external/proguard/src/proguard/classfile/attribute/visitor/
MultiAttributeVisitor.java 187 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute)
191 attributeVisitors[index].visitDeprecatedAttribute(clazz, method, deprecatedAttribute);
196 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute)
200 attributeVisitors[index].visitSyntheticAttribute(clazz, method, syntheticAttribute);
205 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute syntheticAttribute)
209 attributeVisitors[index].visitSignatureAttribute(clazz, method, syntheticAttribute);
223 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute
    [all...]
  /external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
SubstitutableLoggerTest.java 29 import java.lang.reflect.Method;
65 for (Method m : Logger.class.getDeclaredMethods()) {
75 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
76 invokedMethodSignatures.add(getMethodSignature(method));
77 if (method.getName().startsWith("is")) {
90 for (Method m : loggerClass.getDeclaredMethods()) {
98 private static String getMethodSignature(Method m) {
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/
ReflectionMethod.java 39 import org.jf.dexlib2.iface.Method;
49 public class ReflectionMethod extends BaseMethodReference implements Method {
50 private final java.lang.reflect.Method method; field in class:ReflectionMethod
52 public ReflectionMethod(java.lang.reflect.Method method) {
53 this.method = method;
57 final java.lang.reflect.Method method = this.method local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
AnnotationTest.java 23 import java.lang.reflect.Method;
44 Method m1 = AnnotatedClass2.class
46 Method m2 = AnnotatedClass2.class
53 List<Method> methods = Arrays.asList(AnnotatedClass.class.getDeclaredMethods());
54 Map<String, List<Method>> eqs = new HashMap<String, List<Method>>();
55 Map<String, List<Method>> neqs = new HashMap<String, List<Method>>();
56 for (Method m : methods) {
59 Map<String, List<Method>> curT = name.charAt(0) == 'e'? eqs : neqs
    [all...]
  /libcore/ojluni/src/main/java/java/lang/reflect/
Proxy.java 82 * A method invocation on a proxy instance through one of its proxy
84 * invoke} method of the instance's invocation handler, passing the proxy
85 * instance, a {@code java.lang.reflect.Method} object identifying
86 * the method that was invoked, and an array of type {@code Object}
88 * encoded method invocation as appropriate and the result that it
89 * returns will be returned as the result of the method invocation on
119 * an array of {@code Method} objects that include all of the
123 * <li>The {@link Proxy#isProxyClass Proxy.isProxyClass} method will
140 * Proxy.newProxyInstance} method, which combines the actions of calling
162 * {@link Proxy#getInvocationHandler Proxy.getInvocationHandler} method
607 Method method = methods.get(i); local
    [all...]
  /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
Test.java 28 import java.lang.reflect.Method;
56 private ArrayList<Method> mAllTestMethods = new ArrayList<>();
61 for (final Method m : c.getDeclaredMethods()) {
78 for (final Method m : mAllTestMethods) {
114 for (final Method m : mAllTestMethods) {
  /packages/services/Car/car-lib/src/android/car/content/pm/
CarAppBlockingPolicy.java 25 import java.lang.reflect.Method;
39 private static final Method sReadBlobMethod;
40 private static final Method sWriteBlobMethod;
44 Method readBlob = null;
45 Method writeBlob = null;
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
TestsForListsInJavaUtil.java 26 import java.lang.reflect.Method;
65 protected Collection<Method> suppressForEmptyList() {
68 protected Collection<Method> suppressForSingletonList() {
71 protected Collection<Method> suppressForArraysAsList() {
74 protected Collection<Method> suppressForArrayList() {
77 protected Collection<Method> suppressForLinkedList() {
80 protected Collection<Method> suppressForCopyOnWriteArrayList() {
83 protected Collection<Method> suppressForUnmodifiableList() {
86 protected Collection<Method> suppressForCheckedList() {
89 protected Collection<Method> suppressForAbstractList()
    [all...]
TestsForQueuesInJavaUtil.java 25 import java.lang.reflect.Method;
59 protected Collection<Method> suppressForLinkedList() {
62 protected Collection<Method> suppressForArrayBlockingQueue() {
65 protected Collection<Method> suppressForConcurrentLinkedQueue() {
68 protected Collection<Method> suppressForLinkedBlockingQueue() {
71 protected Collection<Method> suppressForPriorityBlockingQueue() {
74 protected Collection<Method> suppressForPriorityQueue() {
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/beans/
BulkBeanEmitter.java 19 import java.lang.reflect.Method;
47 Method[] getters = new Method[getterNames.length];
48 Method[] setters = new Method[setterNames.length];
58 private void generateGet(final Class target, final Method[] getters) {
81 private void generateSet(final Class target, final Method[] setters) {
126 Method[] getters_out,
127 Method[] setters_out) {
135 Method method = ReflectUtils.findDeclaredMethod(target, getters[i], null) local
146 Method method = ReflectUtils.findDeclaredMethod(target, setters[i], new Class[]{ types[i] }); local
    [all...]
  /frameworks/volley/src/main/java/com/android/volley/toolbox/
HurlStack.java 21 import com.android.volley.Request.Method;
134 * @param requestMethod request method
139 return requestMethod != Request.Method.HEAD
206 case Method.DEPRECATED_GET_OR_POST:
224 case Method.GET:
225 // Not necessary to set the request method because connection defaults to GET but
229 case Method.DELETE:
232 case Method.POST:
236 case Method.PUT:
240 case Method.HEAD
    [all...]
HttpClientStack.java 21 import com.android.volley.Request.Method;
97 case Method.DEPRECATED_GET_OR_POST: {
113 case Method.GET:
115 case Method.DELETE:
117 case Method.POST: {
123 case Method.PUT: {
129 case Method.HEAD:
131 case Method.OPTIONS:
133 case Method.TRACE:
135 case Method.PATCH:
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
CompatUtils.java 25 import java.lang.reflect.Method;
42 public static Method getMethod(final Class<?> targetClass, final String name,
94 final Method method, final Object... args) {
95 if (method == null) {
99 return method.invoke(receiver, args);
171 private final Method mMethod;
173 public ToObjectMethodWrapper(final Method method, final T defaultValue) {
174 mMethod = method;
    [all...]
  /external/clang/include/clang/AST/
CXXInheritance.h 228 /// \brief Uniquely identifies a virtual method within a class
229 /// hierarchy by the method itself and a class subobject number.
232 : Method(nullptr), Subobject(0), InVirtualSubobject(nullptr) { }
234 UniqueVirtualMethod(CXXMethodDecl *Method, unsigned Subobject,
236 : Method(Method), Subobject(Subobject),
239 /// \brief The overriding virtual method.
240 CXXMethodDecl *Method;
242 /// \brief The subobject in which the overriding virtual method
247 /// virtual method is a part. Note that this records the closes
    [all...]
  /external/guava/guava/src/com/google/common/util/concurrent/
SimpleTimeLimiter.java 28 import java.lang.reflect.Method;
40 * A TimeLimiter that runs method calls in the background using an
41 * {@link ExecutorService}. If the time limit expires for a given method call,
54 * execute proxied method calls.
59 * this case the call may even time out before the target method is ever
62 * @param executor the ExecutorService that will execute the method calls on
72 * Executors#newCachedThreadPool()} to execute proxied method calls.
77 * before the target method is ever invoked.
93 final Set<Method> interruptibleMethods
98 public Object invoke(Object obj, final Method method, final Object[] args
    [all...]
  /external/proguard/src/proguard/classfile/attribute/annotation/visitor/
AllElementValueVisitor.java 92 public void visitRuntimeVisibleAnnotationsAttribute(Clazz clazz, Method method, RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute)
95 runtimeVisibleAnnotationsAttribute.annotationsAccept(clazz, method, this);
113 public void visitRuntimeInvisibleAnnotationsAttribute(Clazz clazz, Method method, RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute)
116 runtimeInvisibleAnnotationsAttribute.annotationsAccept(clazz, method, this);
120 public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute)
123 parameterAnnotationsAttribute.annotationsAccept(clazz, method, this);
127 public void visitAnnotationDefaultAttribute(Clazz clazz, Method method, AnnotationDefaultAttribute annotationDefaultAttribute
    [all...]
  /external/proguard/src/proguard/classfile/visitor/
ReferencedClassVisitor.java 142 // Let the visitor visit the classes referenced in the method type constant.
154 // Let the visitor visit the class of the enclosing method.
159 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
162 codeAttribute.attributesAccept(clazz, method, this);
166 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute)
169 localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this);
173 public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute
    [all...]
ClassPrinter.java 237 println(visitorInfo(invokeDynamicConstant) + " InvokeDynamic [bootstrap method index = " + invokeDynamicConstant.u2bootstrapMethodAttributeIndex + "]:");
328 "Method: " +
375 "Method: " +
448 " Enclosing method attribute:");
495 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute)
498 " Method parameters attribute (count = " + methodParametersAttribute.u1parametersCount + ")");
501 methodParametersAttribute.parametersAccept(clazz, method, this);
506 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute
    [all...]
  /external/guice/core/src/com/google/inject/internal/
ProxyFactory.java 39 import java.lang.reflect.Method;
47 * method matchers to come up with the set of intercepted methods.
56 private final ImmutableMap<Method, List<MethodInterceptor>> interceptors;
58 private final List<Method> methods;
93 // Create method/interceptor holders and record indices.
95 for (Method method : methods) {
96 methodInterceptorsPairs.add(new MethodInterceptorsPair(method));
103 if (methodAspect.matches(pair.method)) {
104 if(pair.method.isSynthetic())
185 final Method method; field in class:ProxyFactory.MethodInterceptorsPair
    [all...]
  /external/conscrypt/src/compat/java/org/conscrypt/
Platform.java 27 import java.lang.reflect.Method;
51 private static Method m_getCurveName;
67 Method m_getFileDescriptor = Socket.class.getDeclaredMethod("getFileDescriptor$");
106 Method setCurveName = spec.getClass().getDeclaredMethod("setCurveName", String.class);
124 Method m_fromMillis = c_structTimeval.getDeclaredMethod("fromMillis", long.class);
141 Method m_setsockoptTimeval = instance_os.getClass().getMethod("setsockoptTimeval",
191 // Use duck-typing to try and call the hostname-aware method if available.
193 Method method = tm.getClass().getMethod(methodName, local
197 method.invoke(tm, chain, authType, argumentInstance)
    [all...]
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/
ReflectionUtils.java 20 import java.lang.reflect.Method;
125 // Method
129 * @return all declared {@link Method}'s, including protected and private.
131 public static Map<String, Method> getMethods(Class<?> clazz) {
132 Map<String, Method> methods = Maps.newHashMap();
135 for (Method method : c.getDeclaredMethods()) {
136 String signature = getMethodSignature(method);
138 method.setAccessible(true);
139 methods.put(signature, method);
226 Method method = getMethodBySignature(refClass, signature); local
    [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
85 List<Method> checkedDelegateMethods = new ArrayList<Method>();
88 // with @LayoutlibDelegate, look for a matching method in the delegate class.
89 // The annotation is automatically added by layoutlib_create when it replace a method
91 Method[] originalMethods = originalClass.getDeclaredMethods();
92 for (Method originalMethod : originalMethods)
    [all...]

Completed in 1206 milliseconds

<<11121314151617181920>>