Home
last modified time | relevance | path

Searched refs:ShadowConstants (Results 1 – 9 of 9) sorted by relevance

/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DShadowDecorator.java24 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()
DClassInstrumentor.java131 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()
DShadowImpl.java68 directMethodName(clazz.getName(), ShadowConstants.CONSTRUCTOR_METHOD_NAME); in invokeConstructor()
74 return ShadowConstants.ROBO_PREFIX in directMethodName()
DShadowConstants.java3 public class ShadowConstants { class
DRobolectricInternals.java56 ReflectionHelpers.callStaticMethod(clazz, ShadowConstants.STATIC_INITIALIZER_METHOD_NAME); in performStaticInitialization()
DShadowWrangler.java135 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);
DOldClassInstrumentor.java58 …generator.putField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in addDirectCallConstructor()
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DShadowingTest.java19 import org.robolectric.internal.bytecode.ShadowConstants;
171 …Method realConstructor = o.getClass().getDeclaredMethod(ShadowConstants.CONSTRUCTOR_METHOD_NAME, S… in shouldGenerateSeparatedConstructorBodies()
DSandboxClassLoaderTest.java51 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()