HomeSort by relevance Sort by last modified time
    Searched refs:Method (Results 226 - 250 of 680) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/junit/src/junit/framework/
TestCase.java 4 import java.lang.reflect.Method;
28 * For each test implement a method which interacts
39 * In the static way you override the runTest method and define the method to
50 * and invokes a method.
51 * In this case the name of the test case has to correspond to the test method
59 * A test runner either expects a static method <code>suite</code> as the entry
79 * No-arg constructor to enable serialization. This method
106 * A convenience method to run this test, collecting the results with a
149 Method runMethod= null
    [all...]
  /external/proguard/src/proguard/classfile/
Clazz.java 134 * Returns the method with the given name and descriptor.
136 Method findMethod(String name, String descriptor);
214 * Lets the given member info visitor visit the specified method.
219 * Returns whether the given method may possibly have implementing or
221 * if the class is not final, and the method is not private, static, or
223 * @param method the method that may have implementations.
226 public boolean mayHaveImplementations(Method method);
  /external/proguard/src/proguard/classfile/attribute/
Attribute.java 79 throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
94 throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
99 * Accepts the given visitor in the context of the given method.
101 public void accept(Clazz clazz, Method method, AttributeVisitor attributeVisitor)
103 // Delegate the default invocation if the method is null anyway.
104 if (method == null)
110 throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
117 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, AttributeVisitor attributeVisitor
    [all...]
  /external/proguard/src/proguard/classfile/attribute/annotation/visitor/
AnnotationTypeFilter.java 78 public void visitAnnotation(Clazz clazz, Method method, Annotation annotation)
82 annotationVisitor.visitAnnotation(clazz, method, annotation);
87 public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation)
91 annotationVisitor.visitAnnotation(clazz, method, parameterIndex, annotation);
  /external/proguard/src/proguard/classfile/attribute/preverification/
SameOneFrame.java 67 public void stackItemAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor)
69 stackItem.accept(clazz, method, codeAttribute, offset, verificationTypeVisitor);
83 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrameVisitor stackMapFrameVisitor)
85 stackMapFrameVisitor.visitSameOneFrame(clazz, method, codeAttribute, offset, this);
StackMapTableAttribute.java 69 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, AttributeVisitor attributeVisitor)
71 attributeVisitor.visitStackMapTableAttribute(clazz, method, codeAttribute, this);
78 public void stackMapFramesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapFrameVisitor stackMapFrameVisitor)
90 stackMapFrame.accept(clazz, method, codeAttribute, offset, stackMapFrameVisitor);
  /external/proguard/src/proguard/classfile/visitor/
ClassPrinter.java 291 "Method: " +
338 "Method: " +
400 " Enclosing method attribute:");
447 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute)
458 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
467 codeAttribute.instructionsAccept(clazz, method, this);
472 codeAttribute.exceptionsAccept(clazz, method, this);
477 codeAttribute.attributesAccept(clazz, method, this)
    [all...]
DotClassClassVisitor.java 64 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {}
67 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
  /external/proguard/src/proguard/optimize/info/
DotClassMarker.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)
InstanceofClassMarker.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)
InstantiationClassMarker.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)
  /external/proguard/src/proguard/optimize/peephole/
GotoGotoReplacer.java 72 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {}
75 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
108 extraInstructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction);
GotoReturnReplacer.java 72 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {}
75 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
107 extraInstructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction);
NopRemover.java 71 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {}
74 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction)
85 extraInstructionVisitor.visitSimpleInstruction(clazz, method, codeAttribute, offset, simpleInstruction);
  /external/webkit/Source/WebCore/dom/
CrossThreadTask.h 63 typedef void (*Method)(ScriptExecutionContext*, MP1);
67 static PassOwnPtr<CrossThreadTask> create(Method method, Param1 parameter1)
69 return new CrossThreadTask(method, parameter1);
73 CrossThreadTask1(Method method, Param1 parameter1)
74 : m_method(method)
85 Method m_method;
92 typedef void (*Method)(ScriptExecutionContext*, MP1, MP2);
97 static PassOwnPtr<CrossThreadTask> create(Method method, Param1 parameter1, Param2 parameter2
    [all...]
  /frameworks/base/test-runner/src/android/test/
ActivityInstrumentationTestCase2.java 22 import java.lang.reflect.Method;
31 * <li>You can run any test method on the UI thread (see {@link android.test.UiThreadTest}).</li>
74 * For each test method invocation, the Activity will not actually be created until the first
75 * time this method is called.
83 * If your test method is annotated with {@link android.test.UiThreadTest}, then your Activity
84 * will be started automatically just before your test method is run. You still call this
85 * method in order to get the Activity under test.
108 * Call this method before the first call to {@link #getActivity} to inject a customized Intent
115 * If your test method is annotated with {@link android.test.UiThreadTest}, then you must call
118 * <p>The default Intent (if this method is not called) is
179 Method method = getClass().getMethod(getName(), (Class[]) null); local
    [all...]
  /frameworks/base/test-runner/tests/src/android/test/suitebuilder/
AssignableFromTest.java 21 import java.lang.reflect.Method;
54 Method method = aClass.getMethod("testX"); local
55 return new TestMethod(method, aClass);
  /frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
HasAnnotationTest.java 26 import java.lang.reflect.Method;
46 Method method = aClass.getMethod(methodName); local
47 TestMethod testMethod = new TestMethod(method, aClass);
52 @Target({ElementType.TYPE, ElementType.METHOD})
  /frameworks/base/tests/CoreTests/android/core/
HttpHeaderTest.java 26 import java.lang.reflect.Method;
79 // get private method CacheManager.parseHeaders()
80 Method m = CacheManager.class.getDeclaredMethod("parseHeaders",
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ProxyTest.java 20 import java.lang.reflect.Method;
62 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
ReflectionTest.java 23 import java.lang.reflect.Method;
94 Method methodOne = C.class.getDeclaredMethod("methodOne", A.class, C.class);
100 Method methodTwo = C.class.getDeclaredMethod("methodTwo", List.class);
108 Method methodThree = C.class.getDeclaredMethod("methodThree", A.class, Set.class);
116 Method methodFour = C.class.getDeclaredMethod("methodFour", Set.class);
228 Method method = ExtendsImplementsDefinesMember.class.getMethod("method"); local
229 assertEquals(DefinesMember.class, method.getDeclaringClass());
233 Method method = ImplementsExtendsDefinesMember.class.getMethod("method") local
296 void method(); method in interface:ReflectionTest.DefinesMember
    [all...]
  /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...]
  /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...]
  /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...]

Completed in 650 milliseconds

1 2 3 4 5 6 7 8 91011>>