Home
last modified time | relevance | path

Searched refs:directMethodName (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DShadowImpl.java13 return directMethodName(className, methodName);
55 String directMethodName = directMethodName(clazz.getName(), methodName); in directlyOn() local
56 …return (R) ReflectionHelpers.callInstanceMethod(clazz, shadowedObject, directMethodName, paramValu… in directlyOn()
61 String directMethodName = directMethodName(clazz.getName(), methodName); in directlyOn() local
62 return (R) ReflectionHelpers.callStaticMethod(clazz, directMethodName, paramValues); in directlyOn()
67 String directMethodName = in invokeConstructor() local
68 directMethodName(clazz.getName(), ShadowConstants.CONSTRUCTOR_METHOD_NAME); in invokeConstructor()
69 return (R) ReflectionHelpers.callInstanceMethod(clazz, instance, directMethodName, paramValues); in invokeConstructor()
73 public String directMethodName(String className, String methodName) { in directMethodName() method in ShadowImpl
DClassInstrumentor.java263 method.name = directMethodName(mutableClass, ShadowConstants.CONSTRUCTOR_METHOD_NAME); in instrumentConstructor()
349 method.name = directMethodName(mutableClass, originalName); in instrumentNormalMethod()
363 private String directMethodName(MutableClass mutableClass, String originalName) { in directMethodName() method in ClassInstrumentor
364 return SHADOW_IMPL.directMethodName(mutableClass.getName(), originalName); in directMethodName()
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/shadow/api/
DShadow.java68 public static String directMethodName(String className, String methodName) { in directMethodName() method in Shadow
69 return SHADOW_IMPL.directMethodName(className, methodName); in directMethodName()
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DSandboxClassLoaderTest.java185 String methodName = shadow.directMethodName(exampleClass.getName(), "normalMethod"); in shouldGenerateClassSpecificDirectAccessMethod()
197 String methodName = shadow.directMethodName(exampleClass.getName(), "normalMethod"); in soMockitoDoesntExplodeDueToTooManyMethods_shouldGenerateClassSpecificDirectAccessMethodWhichIsPrivateAndFinal()
218 String methodName = shadow.directMethodName(exampleClass.getName(), "staticMethod"); in callingStaticDirectAccessMethodShouldWork()
371 String directMethodName = shadow.directMethodName(declaringClass.getName(), methodName); in findDirectMethod() local
372 Method directMethod = declaringClass.getDeclaredMethod(directMethodName, argClasses); in findDirectMethod()
426 shadow.directMethodName(theClass.getName(), ShadowConstants.CONSTRUCTOR_METHOD_NAME)); in shouldFixTypesInFieldAccess()
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/internal/
DIShadow.java24 String directMethodName(String className, String methodName); in directMethodName() method