Home
last modified time | relevance | path

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

/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DClassInstrumentor.java40 public MutableClass analyzeClass( in analyzeClass()
64 return new MutableClass(classNode, config, classNodeProvider); in analyzeClass()
67 byte[] instrumentToBytes(MutableClass mutableClass) { in instrumentToBytes()
86 MutableClass mutableClass = analyzeClass(origBytes, config, classNodeProvider); in instrument()
90 public void instrument(MutableClass mutableClass) { in instrument()
126 private void instrumentMethods(MutableClass mutableClass) { in instrumentMethods()
141 private void addNoArgsConstructor(MutableClass mutableClass) { in addNoArgsConstructor()
154 protected abstract void addDirectCallConstructor(MutableClass mutableClass); in addDirectCallConstructor()
166 private void addRoboInitMethod(MutableClass mutableClass) { in addRoboInitMethod()
183 …protected abstract void writeCallToInitializing(MutableClass mutableClass, RobolectricGeneratorAda… in writeCallToInitializing()
[all …]
DInvokeDynamicClassInstrumentor.java45 protected void addDirectCallConstructor(MutableClass mutableClass) { in addDirectCallConstructor()
50 protected void writeCallToInitializing(MutableClass mutableClass, in writeCallToInitializing()
57 protected void generateClassHandlerCall(MutableClass mutableClass, MethodNode originalMethod, in generateClassHandlerCall()
63 private void generateInvokeDynamic(MutableClass mutableClass, MethodNode originalMethod, in generateInvokeDynamic()
83 protected void interceptInvokeVirtualMethod(MutableClass mutableClass, in interceptInvokeVirtualMethod()
DShadowDecorator.java20 public void decorate(MutableClass mutableClass) { in decorate()
44 public void decorateMethodPreClassHandler(MutableClass mutableClass, MethodNode originalMethod, in decorateMethodPreClassHandler()
81 private void addRoboGetDataMethod(MutableClass mutableClass) { in addRoboGetDataMethod()
DOldClassInstrumentor.java43 protected void addDirectCallConstructor(MutableClass mutableClass) { in addDirectCallConstructor()
64 protected void writeCallToInitializing(MutableClass mutableClass, in writeCallToInitializing()
70 protected void generateClassHandlerCall(MutableClass mutableClass, MethodNode originalMethod, in generateClassHandlerCall()
93 private void generateCallToClassHandler(MutableClass mutableClass, MethodNode originalMethod, in generateCallToClassHandler()
181 protected void interceptInvokeVirtualMethod(MutableClass mutableClass, in interceptInvokeVirtualMethod()
190 private void interceptInvokeVirtualMethodWithoutInvokeDynamic(MutableClass mutableClass, in interceptInvokeVirtualMethodWithoutInvokeDynamic()
DMutableClass.java14 public class MutableClass { class
25 MutableClass(ClassNode classNode, InstrumentationConfiguration config, in MutableClass() method in MutableClass
DSandboxClassLoader.java120 MutableClass mutableClass = PerfStatsCollector.getInstance().measure("analyze class", in maybeInstrumentClass()
144 MutableClass mutableClass, byte[] origClassBytes) { in postProcessUninstrumentedClass()
DInstrumentationConfiguration.java82 public boolean shouldInstrument(MutableClass mutableClass) { in shouldInstrument()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/
DInstrumentationConfigurationTest.java138 private MutableClass wrap(final String className) { in wrap()
139 MutableClass info = mock(MutableClass.class); in wrap()
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DSandboxClassLoaderTest.java48 import org.robolectric.internal.bytecode.MutableClass;
131 when(config.shouldInstrument(any(MutableClass.class))).thenReturn(false); in shouldDelegateClassLoadForUnacquiredClasses()