/external/junit/src/org/junit/runners/model/ |
TestClass.java | 8 import java.lang.reflect.Method; 19 * Wraps a class to be run, providing method validation and annotation searching 41 for (Method eachMethod : eachClass.getDeclaredMethods())
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
MethodProxy.java | 19 import java.lang.reflect.Method; 31 * registered {@link MethodInterceptor} objects when an intercepted method is invoked. It can 32 * be used to either invoke the original method, or call the same method on a different 60 * method index pairs atomically. 128 * Return the signature of the proxied method. 135 * Return the name of the synthetic method created by CGLIB which is 137 * (non-intercepted) method implementation. The parameter types are 138 * the same as the proxied method. 145 * Return the {@link org.mockito.cglib.reflect.FastClass} method inde [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
FastClass.java | 20 import java.lang.reflect.Method; 99 public FastMethod getMethod(Method method) { 100 return new FastMethod(this, method); 147 * Return the index of the matching method. The index may be used 148 * later to invoke the method with less overhead. If more than one 149 * method matches (i.e. they differ by return type only), one is 152 * @param name the method name 168 * Invoke the method with the specified index. 170 * @param index the method inde [all...] |
/external/proguard/src/proguard/shrink/ |
AnnotationUsageMarker.java | 92 public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute) 96 parameterAnnotationsAttribute.annotationsAccept(clazz, method, this); 109 public void visitAnnotationDefaultAttribute(Clazz clazz, Method method, AnnotationDefaultAttribute annotationDefaultAttribute) 305 * Returns whether the annotation method has been marked as being used. 309 // Check if the referenced method is being used.
|
ShortestUsagePrinter.java | 126 // Print the reason for keeping this method. 133 // Print the name of this method. 144 // Print the reason for keeping this method. 167 // Print the name of this method. 176 // Print the reason for keeping this method. 177 ps.println(" is a library method.\n"); 186 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 188 codeAttribute.attributesAccept(clazz, method, this); 192 public void visitLineNumberTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LineNumberTableAttribute lineNumberTableAttribute [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/provider/ |
ApiProvider.java | 36 import java.lang.reflect.Method; 59 Method method = descriptor.getMethod(); 60 if (method.isAnnotationPresent(RpcDeprecated.class)) { 62 } else if (method.isAnnotationPresent(RpcMinSdk.class)) { 63 int requiredSdkLevel = method.getAnnotation(RpcMinSdk.class).value();
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
ArrayProto.java | 35 import org.jf.dexlib2.iface.Method; 164 public Method getMethodByVtableIndex(int vtableIndex) { 168 @Override public int findMethodIndexInVtable(@Nonnull MethodReference method) { 169 return classPath.getClass("Ljava/lang/Object;").findMethodIndexInVtable(method);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/ |
DexRewriter.java | 73 private final Rewriter<Method> methodRewriter; 128 @Nonnull @Override public Rewriter<Method> getMethodRewriter() { return methodRewriter; }
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/ |
AccessorTest.java | 38 import org.jf.dexlib2.iface.Method; 102 for (Method method: accessorsClass.getMethods()) { 103 Matcher m = accessorMethodPattern.matcher(method.getName()); 110 MethodImplementation methodImpl = method.getImplementation();
|
/external/testng/src/main/java/org/testng/internal/ |
Utils.java | 16 import java.lang.reflect.Method; 63 * if s is "a,b, c" this method returns {"a", "b", "c"} 276 * @return The list of dependent groups for this method, including the 279 public static String[] dependentGroupsForThisMethodForTest(Method m, IAnnotationFinder finder) { 291 // Collect groups on the method 296 // ppp("Method:" + m + " #Groups:" + groups.length); 306 * @return The list of groups this method belongs to, including the 309 public static String[] groupsForThisMethodForTest(Method m, IAnnotationFinder finder) { 321 // Collect groups on the method 326 // ppp("Method:" + m + " #Groups:" + groups.length) [all...] |
/external/v8/test/mjsunit/es6/ |
typedarray-sort.js | 47 // Basic TypedArray method properties: 53 // Method doesn't work on other objects
|
/frameworks/base/test-runner/src/android/test/ |
TestCaseUtil.java | 27 import java.lang.reflect.Method; 65 * If we want to run a single TestCase method only, we must not 66 * invoke the suite() method, because we will run all test methods 99 Method suiteMethod = testClass.getMethod( 103 * method that returns a TestSuite including the TestCase itself,
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
StubMethodAdapterTest.java | 30 import java.lang.reflect.Method; 41 * Load a dummy class, stub one of its method and ensure that the modified class works as 47 // First don't change the method and assert that it returns true 49 // Change the method now and assert that it returns false. 55 * @param methodPredicate tests if the method should be replaced 68 Method method = aClass.getMethod(methodName); local 70 assertion.accept((Boolean) method.invoke(o)); 97 // but not generating the _Original method.
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/ |
JavaClass.java | 22 import java.lang.reflect.Method; 243 Method[] methods = mClass.getDeclaredMethods();
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
MockLooper.java | 30 import java.lang.reflect.Method; 45 private static final Method MESSAGE_MARK_IN_USE_METHOD; 204 * Run method for the auto dispatch thread. 236 * Method allowing the MockLooper to pass any exceptions thrown by the thread to be passed
|
WifiApConfigStoreTest.java | 38 import java.lang.reflect.Method; 94 Method m = WifiApConfigStore.class.getDeclaredMethod(
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
DcControllerTest.java | 37 import java.lang.reflect.Method; 82 Method method = StateMachine.class.getDeclaredMethod("getCurrentState"); local 83 method.setAccessible(true); 84 return (IState) method.invoke(mDcc);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
DrawableUtils.java | 34 import java.lang.reflect.Method; 70 final Method getOpticalInsetsMethod = drawable.getClass() 109 * implementation. This method should be call after retrieval from 120 * Some drawable implementations have problems with mutation. This method returns false if
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTestDocumentBuilderFactory.java | 15 import java.lang.reflect.Method; 72 Method getFeatureMethod = doc.getClass().getMethod("getFeature",
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
PathClassLoaderTest.java | 20 import java.lang.reflect.Method; 79 Method m = c.getMethod("test", (Class[]) null);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AnimatorUtils.java | 31 import java.lang.reflect.Method; 92 private static Method sAnimateValue;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
RecycleBitmapPool.java | 25 import java.lang.reflect.Method; 42 private static Method sGetAllocationByteCount;
|
/packages/services/Car/service/src/com/android/car/cluster/ |
InstrumentClusterRendererLoader.java | 30 import java.lang.reflect.Method; 100 Method createRendererMethod = factoryClass.getMethod(sCreateRendererMethod); 139 * method which causes some problems later, e.g. when CursorLoader class is being used.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/wizards/ |
AddNativeWizard.java | 38 import java.lang.reflect.Method; 95 Method m = c.getMethod(
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/sdk/ |
AndroidJarLoaderTest.java | 25 import java.lang.reflect.Method; 86 /** call the protected method findClass */ 88 Method findClassMethod = AndroidJarLoader.class.getDeclaredMethod(
|