HomeSort by relevance Sort by last modified time
    Searched refs:Method (Results 276 - 300 of 778) sorted by null

<<11121314151617181920>>

  /external/javassist/src/main/javassist/compiler/
MemberResolver.java 55 public static class Method {
60 public Method(CtClass c, MethodInfo i, int n) {
67 * Returns true if the invoked method is static.
75 public Method lookupMethod(CtClass clazz, CtClass currentClass, MethodInfo current,
81 Method maybe = null;
82 // to enable the creation of a recursively called method
88 Method r = new Method(clazz, current, res);
96 Method m = lookupMethod(clazz, methodName, argTypes, argDims,
104 private Method lookupMethod(CtClass clazz, String methodName
    [all...]
  /dalvik/dx/src/com/android/dx/cf/code/
ConcreteMethod.java 25 import com.android.dx.cf.iface.Method;
34 * Container for all the giblets that make up a concrete Java bytecode method.
35 * It implements {@link Method}, so it provides all the original access
37 * stuff extracted from the method's {@code Code} attribute.
39 public final class ConcreteMethod implements Method {
40 /** {@code non-null;} method being wrapped */
41 private final Method method; field in class:ConcreteMethod
50 * whether the class that this method is part of is defined with
67 * @param method {@code non-null;} the method to be based o
    [all...]
  /external/junit/src/org/junit/internal/runners/
MethodRoadie.java 4 import java.lang.reflect.Method;
31 public MethodRoadie(Object test, TestMethod method, RunNotifier notifier, Description description) {
35 fTestMethod= method;
127 List<Method> befores= fTestMethod.getBefores();
128 for (Method before : befores)
142 List<Method> afters= fTestMethod.getAfters();
143 for (Method after : afters)
  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
TypeVariableTest.java 21 import java.lang.reflect.Method;
48 Method method = clazz.getDeclaredMethod("b"); local
49 TypeVariable<Method>[] typeParameters = method.getTypeParameters();
51 TypeVariable<Method> typeVariable = typeParameters[0];
52 assertEquals(method, typeVariable.getGenericDeclaration());
96 Method method = clazz.getDeclaredMethod("e"); local
98 TypeVariable<?>[] typeParameters = method.getTypeParameters()
    [all...]
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...]
  /dalvik/vm/analysis/
Optimize.cpp 30 * Virtual/direct calls to "method" are replaced with an execute-inline
34 Method* method; member in struct:InlineSub
40 static void optimizeMethod(Method* method, bool essentialOnly);
41 static void rewriteInstField(Method* method, u2* insns, Opcode quickOpc,
43 static void rewriteStaticField(Method* method, u2* insns, Opcode volatileOpc);
44 static void rewriteVirtualInvoke(Method* method, u2* insns, Opcode newOpc)
76 Method* method = dvmFindInlinableMethod(ops[i].classDescriptor, local
    [all...]
  /external/proguard/src/proguard/classfile/editor/
CodeAttributeComposer.java 337 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
341 System.out.println("CodeAttributeComposer: putting results in ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"]");
378 stackSizeUpdater.visitCodeAttribute(clazz, method, codeAttribute);
379 variableSizeUpdater.visitCodeAttribute(clazz, method, codeAttribute);
382 codeAttribute.attributesAccept(clazz, method, this);
385 //codeAttribute.exceptionsAccept(clazz, method, this);
393 // instructionWriter.visitCodeAttribute(clazz, method, codeAttribute);
399 public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute
    [all...]
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...]
  /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...]
  /frameworks/base/tools/aidl/
generate_java_binder.cpp 41 Method* ctor = new Method;
56 Method* asBinder = new Method;
69 Method* onTransact = new Method;
98 Method* m = new Method;
175 Method* ctor = new Method;
    [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/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...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
OldAndroidClassTest.java 21 import java.lang.reflect.Method;
55 Method method = helloClass.getDeclaredMethod("method", (Class[]) null); local
56 method.invoke(new OldAndroidClassTest(), (Object[]) null);
61 Method method = helloClass.getDeclaredMethod("methodWithArgs", Object.class); local
65 Object ret = method.invoke(new OldAndroidClassTest(), invokeArgs);
71 Method method = helloClass.getDeclaredMethod("privateMethod", (Class[]) null) local
128 public void method() { method in class:OldAndroidClassTest
    [all...]
OldGenericTypesTest.java 20 import java.lang.reflect.Method;
80 Method method = clazz.getDeclaredMethod("staticMethodGenericType", Object.class); local
81 Type[] genericParameterTypes = method.getGenericParameterTypes();
86 assertEquals(method, ((TypeVariable)parameterType).getGenericDeclaration());
93 Method method = clazz.getDeclaredMethod("hidingMethodGenericType", Object.class); local
94 Type[] genericParameterTypes = method.getGenericParameterTypes();
99 assertEquals(method, ((TypeVariable)parameterType).getGenericDeclaration());
121 Method multipleGenericTypesT = clazz.getDeclaredMethod("multipleGenericTypesT", new Class[]{Object.class} (…)
216 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/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/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListListIteratorTester.java 33 import java.lang.reflect.Method;
110 * Returns the {@link Method} instance for
117 public static Method getListIteratorFullyModifiableMethod() {
123 * Returns the {@link Method} instance for
127 public static Method getListIteratorUnmodifiableMethod() {
  /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...]

Completed in 450 milliseconds

<<11121314151617181920>>