HomeSort by relevance Sort by last modified time
    Searched refs:theClass (Results 1 - 25 of 53) sorted by null

1 2 3

  /external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
RoboCallSite.java 7 private final Class<?> theClass;
9 public RoboCallSite(MethodType type, Class<?> theClass) {
11 this.theClass = theClass;
15 return theClass;
ClassHandler.java 50 * @param theClass the class on which the method is declared
54 Plan methodInvoked(String signature, boolean isStatic, Class<?> theClass);
68 * @param theClass the instrumented class
73 MethodHandle getShadowCreator(Class<?> theClass);
84 * @param theClass the class on which the method is declared
92 MethodHandle findShadowMethodHandle(Class<?> theClass, String name, MethodType methodType,
106 * @param theClass the class on which the method is declared
110 Object intercept(String signature, Object instance, Object[] params, Class<?> theClass)
RobolectricInternals.java 29 public static ClassHandler.Plan methodInvoked(String signature, boolean isStatic, Class<?> theClass) {
30 return classHandler.methodInvoked(signature, isStatic, theClass);
37 public static MethodHandle findShadowMethodHandle(Class<?> theClass, String name,
39 return classHandler.findShadowMethodHandle(theClass, name, methodType, isStatic);
47 public static Object intercept(String signature, Object instance, Object[] params, Class theClass) throws Throwable {
49 return classHandler.intercept(signature, instance, params, theClass);
MethodCallSite.java 13 public MethodCallSite(Class<?> theClass, MethodType type, String name, MethodHandle original,
15 super(type, theClass);
39 "theClass=" + getTheClass() +
ShadowWrangler.java 35 public Object call(Class<?> theClass, Object value, Object[] params) {
164 public Plan methodInvoked(String signature, boolean isStatic, Class<?> theClass) {
169 plan = calculatePlan(signature, isStatic, theClass);
345 public Object intercept(String signature, Object instance, Object[] params, Class theClass) throws Throwable {
347 return interceptors.getInterceptionHandler(methodSignature).call(theClass, instance, params);
399 Class<?> theClass = instance.getClass();
400 Object shadow = createShadowFor(theClass);
405 private Object createShadowFor(Class<?> theClass) {
406 ShadowInfo shadowInfo = getShadowInfo(theClass);
411 Class<?> shadowClass = loadClass(shadowInfo.shadowClassName, theClass.getClassLoader())
    [all...]
Interceptor.java 28 public Object call(Class<?> theClass, Object value, Object[] params) {
InvokeDynamicSupport.java 97 Class<Interceptor> theClass =
101 return ReflectionHelpers.newInstance(theClass).getMethodHandle(methodName, type);
  /external/robolectric-shadows/sandbox/src/main/java/org/robolectric/util/
Function.java 7 R call(Class<?> theClass, T value, Object[] params);
  /external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
TestHelper_ClassLoader.java 41 Class<?> theClass = null;
57 for (int i = 0; (i < theClassPaths.length) && (theClass == null); i++) {
60 theClass = loadClassFromJar(theClassPaths[i], className,
63 theClass = loadClassFromFile(theClassPaths[i], className,
68 return theClass;
80 Class<?> theClass;
82 theClass = findLoadedClass(className);
83 if (theClass != null) {
84 return theClass;
87 theClass = this.findClass(className)
    [all...]
TestHelper_DriverManager.java 102 Class<? extends Object> theClass = theObject.getClass();
103 ClassLoader theClassLoader = theClass.getClassLoader();
DriverManagerTest.java 125 Class<? extends Object> theClass = theObject.getClass();
126 ClassLoader theClassLoader = theClass.getClassLoader();
  /external/v8/tools/clang/plugins/tests/
virtual_bodies.h 11 #define CR_BEGIN_MSG_MAP_EX(theClass) virtual int f() { return 4; }
12 #define BEGIN_SAFE_MSG_MAP_EX(theClass) virtual int g() { return 4; }
  /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/
AbstractDirectoryTestSuite.java 76 * @param theClass - the class
79 protected boolean isClassIncluded(Class theClass) {
106 public boolean include(Class theClass) {
107 boolean superInclude = super.include(theClass);
108 boolean include = isClassIncluded(theClass);
110 System.out.println("IGNORED [" + theClass.getName() + "]");
LoggingUtil.java 126 Class theClass = (object instanceof Class) ? ((Class)object) : object.getClass();
127 String className = theClass.getName();
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
BenchmarkClass.java 47 static BenchmarkClass forClass(Class<?> theClass) throws InvalidBenchmarkException {
48 return new BenchmarkClass(theClass);
51 final Class<?> theClass;
55 private BenchmarkClass(Class<?> theClass) throws InvalidBenchmarkException {
56 this.theClass = checkNotNull(theClass);
58 if (!theClass.getSuperclass().equals(Object.class)) {
61 theClass, Object.class);
64 if (Modifier.isAbstract(theClass.getModifiers())) {
65 throw new InvalidBenchmarkException("Class '%s' is abstract", theClass);
    [all...]
BenchmarkClassChecker.java 72 * @param theClass the class that may contain one or more benchmark methods.
75 public boolean isBenchmark(Class<?> theClass) {
76 for (Method method : theClass.getDeclaredMethods()) {
ParameterSet.java 37 public static ParameterSet create(Class<?> theClass, Class<? extends Annotation> annotationClass)
43 for (Field field : theClass.getDeclaredFields()) {
  /external/junit/src/main/java/junit/extensions/
ActiveTestSuite.java 20 public ActiveTestSuite(Class<? extends TestCase> theClass) {
21 super(theClass);
28 public ActiveTestSuite(Class<? extends TestCase> theClass, String name) {
29 super(theClass, name);
  /external/junit/src/main/java/junit/framework/
TestSuite.java 50 static public Test createTest(Class<?> theClass, String name) {
53 constructor = getTestConstructor(theClass);
55 return warning("Class " + theClass.getName() + " has no public constructor TestCase(String name) or TestCase()");
81 public static Constructor<?> getTestConstructor(Class<?> theClass) throws NoSuchMethodException {
83 return theClass.getConstructor(String.class);
87 return theClass.getConstructor();
128 public TestSuite(final Class<?> theClass) {
129 addTestsFromTestCase(theClass);
132 private void addTestsFromTestCase(final Class<?> theClass) {
133 fName = theClass.getName()
    [all...]
  /external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
SandboxClassLoaderTest.java 384 Class<?> theClass = loadClass(AClassWithEqualsHashCodeToString.class);
385 Object instance = theClass.getDeclaredConstructor().newInstance();
408 Class<?> theClass = loadClass(AClassThatRefersToAForgettableClass.class);
409 assertEquals(loadClass(AClassToRemember.class), theClass.getField("someField").getType());
410 assertEquals(Array.newInstance(loadClass(AClassToRemember.class), 0).getClass(), theClass.getField("someFields").getType());
422 Class<?> theClass = loadClass(AClassThatRefersToAForgettableClassInItsConstructor.class);
423 Object instance = theClass.getDeclaredConstructor().newInstance();
425 theClass.getDeclaredMethod(
426 shadow.directMethodName(theClass.getName(), ShadowConstants.CONSTRUCTOR_METHOD_NAME));
434 Class<?> theClass = loadClass(AClassThatRefersToAForgettableClassInMethodCalls.class)
    [all...]
  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/test/
LoggingUtil.java 126 Class theClass = (object instanceof Class) ? ((Class)object) : object.getClass();
127 String className = theClass.getName();
  /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
AndroidInterceptors.java 54 public Object call(Class<?> theClass, Object value, Object[] params) {
76 public Object call(Class<?> theClass, Object value, Object[] params) {
77 ClassLoader cl = theClass.getClassLoader();
112 public Object call(Class<?> theClass, Object value, Object[] params) {
113 ClassLoader cl = theClass.getClassLoader();
147 public Object call(Class<?> theClass, Object value, Object[] params) {
186 public Object call(Class<?> theClass, Object value, Object[] params) {
216 public Object call(Class<?> theClass, Object value, Object[] params) {
  /external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
NativeObjRegistry.java 27 public NativeObjRegistry(Class<T> theClass) {
28 this(theClass, false);
31 public NativeObjRegistry(Class<T> theClass, boolean debug) {
32 this(theClass.getSimpleName(), debug);
  /external/curl/tests/python_dependencies/impacket/
structure.py 587 return self.theClass(data, alignment = self.alignment)
589 return self.theClass(alignment = self.alignment)
611 class theClass(Structure):
646 class theClass(Structure):
657 a['nest1'] = _Test_nested.theClass._Inner()
658 a['nest2'] = _Test_nested.theClass._Inner()
664 class theClass(Structure):
682 class theClass(Structure):
695 class theClass(Structure):
708 class theClass(Structure)
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ForwardingTestCase.java 145 protected static <T> void callAllPublicMethods(Class<T> theClass, T object)
147 for (Method method : theClass.getMethods()) {

Completed in 1991 milliseconds

1 2 3