/libcore/libart/src/main/java/java/lang/reflect/ |
AbstractMethod.java | 44 * This class represents an abstract method. Abstract methods are either methods or constructors. 52 * The ArtMethod associated with this Method, requried for dispatching due to entrypoints 59 /** Method's declaring class */ 62 /** Overriden method's declaring class (same as declaringClass unless declaringClass 66 /** The method index of this method within its defining dex file */ 81 * We insert native method stubs for abstract methods so we don't have to 82 * check the access flags at the time of the method call. This results in 130 * Returns the class that declares this constructor or method. 137 * Returns the index of this method's ID in its dex file [all...] |
/libcore/luni/src/main/java/libcore/reflect/ |
AnnotationFactory.java | 26 import java.lang.reflect.Method; 68 Method[] declaredMethods = annotationType.getDeclaredMethods(); 71 Method element = declaredMethods[i]; 103 * New instances should not be created directly, use factory method 269 * Processes a method invocation request to this annotation instance. 273 * @throws IllegalArgumentException If the specified method is none of the above 276 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 277 String name = method.getName(); 278 Class[] params = method.getParameterTypes() [all...] |
/libcore/ojluni/src/main/java/java/lang/reflect/ |
AccessibleObject.java | 36 * The AccessibleObject class is the base class for Field, Method and 53 * @see Method 62 * Convenience method to set the {@code accessible} flag for an 66 * {@code checkPermission} method is called with a 101 * {@code checkPermission} method is called with a 132 } else if (clazz == Method.class) { 133 throw new SecurityException("Can not make a java.lang.reflect.Method" + 159 // Field, Method, and Constructor. 166 // method, and constructor accessors. Note that this is called 173 throw new AssertionError("All subclasses should override this method"); [all...] |
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
AbstractInterruptibleChannel.java | 33 import java.lang.reflect.Method; 48 * indefinitely. In order to ensure that the {@link #end end} method is always 62 * <p> The <tt>completed</tt> argument to the {@link #end end} method tells 70 * #implCloseChannel implCloseChannel} method in such a way that if it is 75 * {@link #end end} method will throw the appropriate exception. 79 * #implCloseChannel implCloseChannel} method need not synchronize against 103 * <p> If the channel has already been closed then this method returns 105 * the {@link #implCloseChannel implCloseChannel} method in order to 123 * <p> This method is invoked by the {@link #close close} method in orde [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/ |
MmsNetworkManager.java | 29 import java.lang.reflect.Method; 299 final Method method = mConnectivityManager.getClass().getMethod( local 301 if (method != null) { 302 return (Integer) method.invoke( 314 final Method method = mConnectivityManager.getClass().getMethod( local 316 if (method != null) { 317 method.invoke( 373 final Method method = cmClass.getDeclaredMethod("getMobileDataEnabled") local [all...] |
/external/guice/core/test/com/google/inject/ |
MethodInterceptionTest.java | 34 import java.lang.reflect.Method; 142 assertEquals("Unable to method intercept: " + NotInterceptable.class.getName(), 163 Method barMethod = Interceptable.class.getMethod("bar"); 164 Method fooMethod = Interceptable.class.getMethod("foo"); 165 assertEquals(ImmutableMap.<Method, List<MethodInterceptor>>of( 172 assertEquals(ImmutableMap.<Method, List<MethodInterceptor>>of(), 261 bindInterceptor(Matchers.any(), new AbstractMatcher<Method>() { 262 public boolean matches(Method t) {
|
TypeLiteralTypeResolutionTest.java | 35 import java.lang.reflect.Method; 73 Method stringIndexOf; 74 Method comparableCompareTo; 75 Method getArray; 76 Method getSetOfArray; 77 Method echo; 78 Method throwS;
|
/external/proguard/src/proguard/classfile/editor/ |
ClassReferenceFixer.java | 286 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 289 codeAttribute.attributesAccept(clazz, method, this); 293 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute) 296 localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this); 300 public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute) 303 localVariableTypeTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this); 330 public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute [all...] |
/external/proguard/src/proguard/classfile/util/ |
ClassReferenceInitializer.java | 41 * All field and method reference constant pool entries get direct references 235 "method '" + ClassUtil.externalFullMethodDescription(className, 0, name, type)) + 289 // Is there an enclosing method? Otherwise it's just initialization 296 // See if we can find the method in the referenced class. 302 // We couldn't find the enclosing method. 307 ": can't find enclosing method '" + 317 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 320 codeAttribute.attributesAccept(clazz, method, this); 324 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute [all...] |
InstructionSequenceMatcher.java | 224 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 237 method, 244 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) 259 method, 266 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 282 method, 289 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
BranchTargetFinder.java | 259 * Returns whether the method is an instance initializer, in the 270 * the "super" or "this" initializer method, or <code>NONE</code> if it is 294 * "this" initializer method, , or <code>NONE</code> if it is not a 'new' 304 * Returns whether the method contains subroutines, in the CodeAttribute 318 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 322 // method.getName(clazz).equals("abc"); 364 codeAttribute.instructionsAccept(clazz, method, this); 367 codeAttribute.exceptionsAccept(clazz, method, this); 428 System.out.println("Branch targets: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/ |
RobolectricTestRunner.java | 9 import java.lang.reflect.Method; 94 * into "do nothing" classes which proxy all method calls to shadow classes, just like it does 313 @Override protected Statement methodBlock(final FrameworkMethod method) { 314 setupI18nStrictState(method.getMethod(), robolectricConfig); 315 lookForLocaleAnnotation( method.getMethod(), robolectricConfig ); 321 delegate.internalBeforeTest(method.getMethod()); 323 final Statement statement = super.methodBlock(method); 330 delegate.internalAfterTest(method.getMethod()); 340 * Called before each test method is run. Sets up the simulation of the Android runtime environment. 342 @Override public void internalBeforeTest(final Method method) [all...] |
/dalvik/dx/src/com/android/dx/dex/cf/ |
AttributeTranslator.java | 31 import com.android.dx.cf.iface.Method; 62 * Gets the list of thrown exceptions for a given method. 64 * @param method {@code non-null;} the method in question 67 public static TypeList getExceptions(Method method) { 68 AttributeList attribs = method.getAttributes(); 146 * Gets the annotations out of a given method, similar to {@link 148 * of the method-specific attribute {@code Exceptions}. 150 * @param method {@code non-null;} the method in questio [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
LocaleDisplayNames.java | 11 import java.lang.reflect.Method; 378 private static final Method FACTORY_DIALECTHANDLING; 379 private static final Method FACTORY_DISPLAYCONTEXT; 384 Method factoryDialectHandling = null; 385 Method factoryDisplayContext = null;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
LocaleDisplayNames.java | 10 import java.lang.reflect.Method; 409 private static final Method FACTORY_DIALECTHANDLING; 410 private static final Method FACTORY_DISPLAYCONTEXT; 415 Method factoryDialectHandling = null; 416 Method factoryDisplayContext = null;
|
/external/proguard/src/proguard/optimize/evaluation/ |
LivenessAnalyzer.java | 189 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 193 // method.getName(clazz).equals("abc"); 198 System.out.println("Liveness analysis: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)); 204 // Evaluate the method. 205 partialEvaluator.visitCodeAttribute(clazz, method, codeAttribute); 242 codeAttribute.instructionAccept(clazz, method, offset, this); 259 codeAttribute.exceptionsAccept(clazz, method, this); 345 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) { [all...] |
SimpleEnumDescriptorSimplifier.java | 207 // // Skip the valueOf method. 226 // Append a code, if the method isn't a class instance initializer. 263 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 266 codeAttribute.attributesAccept(clazz, method, this); 270 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute) 273 localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this); 277 public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute [all...] |
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
ClassDefinition.java | 69 for (Method method: classDef.getDirectMethods()) { 70 if (method.getName().equals("<clinit>")) { 71 MethodImplementation impl = method.getImplementation(); 253 Iterable<? extends Method> directMethods; 260 for (Method method: directMethods) { 268 // TODO: check for method validation errors 269 String methodString = ReferenceUtil.getMethodDescriptor(method, true); 273 writer.write("# duplicate method ignored\n") [all...] |
/external/smali/smali/src/test/java/ |
ImplicitReferenceTest.java | 40 import org.jf.dexlib2.iface.Method; 58 * Tests for method/field references that use an implicit type 66 ".method public static main([Ljava/lang/String;)V\n" + 72 ".end method"); 74 Method mainMethod = null; 75 for (Method method: classDef.getMethods()) { 76 if (method.getName().equals("main")) { 77 mainMethod = method; 90 MethodReference method = (MethodReference)instruction.getReference() local [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
OldGenericReflectionCornerCases.java | 20 import java.lang.reflect.Method; 42 Method method = clazz.getDeclaredMethod("wildcardEquality", Pair.class); local 47 Type[] parameterTypes = method.getGenericParameterTypes(); 85 Method method = clazz.getDeclaredMethod("wildcardUnEquality", Pair.class); local 90 Type[] parameterTypes = method.getGenericParameterTypes(); 130 Method method = clazz.getDeclaredMethod("multipleBoundedWildcardUnEquality", Pair.class); local 147 Type[] parameterTypes = method.getGenericParameterTypes() 182 Method method = clazz.getDeclaredMethod("multipleBoundedWildcardEquality", Pair.class); local [all...] |
/art/test/046-reflect/src/ |
Main.java | 34 void printMethodInfo(Method meth) { 38 System.out.println("Method name is " + meth.getName()); 85 Method meth; 92 System.err.println("succeeded on package-scope method"); 104 System.err.println("inner-method invoke unexpectedly worked"); 125 Method meth = null; 159 System.out.println("Calling no-arg void-return method"); 163 /* try invoking a method that throws an exception */ 411 Method m; 487 Method[] methods = niuClass.getDeclaredMethods() 490 Method method = niuClass.getMethod("staticMethod", (Class[]) null); local 518 Method method; local [all...] |
/external/clang/lib/Parse/ |
ParseCXXInlineMethods.cpp | 23 /// Declarator is a well formed C++ inline method definition. Now lex its body 141 // impossible to recover, so don't try to parse this method later. 265 /// stack of method declarations with some parts for which parsing was 300 Actions.ActOnReenterTemplateScope(getCurScope(), LM.Method); 303 // Start the delayed C++ method declaration 304 Actions.ActOnStartDelayedCXXMethodDeclaration(getCurScope(), LM.Method); 378 FunctionDecl *Old = cast<FunctionDecl>(LM.Method)->getPreviousDecl(); 397 ExceptionSpecEnd.setEofData(LM.Method); 413 CXXMethodDecl *Method; 415 = dyn_cast<FunctionTemplateDecl>(LM.Method)) [all...] |
/external/dexmaker/src/test/java/com/google/dexmaker/stock/ |
ProxyBuilderTest.java | 24 import java.lang.reflect.Method; 91 public String method() { method in class:ProxyBuilderTest.ConstructorTakesArguments 102 proxy.method(); 143 return "non-final method"; 147 return "final method"; 153 assertEquals("final method", proxy.finalMethod()); 259 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 260 return ProxyBuilder.callSuper(proxy, method, args); 306 public long method(int first, Integer second) method in class:ProxyBuilderTest.HasOddParams 395 public String method(int value) { method in class:ProxyBuilderTest.PrintsOddAndValue [all...] |
/frameworks/base/core/java/android/view/ |
ViewDebug.java | 46 import java.lang.reflect.Method; 91 @Target({ ElementType.FIELD, ElementType.METHOD }) 95 * When resolveId is true, and if the annotated field/method return value 276 @Target({ ElementType.FIELD, ElementType.METHOD }) 318 private static HashMap<Class<?>, Method[]> mCapturedViewMethodsForClasses = null; 334 private static HashMap<Class<?>, Method[]> sMethodsForClasses; 388 * @deprecated This method is now unused and invoking it is a no-op 396 * @deprecated This method is now unused and invoking it is a no-op 404 * @deprecated This method is now unused and invoking it is a no-op 412 * @deprecated This method is now unused and invoking it is a no-o 1174 final Method method = methods[i]; local 1501 final Method method = methods[i]; local 1528 final Method method = methods[i]; local [all...] |
/frameworks/base/core/java/android/animation/ |
PropertyValuesHolder.java | 28 import java.lang.reflect.Method; 58 Method mSetter = null; 67 private Method mGetter = null; 102 private static final HashMap<Class, HashMap<String, Method>> sSetterPropertyMap = 103 new HashMap<Class, HashMap<String, Method>>(); 104 private static final HashMap<Class, HashMap<String, Method>> sGetterPropertyMap = 105 new HashMap<Class, HashMap<String, Method>>(); 179 * case-sensitive name of the entire setter method. Should not be null. 211 * case-sensitive name of the entire setter method. Should not be null. 298 * case-sensitive name of the entire setter method. Should not be null [all...] |