All Classes and Interfaces
Class
Description
Instruments the Android jars
Maps calls to Cleaner, which moved between Java 8 and 9:
sun.misc.Cleaner.create() -> new java.lang.ref.Cleaner().register()
sun.misc.Cleaner.clean() -> java.lang.ref.Cleaner.Cleanable().clean()
Intercepts calls to libcore-extensions to
FileDescriptor.AndroidInterceptor for NioUtils.freeDirectBuffer.
AndroidInterceptor for Reference.refersTo which is not available until JDK 16.
Intercepts calls to methods in
Socket not present in the OpenJDK.AndroidInterceptor for System.logE and System.logW.
A more lightweight variant of
MutableClass.This interface is used by Robolectric when instrumented classes are created and interacted with.
Factory interface for
ClassHandler.Instruments (i.e.
Wrapper for
Cleaner, used by AndroidInterceptors.CleanerInterceptor
when running on Java 9+.Interface defining a function object.
Configuration rules for
SandboxClassLoader.Marker interface used by Robolectric to indicate that an interface has been instrumented
ClassWriter implementation that verifies classes by comparing type information obtained
from loading the classes as resources.
Deprecated.
The invoke-dynamic case has been moved to ClassInstrumentor.
Reference to a specific method on a class.
Deprecated.
This is incompatible with JDK17+.
A provider of resources (à la ClassLoader).
A response cache that supports statistics tracking and updating stored
responses.
GeneratorAdapter implementation specific to generate code for Robolectric purposes
Where the HTTP client should look for a response.
Class loader that modifies the bytecode of Android classes to insert calls to Robolectric's
shadow classes.
Configuration settings that can be used on a per-class or per-test basis.
Decorator which adds Robolectric's shadowing behavior to a class.
Maps from instrumented class to shadow class.
ShadowMatcher is used by
ShadowWrangler to provide library-specific
rules about whether shadow classes and methods should be considered matches.The set of
ShadowProvider implementations found on the classpath.ShadowWrangler matches shadowed classes up with corresponding shadows based on a
ShadowMap.ResourceProvider using URLs.