Searched refs:ShadowConstants (Results 1 – 9 of 9) sorted by relevance
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | ShadowDecorator.java | 24 ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_DESC, OBJECT_DESC, null)); in decorate() 47 && !originalMethodName.equals(ShadowConstants.CONSTRUCTOR_METHOD_NAME); in decorateMethodPreClassHandler() 54 …generator.getField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in decorateMethodPreClassHandler() 60 …generator.getField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in decorateMethodPreClassHandler() 82 …MethodNode initMethodNode = new MethodNode(Opcodes.ACC_PUBLIC, ShadowConstants.GET_ROBO_DATA_METHO… in addRoboGetDataMethod() 85 …generator.getField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in addRoboGetDataMethod()
|
D | ClassInstrumentor.java | 131 method.name = ShadowConstants.STATIC_INITIALIZER_METHOD_NAME; in instrumentMethods() 171 …generator.getField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in addRoboInitMethod() 177 …generator.putField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in addRoboInitMethod() 263 method.name = directMethodName(mutableClass, ShadowConstants.CONSTRUCTOR_METHOD_NAME); in instrumentConstructor() 264 …mutableClass.addMethod(redirectorMethod(mutableClass, method, ShadowConstants.CONSTRUCTOR_METHOD_N… in instrumentConstructor() 275 …generateClassHandlerCall(mutableClass, method, ShadowConstants.CONSTRUCTOR_METHOD_NAME, generator); in instrumentConstructor()
|
D | ShadowImpl.java | 68 directMethodName(clazz.getName(), ShadowConstants.CONSTRUCTOR_METHOD_NAME); in invokeConstructor() 74 return ShadowConstants.ROBO_PREFIX in directMethodName()
|
D | ShadowConstants.java | 3 public class ShadowConstants { class
|
D | RobolectricInternals.java | 56 ReflectionHelpers.callStaticMethod(clazz, ShadowConstants.STATIC_INITIALIZER_METHOD_NAME); in performStaticInitialization()
|
D | ShadowWrangler.java | 135 ShadowConstants.STATIC_INITIALIZER_METHOD_NAME, NO_ARGS); in classInitializing() 376 if (methodName.startsWith(ShadowConstants.ROBO_PREFIX)) { 378 methodName.indexOf('$', ShadowConstants.ROBO_PREFIX.length() + 1) + 1);
|
D | OldClassInstrumentor.java | 58 …generator.putField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in addDirectCallConstructor()
|
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
D | ShadowingTest.java | 19 import org.robolectric.internal.bytecode.ShadowConstants; 171 …Method realConstructor = o.getClass().getDeclaredMethod(ShadowConstants.CONSTRUCTOR_METHOD_NAME, S… in shouldGenerateSeparatedConstructorBodies()
|
D | SandboxClassLoaderTest.java | 51 import org.robolectric.internal.bytecode.ShadowConstants; 143 exampleClass.getField(ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME); in shouldPerformClassLoadForAcquiredClasses() 155 Field roboDataField = exampleClass.getField(ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME); in shouldPerformClassLoadAndInstrumentLoadForInstrumentedClasses() 426 shadow.directMethodName(theClass.getName(), ShadowConstants.CONSTRUCTOR_METHOD_NAME)); in shouldFixTypesInFieldAccess()
|