HomeSort by relevance Sort by last modified time
    Searched refs:Method (Results 126 - 150 of 2520) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/proguard/src/proguard/classfile/attribute/annotation/visitor/
AnnotationVisitor.java 39 public void visitAnnotation(Clazz clazz, Method method, Annotation annotation);
40 public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation);
41 public void visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation);
  /external/proguard/src/proguard/evaluation/
InvocationUnit.java 29 * This interface sets up the variables for entering a method,
37 * Sets up the given variables for entering the given method.
40 Method method,
45 * Exits the given method with the given return value.
48 Method method,
54 * field or method reference instruction.
57 Method method,
    [all...]
  /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DefaultTestLifecycle.java 3 import java.lang.reflect.Method;
8 * Called before each test method is run.
10 * @param method the test method about to be run
12 @Override public void beforeTest(final Method method) {
14 ((TestLifecycleApplication) RuntimeEnvironment.application).beforeTest(method);
25 * Called after each test method is run.
27 * @param method the test method that just ran
    [all...]
  /external/testng/src/main/java/org/testng/junit/
JUnit3TestMethod.java 3 import java.lang.reflect.Method;
17 private static Method getMethod(Test t) {
20 Method nameMethod = t.getClass().getMethod("getName");
25 "Method '" + name + "' not found in class '" + t + "': " + th.getMessage());
JUnit3TestRecognizer.java 3 import java.lang.reflect.Method;
17 //class implementing junit.framework.Test with at least one test* method
20 for (Method m : c.getMethods()) {
31 //or a class with public static Test suite() method
32 Method m = c.getDeclaredMethod("suite");
JUnitTestMethod.java 3 import java.lang.reflect.Method;
14 protected JUnitTestMethod(JUnitTestClass owner, Method method, Object instance) {
15 this(owner, method.getName(), method, instance);
18 protected JUnitTestMethod(JUnitTestClass owner, String methodName, Method method, Object instance) {
19 super(methodName, method, null, instance);
  /external/testng/src/test/java/test/inject/
NoInjectionTest.java 8 import java.lang.reflect.Method;
23 public void withoutInjection(@NoInjection Method m) {
28 public void withInjection(Method m) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
AnnotationTypeMismatchExceptionTest.java 21 import java.lang.reflect.Method;
33 * @tests java.lang.annotation.AnnotationTypeMismatchException#AnnotationTypeMismatchException(Method,
38 Method[] methods = Class.forName("java.lang.String").getMethods();
39 Method m = methods[0];
43 assertSame("wrong method name", m, e.element());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
BoundedGenericMethodsTests.java 19 import java.lang.reflect.Method;
47 * @param method
48 * the declaring method
50 private void checkBoundedTypeParameter(Method method) {
51 TypeVariable<Method> typeParameter = getTypeParameter(method);
53 assertEquals(method, typeParameter.getGenericDeclaration());
62 * Tests whether the specified method declares a parameter with the type of
65 * @param method
108 Method method = clazz.getMethod("noParamNoReturn"); local
112 Method method = clazz.getMethod("paramNoReturn", BoundedGenericMethods.class); local
117 Method method = clazz.getMethod("noParamReturn"); local
123 Method method = clazz.getMethod("paramReturn", BoundedGenericMethods.class); local
    [all...]
  /packages/apps/Music/src/com/android/music/
SharedPreferencesCompat.java 22 import java.lang.reflect.Method;
29 private static final Method sApplyMethod = findApplyMethod();
31 private static Method findApplyMethod() {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
LocaleListCompatUtils.java 19 import java.lang.reflect.Method;
24 private static final Method METHOD_get =
26 private static final Method METHOD_isEmpty =
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
MethodOverridesTest.java 19 import java.lang.reflect.Method;
30 Method method = StringBuilder.class.getMethod("append", char.class); local
31 assertEquals("append", method.getName());
35 Method method = StringBuilder.class.getMethod("append", char.class); local
37 Arrays.asList(method.getParameterTypes()));
41 Method method = StringBuilder.class.getMethod("append", char.class); local
42 assertEquals(StringBuilder.class, method.getDeclaringClass())
46 Method method = StringBuilder.class.getMethod("append", char.class); local
51 Method method = StringBuilder.class.getMethod("append", char.class); local
82 Method method = Sub.class.getMethod("returner"); local
92 Method method = Sub.class.getMethod("returner"); local
109 Method method = Sub.class.getMethod("visibility"); local
126 Method method = PublicSub.class.getMethod("unchanged"); local
    [all...]
  /art/test/511-clinit-interface/src/
Main.java 17 import java.lang.reflect.Method;
26 public static void method() { method in class:Main
  /art/test/676-resolve-field-type/src-ex/
ChildClass.java 18 import java.lang.reflect.Method;
21 // This method being synchronized means the SIGQUIT code in ART will call
29 // Sleep some time to get the kill while executing this method.
32 // The FindLocksAtDexPc method running with the verifier would fail when
41 private final static Method kill;
47 Method killTemp = null;
51 Method getpid = osClass.getDeclaredMethod("getpid");
  /art/test/682-double-catch-phi/src/
Main.java 17 import java.lang.reflect.Method;
  /art/test/910-methods/src/art/
Test910.java 19 import java.lang.reflect.Method;
36 // Find a synthetic method in the dummy inner class. Do not print the name. Javac and Jack
49 Method m = base.getDeclaredMethod(methodName, types);
53 private static void testMethod(Method m, Class<?> base, boolean printName) {
108 // Accessing this private field will create a synthetic accessor method;
116 private static Method findSyntheticMethod() throws Exception {
117 Method methods[] = NestedSynthetic.class.getDeclaredMethods();
118 for (Method m : methods) {
123 throw new RuntimeException("Could not find synthetic method");
126 private static native String[] getMethodName(Method m)
    [all...]
  /dalvik/dx/src/com/android/dx/cf/iface/
Method.java 24 public interface Method
28 * Get the <i>effective</i> method descriptor, which includes, if
31 * @return {@code non-null;} the effective method descriptor
  /device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/AcpiTables/Dsdt/
AD7298.asi 28 Method(_CRS, 0x0, NotSerialized)
32 Method(_STA, 0x0, NotSerialized)
ADC108S102.asi 24 Method(_CRS, 0x0, NotSerialized)
28 Method(_STA, 0x0, NotSerialized)
CAT24C08.asi 25 Method(_CRS, 0x0, NotSerialized)
29 Method(_STA, 0x0, NotSerialized)
PCA9685.asi 25 Method(_CRS, 0x0, NotSerialized)
29 Method(_STA, 0x0, NotSerialized)
  /external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/internal/
ReflectiveTypeFinder.java 4 * to get it back, by picking out the type of a known parameter to a known method.
6 * the expected method, so the ReflectiveTypeFinder needs to be applied to that class or a subtype.
8 * For example, the abstract <code>TypeSafeDiagnosingMatcher&lt;T&gt;</code> defines an abstract method
19 * a method which is declared in <code>FeatureMatcher</code>.
21 * In short, use this to extract a type from a method in the leaf class of a templated class hierarchy.
28 import java.lang.reflect.Method;
43 for (Method method : c.getDeclaredMethods()) {
44 if (canObtainExpectedTypeFrom(method)) {
45 return expectedTypeFrom(method);
    [all...]
  /external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/comparators/
MethodComparator.java 3 import java.lang.reflect.Method;
9 public class MethodComparator implements Comparator<Method> {
12 public int compare(Method o1, Method o2) {
  /external/junit/src/main/java/org/junit/internal/runners/
JUnit4ClassRunner.java 5 import java.lang.reflect.Method;
29 private final List<Method> testMethods;
38 protected List<Method> getTestMethods() {
58 for (Method method : testMethods) {
59 invokeTestMethod(method, notifier);
66 List<Method> testMethods = this.testMethods;
67 for (Method method : testMethods) {
68 spec.addChild(methodDescription(method));
126 Method method = iter.next(); local
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/invocation/
TypeSafeMatching.java 7 import java.lang.reflect.Method;
47 Method[] methods = argumentMatcher.getClass().getMethods();
49 for (Method method : methods) {
50 if (isMatchesMethod(method)) {
51 return method.getParameterTypes()[0];
54 throw new NoSuchMethodError("Method 'matches(T)' not found in ArgumentMatcher: " + argumentMatcher + " !\r\n Please file a bug with this stack trace at: https://github.com/mockito/mockito/issues/new ");
58 * Returns <code>true</code> if the given method is
61 private static boolean isMatchesMethod(Method method) {
    [all...]

Completed in 1973 milliseconds

1 2 3 4 56 7 8 91011>>