Home
last modified time | relevance | path

Searched refs:shadowedObject (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DShadowImpl.java31 @Override public <T> T directlyOn(T shadowedObject, Class<T> clazz) { in directlyOn() argument
32 return createProxy(shadowedObject, clazz); in directlyOn()
35 private <T> T createProxy(T shadowedObject, Class<T> clazz) { in createProxy() argument
37 return PROXY_MAKER.createProxy(clazz, shadowedObject); in createProxy()
44 …public <R> R directlyOn(Object shadowedObject, String clazzName, String methodName, ReflectionHelp… in directlyOn() argument
46 …Class<Object> aClass = (Class<Object>) shadowedObject.getClass().getClassLoader().loadClass(clazzN… in directlyOn()
47 return directlyOn(shadowedObject, aClass, methodName, paramValues); in directlyOn()
54 …public <R, T> R directlyOn(T shadowedObject, Class<T> clazz, String methodName, ReflectionHelpers.… in directlyOn() argument
56 …return (R) ReflectionHelpers.callInstanceMethod(clazz, shadowedObject, directMethodName, paramValu… in directlyOn()
DShadowWrangler.java485 ShadowedObject shadowedObject = (ShadowedObject) instance;
486 Object shadow = shadowedObject == null ? null : shadowedObject.$$robo$getData();
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/shadow/api/
DShadow.java45 public static <T> T directlyOn(T shadowedObject, Class<T> clazz) { in directlyOn() argument
46 return SHADOW_IMPL.directlyOn(shadowedObject, clazz); in directlyOn()
50 …public static <R> R directlyOn(Object shadowedObject, String clazzName, String methodName, ClassPa… in directlyOn() argument
51 return SHADOW_IMPL.directlyOn(shadowedObject, clazzName, methodName, paramValues); in directlyOn()
55 …public static <R, T> R directlyOn(T shadowedObject, Class<T> clazz, String methodName, ClassParame… in directlyOn() argument
56 return SHADOW_IMPL.directlyOn(shadowedObject, clazz, methodName, paramValues); in directlyOn()
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/internal/
DIShadow.java13 <T> T directlyOn(T shadowedObject, Class<T> clazz); in directlyOn() argument
16 …<R> R directlyOn(Object shadowedObject, String clazzName, String methodName, ReflectionHelpers.Cla… in directlyOn() argument
18 …<R, T> R directlyOn(T shadowedObject, Class<T> clazz, String methodName, ReflectionHelpers.ClassPa… in directlyOn() argument