HomeSort by relevance Sort by last modified time
    Searched refs:Method (Results 1101 - 1125 of 1620) sorted by null

<<41424344454647484950>>

  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
RuntimeTestBase.java 29 import org.objectweb.asm.commons.Method;
127 gen.invokeConstructor(Type.getType(Object.class), new Method("<init>",
  /external/javassist/src/main/javassist/tools/rmi/
AppletServer.java 24 import java.lang.reflect.Method;
98 * This method produces the bytecode of the proxy class used
100 * the proxy class and call a method on the exported object.
249 public Method[] methods;
  /external/jetty/src/java/org/eclipse/jetty/util/log/
Log.java 23 import java.lang.reflect.Method;
242 Method getLogger = uberlog.getMethod("getLogger", new Class[]{String.class});
  /external/jsilver/src/com/google/clearsilver/jsilver/compiler/
JavaSourceWriter.java 23 import java.lang.reflect.Method;
133 * Start a method. The signature is based on that of an existing method.
135 public void startMethod(Method method, String... paramNames) {
140 if (paramNames.length != method.getParameterTypes().length) {
142 + "number of parameter names for method signature " + method);
148 int modifiers = method.getModifiers();
163 out.append(method.getReturnType().getSimpleName()).append(' ').append(method.getName()).append
    [all...]
  /external/junit/src/junit/runner/
BaseTestRunner.java 13 import java.lang.reflect.Method;
92 * a template method, subclasses override runFailed(), clearStatus().
112 Method suiteMethod= null;
121 runFailed("Suite() method must be static");
126 test= (Test)suiteMethod.invoke(null, (Object[])new Class[0]); // static method
280 // BEGIN android-changed - add back this method for API compatibility
327 "java.lang.reflect.Method.invoke("
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
KeyFactory.java 19 import java.lang.reflect.Method;
32 * single method named <code>newInstance</code>, which returns an
42 * the <code>newInstance</code> method defined by your interface.
167 Method newInstance = ReflectUtils.findNewInstance(keyInterface);
169 throw new IllegalArgumentException("newInstance method must return Object");
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
MethodDelegate.java 31 * Delegates are a typesafe pointer to another method. Since Java does not
33 * a proxy that forwards method calls to any method with the same signature.
40 * Any interface with one method can become the interface for a delegate.
52 * delegate. It has only one method, and the interface is public. In
53 * order to create a delegate for that method, all we have to do is
81 * easily created the delegate to match the static <code>main</code> method by
91 * use any interface with one declared method to forward events to any method that
92 * matches the signature (although the method name can be different)
203 final Method method = targetClass.getMethod(methodName, proxy.getParameterTypes()); local
    [all...]
  /external/mockito/src/org/mockito/internal/creation/
AcrossJVMSerializationFeature.java 18 import java.lang.reflect.Method;
37 * Then in the {@link MethodInterceptorFilter} of mockito, if the <code>writeReplace</code> method is called,
38 * it will use the custom implementation of this class {@link #writeReplace(Object)}. This method has a specific
60 public boolean isWriteReplace(Method method) {
61 return method.getReturnType() == Object.class
62 && method.getParameterTypes().length == 0
63 && method.getName().equals("writeReplace");
68 * Custom implementation of the <code>writeReplace</code> method for serialization.
73 * <p>When first entering in this method, it's because some is serializing the mock, with some code like
    [all...]
  /external/proguard/src/proguard/optimize/evaluation/
EvaluationSimplifier.java 94 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
98 // method.getName(clazz).equals("abc");
101 // Catch any unexpected exceptions from the actual visiting method.
105 visitCodeAttribute0(clazz, method, codeAttribute);
111 System.err.println(" Method = ["+method.getName(clazz)+method.getDescriptor(clazz)+"]");
113 System.err.println("Not optimizing this method");
117 method.accept(clazz, new ClassPrinter())
    [all...]
  /external/protobuf/benchmarks/
ProtoBench.java 40 import java.lang.reflect.Method;
80 Method method = clazz.getDeclaredMethod("getDefaultInstance"); local
81 defaultMessage = (Message) method.invoke(null);
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DexBackedMethod.java 44 import org.jf.dexlib2.iface.Method;
54 public class DexBackedMethod extends BaseMethodReference implements Method {
  /external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
JumboStringConversionTest.java 100 Method method = Iterables.getFirst(classDef.getMethods(), null); local
101 Assert.assertNotNull(method);
103 MethodImplementation impl = method.getImplementation();
197 Method method = Iterables.getFirst(classDef.getMethods(), null); local
198 Assert.assertNotNull(method);
200 MethodImplementation impl = method.getImplementation();
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/introspector/
PropertyUtils.java 22 import java.lang.reflect.Method;
65 Method readMethod = property.getReadMethod();
  /external/testng/src/main/java/org/testng/
TestClass.java 14 import java.lang.reflect.Method;
20 * - The configuration methods (test and method)
190 Method m = tm.getMethod();
193 log(4, "Adding method " + tm + " on TestClass " + m_testClass);
199 log(4, "Rejecting method " + tm + " for TestClass " + m_testClass);
  /external/testng/src/main/java/org/testng/junit/
JUnitTestRunner.java 14 import java.lang.reflect.Method;
181 * a template method, subclasses override runFailed(), clearStatus().
198 runFailed(testClass, "exception while instatiating test for method '" + m + "' " + ex);
208 Method suiteMethod = null;
218 runFailed(testClass, "suite() method must be static");
224 test = (Test) suiteMethod.invoke(null, (Object[]) new Class[0]); // static method
230 runFailed(testClass, "failed to invoke method suite():" + e.getTargetException().toString());
235 runFailed(testClass, "failed to invoke method suite():" + e.toString());
  /frameworks/base/core/java/android/util/
DebugUtils.java 22 import java.lang.reflect.Method;
59 * <p><strong>NOTE</strong>: This method is very expensive as it relies
60 * heavily on regular expressions and reflection. Calls to this method
81 Method declaredMethod = null;
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
BitmapUtils.java 30 import java.lang.reflect.Method;
198 Method method = clazz.getMethod("setDataSource", String.class); local
199 method.invoke(instance, filePath);
201 // The method name changes between API Level 9 and 10.
  /frameworks/base/tools/aapt2/compile/
PseudolocaleGenerator_test.cpp 36 Pseudolocalizer::Method::kNone, &pool);
57 Pseudolocalizer::Method::kAccent, &pool);
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiControllerTest.java 46 import java.lang.reflect.Method;
65 Method method = StateMachine.class.getDeclaredMethod("getCurrentState"); local
66 method.setAccessible(true);
67 return (IState) method.invoke(mWifiController);
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
CdmaInboundSmsHandlerTest.java 46 import java.lang.reflect.Method;
88 Method method = StateMachine.class.getDeclaredMethod("getCurrentState"); local
89 method.setAccessible(true);
90 return (IState) method.invoke(mCdmaInboundSmsHandler);
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
MenuPopupWindow.java 41 import java.lang.reflect.Method;
54 private static Method sSetTouchModalMethod;
61 Log.i(TAG, "Could not find method setTouchModal() on PopupWindow. Oh well.");
  /frameworks/volley/src/main/java/com/android/volley/
Request.java 48 public interface Method {
64 * Request method of this request. Currently supports GET, POST, PUT, DELETE, HEAD, OPTIONS,
116 this(Method.DEPRECATED_GET_OR_POST, url, listener);
120 * Creates a new request with the given method (one of the values from {@link Method}),
125 public Request(int method, String url, Response.ErrorListener listener) {
126 mMethod = method;
135 * Return the method for this request. Can be one of the values in {@link Method}.
428 * application/x-www-form-urlencoded format. When overriding this method, consider overridin
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
AnnotatedElementBenchmark.java 23 import java.lang.reflect.Method;
29 private Method method; field in class:AnnotatedElementBenchmark
35 method = Type.class.getMethod("method", String.class);
39 // get annotations by member type and method
55 method.getAnnotations();
61 method.getParameterAnnotations();
79 method.getAnnotation(Marker.class);
97 method.isAnnotationPresent(Marker.class)
215 @Marker public void method(@Marker String parameter) {} method in class:AnnotatedElementBenchmark.Type
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/
DOMTest.java 18 import java.lang.reflect.Method;
168 Method method = File.class.getMethod("toURI", (Class<?>) null); local
169 Object uri = method.invoke(tempFile, (Class<?>) null);
275 * This method is called when a mutation is reported for a document that
  /libcore/luni/src/test/java/libcore/java/lang/
OldClassTest.java 28 import java.lang.reflect.Method;
309 // AndroidOnly: Class.forName method throws ClassNotFoundException on Android.
379 Method clazz = ExtendTestClass.class.getEnclosingMethod();
384 assertEquals("getEnclosingMethod returns incorrect method.",
397 assertEquals("getEnclosingConstructor method returns incorrect class.",
402 "class declared in method.",
406 "class declared in method.",
697 Method m = ExtendTestClass1.class.getMethod("getCount", new Class[0]);
698 assertEquals("Returned incorrect method", 0, ((Integer) (m.invoke(new ExtendTestClass1())))
703 fail("Failed to throw exception accessing to init method");
    [all...]

Completed in 845 milliseconds

<<41424344454647484950>>