/frameworks/base/test-runner/src/android/test/ |
TestRunner.java | 26 import java.lang.reflect.Method; 95 * Implemented method of the interface TestListener which will listen for the 105 * Implemented method of the interface TestListener which will listen for the 118 * Implemented method of the interface TestListener which will listen for an 284 Method method = getChildrenMethod(clazz); local 285 if (method != null) { 286 String[] children = getChildren(method); 332 Method[] methods = getAllTestMethods(clazz); 333 for (Method m : methods) 689 Method method = getChildrenMethod(clazz); local [all...] |
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
MethodTest.java | 26 import java.lang.reflect.Method; 150 @Target({ElementType.PARAMETER, ElementType.METHOD}) 193 * java.lang.reflect.Method#equals(java.lang.Object) 196 // Test for method boolean 197 // java.lang.reflect.Method.equals(java.lang.Object) 199 Method m1 = null, m2 = null; 207 assertTrue("Overriden method returned equal", !m1.equals(m2)); 208 assertTrue("Same method returned not-equal", m1.equals(m1)); 216 assertTrue("Inherited method returned not-equal", m1.equals(m2)); 224 Method m1 = TestMethod.class.getMethod("invokeInstanceTest", new Class[0]) 403 Method method = TestMethod.class.getDeclaredMethod( local 435 Method method = TestMethod.class.getDeclaredMethod("annotatedMethod"); local 452 Method method = TestAnno.class.getDeclaredMethod("value"); local 461 Method method = ExceptionTest.class.getDeclaredMethod("exceptionTest"); local 475 Method method = GenericReturnType.class local 491 Method method = GenericString.class.getDeclaredMethod("genericString", local [all...] |
ProxyTest.java | 21 import java.lang.reflect.Method; 33 * When multiple interfaces define the same method, the list of thrown 35 * other method: 48 public float method(float _number0, float _number1); method in interface:ProxyTest.Broken1 52 public Object invoke(Object proxy, Method method, Object[] args) 101 public Object invoke(Object proxy, Method method, Object[] args) 118 public Object invoke(Object proxy, Method method, Object[] args [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
ProxyTest.java | 22 import java.lang.reflect.Method; 38 * When multiple interfaces define the same method, the list of thrown 40 * other method: 53 public float method(float _number0, float _number1); method in interface:ProxyTest.Broken1 57 public Object invoke(Object proxy, Method method, Object[] args) 96 public Object invoke(Object proxy, Method method, Object[] args) 98 if (method.getName().equals("equals")) 100 if (method.getName().equals("array") [all...] |
/external/proguard/src/proguard/classfile/editor/ |
CodeAttributeEditor.java | 302 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 306 // method.getName(clazz).equals("abc"); 309 // Catch any unexpected exceptions from the actual visiting method. 313 visitCodeAttribute0(clazz, method, codeAttribute); 319 System.err.println(" Method = ["+method.getName(clazz)+method.getDescriptor(clazz)+"]"); 327 public void visitCodeAttribute0(Clazz clazz, Method method, CodeAttribute codeAttribute [all...] |
/external/proguard/src/proguard/optimize/ |
TailRecursionSimplifier.java | 58 private Method targetMethod; 89 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 91 int accessFlags = method.getAccessFlags(); 93 if (// Only check the method if it is private, static, or final. 98 // Only check the method if it is not synchronized, etc. 106 // method.getName(clazz).equals("abc"); 108 targetMethod = method; 113 copyCode(clazz, method, codeAttribute); 118 codeAttributeComposer.visitCodeAttribute(clazz, method, codeAttribute) [all...] |
DuplicateInitializerInvocationFixer.java | 36 * initialization method invocations that it visits. 80 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 88 method, 92 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute); 98 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 101 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
|
/external/proguard/src/proguard/optimize/peephole/ |
InstructionSequenceReplacer.java | 113 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) 124 instruction.accept(clazz, method, codeAttribute, offset, instructionSequenceMatcher); 132 System.out.println("InstructionSequenceReplacer: ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"]"); 164 method, 223 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 231 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction [all...] |
/external/proguard/src/proguard/preverify/ |
CodeSubroutineInliner.java | 65 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 69 // method.getName(clazz).equals("abc"); 72 // Catch any unexpected exceptions from the actual visiting method. 76 visitCodeAttribute0(clazz, method, codeAttribute); 82 System.err.println(" Method = ["+method.getName(clazz)+method.getDescriptor(clazz)+"]"); 87 method.accept(clazz, new ClassPrinter()); 95 public void visitCodeAttribute0(Clazz clazz, Method method, CodeAttribute codeAttribute [all...] |
/external/clang/lib/Sema/ |
SemaDeclObjC.cpp | 30 /// Check whether the given method, which must be in the 'init' 39 bool Sema::checkInitMethod(ObjCMethodDecl *method, 41 if (method->isInvalidDecl()) return true; 49 const ObjCObjectType *result = method->getResultType() 64 !isa<ObjCImplementationDecl>(method->getDeclContext())) 69 // If this method was declared in a protocol, we can't check 72 if (isa<ObjCProtocolDecl>(method->getDeclContext())) { 82 receiverClass = method->getClassInterface(); 83 assert(receiverClass && "method not associated with a class!"); 93 SourceLocation loc = method->getLocation() 1406 ObjCMethodDecl *method = *I; local 1432 ObjCMethodDecl *method = *I; local [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
OldGenericTypesTest.java | 21 import java.lang.reflect.Method; 81 Method method = clazz.getDeclaredMethod("staticMethodGenericType", Object.class); local 82 Type[] genericParameterTypes = method.getGenericParameterTypes(); 87 assertEquals(method, ((TypeVariable)parameterType).getGenericDeclaration()); 94 Method method = clazz.getDeclaredMethod("hidingMethodGenericType", Object.class); local 95 Type[] genericParameterTypes = method.getGenericParameterTypes(); 100 assertEquals(method, ((TypeVariable)parameterType).getGenericDeclaration()); 122 Method multipleGenericTypesT = clazz.getDeclaredMethod("multipleGenericTypesT", new Class[]{Object.class} (…) 218 Method method = clazz.getDeclaredMethod("exceptionTest"); local [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
SerializerSwitcher.java | 32 import org.apache.xml.serializer.Method; 65 // System.out.println("transformer.getOutputPropertyNoDefault(OutputKeys.METHOD): "+ 66 // transformer.getOutputPropertyNoDefault(OutputKeys.METHOD)); 67 // Access at level of hashtable to see if the method has been set. 68 if (null != transformer.getOutputPropertyNoDefault(OutputKeys.METHOD)) 76 // defaults for the HTML method. The easiest way to do this is to 78 OutputProperties htmlOutputProperties = new OutputProperties(Method.HTML); 158 // System.out.println("transformer.getOutputPropertyNoDefault(OutputKeys.METHOD): "+ 159 // transformer.getOutputPropertyNoDefault(OutputKeys.METHOD)); 160 // Access at level of hashtable to see if the method has been set [all...] |
/external/guava/src/com/google/common/base/internal/ |
Finalizer.java | 24 import java.lang.reflect.Method; 59 * Starts the Finalizer thread. FinalizableReferenceQueue calls this method 137 Method finalizeReferentMethod = getFinalizeReferentMethod(); 161 * CPU looking up the Method over and over again. 167 * Looks up FinalizableReference.finalizeReferent() method. 169 private Method getFinalizeReferentMethod() throws ShutDown {
|
/external/proguard/src/proguard/classfile/attribute/preverification/ |
FullFrame.java | 83 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor) 87 variables[index].variablesAccept(clazz, method, codeAttribute, offset, index, verificationTypeVisitor); 95 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor) 99 stack[index].stackAccept(clazz, method, codeAttribute, offset, index, verificationTypeVisitor); 112 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrameVisitor stackMapFrameVisitor) 114 stackMapFrameVisitor.visitFullFrame(clazz, method, codeAttribute, offset, this);
|
/external/proguard/src/proguard/optimize/info/ |
MethodOptimizationInfo.java | 29 * a method. 52 * Creates a new MethodOptimizationInfo for the given method. 54 public MethodOptimizationInfo(Clazz clazz, Method method) 59 ClassUtil.internalMethodParameterCount(method.getDescriptor(clazz)); 61 if ((method.getAccessFlags() & ClassConstants.INTERNAL_ACC_STATIC) == 0) 288 public static void setMethodOptimizationInfo(Clazz clazz, Method method) 290 MethodLinker.lastMember(method).setVisitorInfo(new MethodOptimizationInfo(clazz, method)); [all...] |
/external/webkit/Source/WebCore/bridge/jsc/ |
BridgeJSC.h | 49 class Method; 53 typedef Vector<Method*> MethodList; 97 virtual JSValue invokeMethod(ExecState*, RuntimeMethod* method) = 0; 147 typedef HashMap<RefPtr<StringImpl>, Method*> MethodMap;
|
/frameworks/base/core/java/android/util/ |
ReflectiveProperty.java | 20 import java.lang.reflect.Method; 31 private Method mSetter; 32 private Method mGetter; 36 * For given property name 'name', look for getName/isName method or 'name' field. 37 * Also look for setName method (optional - could be readonly). Failing method getters and 71 throw new NoSuchPropertyException("No accessor method or field found for" 91 * Utility method to check whether the type of the underlying field/method on the target 94 * method/field will probably be a primitive type instead. Accept float as matching Float [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
BatikTestDocumentBuilderFactory.java | 17 import java.lang.reflect.Method; 40 /** reflective method to create document in Batik. **/ 41 private Method createDocument; 158 Method getImpl =
|
/libcore/luni/src/main/java/java/lang/ |
Enum.java | 21 import java.lang.reflect.Method; 37 Method method = (Method) Class.getDeclaredConstructorOrMethod( 40 return (Object[]) method.invoke((Object[]) null); 120 * {@code Enum} objects are singletons, they may not be cloned. This method 134 * relative order. This method compares the object's ordinal values, that
|
/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/ |
ImplForVariable.java | 21 import java.lang.reflect.Method; 95 } else if (decl instanceof Method) { 96 return ((Method)decl).getDeclaringClass();
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
HttpClientFactory.java | 32 import java.lang.reflect.Method; 39 // TODO: migrate GDataClient to use this util method instead of apache's 60 Method newInstance = clazz.getMethod("newInstance", String.class); 96 Method method = clazz.getMethod("close", (Class<?>[]) null); local 97 method.invoke(client, (Object[]) null);
|
/dalvik/dx/src/com/android/dx/cf/iface/ |
StdMethod.java | 25 * Standard implementation of {@link Method}, which directly stores 28 public final class StdMethod extends StdMember implements Method { 29 /** {@code non-null;} the effective method descriptor */
|
/dalvik/vm/ |
Native.h | 26 * Method description; equivalent to a JNI struct. 70 * Resolve a native method. This uses the same prototype as a 74 * Causes the method's class to be initialized. 79 const Method* method, struct Thread* self);
|
/dalvik/vm/mterp/x86-atom/ |
OP_INVOKE_INTERFACE.S | 19 * Code: Call at method. Provides an "isrange" variable and 25 * Description: invoke-interface is used to invoke an interface method; on an 48 FETCH 1, %ecx # %ecx<- method index 49 movl %ecx, -12(%esp) # push argument method index 64 movl offGlue_method(%ecx), %ecx # %ecx<- glue->method 65 movl %ecx, -8(%esp) # push parameter method 66 movl offObject_clazz(%edx), %edx # %edx<- glue->method->clazz 70 # const Method* method, DvmDex* methodClassDex) 71 # return: Method* [all...] |
/dalvik/vm/native/ |
java_lang_reflect_Constructor.cpp | 30 * definition of Class.getConstructor), so we can skip the method access 44 Method* meth;
|