$ A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
$
- $$robo$getData() - Method in interface org.robolectric.internal.bytecode.ShadowedObject
A
- addClassNameTranslation(String, String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- addDirectCallConstructor(MutableClass) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
- addField(int, FieldNode) - Method in class org.robolectric.internal.bytecode.MutableClass
- addInstrumentedClass(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- addInstrumentedPackage(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- addInterceptedMethod(MethodRef) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- addInterface(String) - Method in class org.robolectric.internal.bytecode.MutableClass
- addMethod(MethodNode) - Method in class org.robolectric.internal.bytecode.MutableClass
- addShadowClasses(Class<?>...) - Method in class org.robolectric.internal.bytecode.ShadowMap.Builder
- all() - Static method in class org.robolectric.interceptors.AndroidInterceptors
- AndroidConfigurer - Class in org.robolectric.config
-
Instruments the Android jars
- AndroidConfigurer(ShadowProviders) - Constructor for class org.robolectric.config.AndroidConfigurer
- AndroidInterceptors - Class in org.robolectric.interceptors
- AndroidInterceptors() - Constructor for class org.robolectric.interceptors.AndroidInterceptors
- AndroidInterceptors.CleanerInterceptor - Class in org.robolectric.interceptors
-
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() - AndroidInterceptors.FileDescriptorInterceptor - Class in org.robolectric.interceptors
-
Intercepts calls to libcore-extensions to
FileDescriptor. - AndroidInterceptors.LinkedHashMapEldestInterceptor - Class in org.robolectric.interceptors
- AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor - Class in org.robolectric.interceptors
- AndroidInterceptors.NoOpInterceptor - Class in org.robolectric.interceptors
- AndroidInterceptors.ReferenceRefersToInterceptor - Class in org.robolectric.interceptors
-
AndroidInterceptor for Reference.refersTo which is not available until JDK 16.
- AndroidInterceptors.SocketInterceptor - Class in org.robolectric.interceptors
-
Intercepts calls to methods in
Socketnot present in the OpenJDK. - AndroidInterceptors.SystemArrayCopyInterceptor - Class in org.robolectric.interceptors
- AndroidInterceptors.SystemLogInterceptor - Class in org.robolectric.interceptors
-
AndroidInterceptor for System.logE and System.logW.
- AndroidInterceptors.SystemTimeInterceptor - Class in org.robolectric.interceptors
B
- bootstrap(MethodHandles.Lookup, String, MethodType, MethodHandle) - Static method in class org.robolectric.internal.bytecode.InvokeDynamicSupport
- bootstrapInit(MethodHandles.Lookup, String, MethodType) - Static method in class org.robolectric.internal.bytecode.InvokeDynamicSupport
- bootstrapIntrinsic(MethodHandles.Lookup, String, MethodType, String) - Static method in class org.robolectric.internal.bytecode.InvokeDynamicSupport
- bootstrappedClass(Class<?>) - Method in class org.robolectric.internal.bytecode.Sandbox
- bootstrapStatic(MethodHandles.Lookup, String, MethodType, MethodHandle) - Static method in class org.robolectric.internal.bytecode.InvokeDynamicSupport
- build() - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- build() - Method in class org.robolectric.internal.bytecode.ShadowMap.Builder
- build(ShadowMap, ShadowMatcher, Interceptors) - Method in interface org.robolectric.internal.bytecode.ClassHandlerBuilder
-
Builds a
instance. - Builder() - Constructor for class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- Builder() - Constructor for class org.robolectric.internal.bytecode.ShadowMap.Builder
- Builder(InstrumentationConfiguration) - Constructor for class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- Builder(ShadowMap) - Constructor for class org.robolectric.internal.bytecode.ShadowMap.Builder
C
- CACHE - org.robolectric.fakes.RoboResponseSource
-
Return the response from the cache immediately.
- call(Class<?>, T, Object[]) - Method in interface org.robolectric.util.Function
- CALL_REAL_CODE - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
- CALL_REAL_CODE_PLAN - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
- callThroughByDefault - Variable in class org.robolectric.internal.bytecode.ShadowInfo
- CLASS_HANDLER_DATA_FIELD_NAME - Static variable in class org.robolectric.internal.bytecode.ShadowConstants
- ClassDetails - Class in org.robolectric.internal.bytecode
-
A more lightweight variant of
MutableClass. - ClassDetails(byte[]) - Constructor for class org.robolectric.internal.bytecode.ClassDetails
- classesToNotAcquire - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- classesToNotInstrument - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- classesToNotInstrumentRegex - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- classHandler - Variable in class org.robolectric.internal.bytecode.Sandbox
- ClassHandler - Interface in org.robolectric.internal.bytecode
-
This interface is used by Robolectric when instrumented classes are created and interacted with.
- ClassHandler.Plan - Interface in org.robolectric.internal.bytecode
-
An execution plan, which can be invoked to satisfy a requested method call.
- ClassHandlerBuilder - Interface in org.robolectric.internal.bytecode
-
Factory interface for
ClassHandler. - classInitializing(Class) - Method in interface org.robolectric.internal.bytecode.ClassHandler
-
Called by Robolectric when an instrumented class is first loaded into a sandbox and is ready to be statically initialized.
- classInitializing(Class) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- classInitializing(Class) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
- ClassInstrumentor - Class in org.robolectric.internal.bytecode
-
Instruments (i.e.
- ClassInstrumentor() - Constructor for class org.robolectric.internal.bytecode.ClassInstrumentor
- ClassInstrumentor(ClassInstrumentor.Decorator) - Constructor for class org.robolectric.internal.bytecode.ClassInstrumentor
- ClassInstrumentor.Decorator - Interface in org.robolectric.internal.bytecode
- className - Variable in class org.robolectric.internal.bytecode.MethodRef
- className - Variable in class org.robolectric.internal.bytecode.MethodSignature
- classNameTranslations - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- classNameTranslations() - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
-
Map from a requested class to an alternate stand-in, or not.
- classNode - Variable in class org.robolectric.internal.bytecode.MutableClass
- ClassNodeProvider - Class in org.robolectric.internal.bytecode
- ClassNodeProvider() - Constructor for class org.robolectric.internal.bytecode.ClassNodeProvider
- clazz - Variable in class org.robolectric.internal.bytecode.InvocationProfile
- clean(Object) - Static method in class org.robolectric.fakes.CleanerCompat
- CleanerCompat - Class in org.robolectric.fakes
-
Wrapper for
Cleaner, used byAndroidInterceptors.CleanerInterceptorwhen running on Java 9+. - CleanerCompat() - Constructor for class org.robolectric.fakes.CleanerCompat
- CleanerInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.CleanerInterceptor
- cleanStackTrace(Throwable) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- compareTo(JavaVersion) - Method in class org.robolectric.util.JavaVersion
- CONDITIONAL_CACHE - org.robolectric.fakes.RoboResponseSource
-
Make a conditional request to the host, returning the cache response if the cache is valid and the network response otherwise.
- configure(ClassHandler, Interceptors) - Method in class org.robolectric.internal.bytecode.Sandbox
- configure(InstrumentationConfiguration.Builder, Interceptors) - Method in class org.robolectric.config.AndroidConfigurer
- CONSTRUCTOR_METHOD_NAME - Static variable in class org.robolectric.internal.bytecode.ShadowConstants
- convertToShadowName(String) - Static method in class org.robolectric.internal.bytecode.ShadowMap
-
Deprecated.do not use
- createFromShadowProviders(List<ShadowProvider>) - Static method in class org.robolectric.internal.bytecode.ShadowMap
- createProxy(Class<T>, T) - Method in class org.robolectric.internal.bytecode.ProxyMaker
-
Deprecated.
D
- decorate(MutableClass) - Method in interface org.robolectric.internal.bytecode.ClassInstrumentor.Decorator
- decorate(MutableClass) - Method in class org.robolectric.internal.bytecode.ShadowDecorator
- describe() - Method in interface org.robolectric.internal.bytecode.ClassHandler.Plan
- directInitialize(Class<?>) - Method in class org.robolectric.internal.bytecode.ShadowImpl
- directlyOn(Class<T>, String, ReflectionHelpers.ClassParameter...) - Method in class org.robolectric.internal.bytecode.ShadowImpl
- directlyOn(Object, String, String, ReflectionHelpers.ClassParameter...) - Method in class org.robolectric.internal.bytecode.ShadowImpl
- directlyOn(T, Class<T>) - Method in class org.robolectric.internal.bytecode.ShadowImpl
-
Deprecated.This is incompatible with JDK17+. Use a
Reflectorinterface withDirect. - directlyOn(T, Class<T>, String, ReflectionHelpers.ClassParameter...) - Method in class org.robolectric.internal.bytecode.ShadowImpl
- directMethodName(String, String) - Method in class org.robolectric.internal.bytecode.ShadowImpl
- directMethodName(MutableClass, String) - Static method in class org.robolectric.internal.bytecode.ClassInstrumentor
- DirectObjectMarker - Class in org.robolectric.internal.bytecode
- DO_NOTHING - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
- DO_NOTHING_HANDLER - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
- DO_NOTHING_METHOD - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
- DO_NOTHING_PLAN - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
- doNotAcquireClass(Class<?>) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- doNotAcquireClass(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- doNotAcquirePackage(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- doNotInstrumentClass(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- doNotInstrumentPackage(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
E
- equals(Object) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
- equals(Object) - Method in class org.robolectric.internal.bytecode.InvocationProfile
- equals(Object) - Method in class org.robolectric.internal.bytecode.MethodRef
- equals(Object) - Method in class org.robolectric.internal.bytecode.ShadowInfo
- equals(Object) - Method in class org.robolectric.internal.bytecode.ShadowMap
- exceptionArray(MethodNode) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
- extract(Object) - Method in class org.robolectric.internal.bytecode.ShadowImpl
F
- FileDescriptorInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.FileDescriptorInterceptor
- findInterceptor(String, String) - Method in class org.robolectric.internal.bytecode.Interceptors
- findShadowMethodHandle(Class<?>, String, MethodType, boolean) - Method in interface org.robolectric.internal.bytecode.ClassHandler
-
Called by Robolectric when an instrumented method is invoked.
- findShadowMethodHandle(Class<?>, String, MethodType, boolean) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- findShadowMethodHandle(Class<?>, String, MethodType, boolean) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
- Function<R,T> - Interface in org.robolectric.util
-
Interface defining a function object.
G
- generateClassHandlerCall(MutableClass, MethodNode, String, RobolectricGeneratorAdapter) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
- GET_ROBO_DATA_METHOD_NAME - Static variable in class org.robolectric.internal.bytecode.ShadowConstants
- getAllMethodRefs() - Method in class org.robolectric.internal.bytecode.Interceptors
- getBaseShadowMap() - Method in class org.robolectric.internal.bytecode.ShadowProviders
- getByteCode(String) - Method in class org.robolectric.internal.bytecode.SandboxClassLoader
- getClassBytes() - Method in class org.robolectric.internal.bytecode.ClassDetails
- getClassBytes(String) - Method in class org.robolectric.internal.bytecode.ClassNodeProvider
- getClassLoader() - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- getCommonSuperClass(String, String) - Method in class org.robolectric.internal.bytecode.InstrumentingClassWriter
-
Returns the common super type of the two given types without actually loading the classes in the ClassLoader.
- getFields() - Method in class org.robolectric.internal.bytecode.MutableClass
- getInstrumentedPackages() - Method in class org.robolectric.internal.bytecode.ShadowProviders
- getInterceptionHandler(MethodSignature) - Method in class org.robolectric.internal.bytecode.Interceptors
- getInvalidatedClasses(ShadowMap) - Method in class org.robolectric.internal.bytecode.ShadowMap
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.CleanerInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.FileDescriptorInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.LinkedHashMapEldestInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.NoOpInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.ReferenceRefersToInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.SocketInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.SystemArrayCopyInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.SystemLogInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.SystemTimeInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.internal.bytecode.Interceptor
- getMethodRefs() - Method in class org.robolectric.internal.bytecode.Interceptor
- getMethods() - Method in class org.robolectric.internal.bytecode.MutableClass
- getName() - Method in class org.robolectric.internal.bytecode.ClassDetails
- getName() - Method in class org.robolectric.internal.bytecode.MethodCallSite
- getName() - Method in class org.robolectric.internal.bytecode.MutableClass
- getOriginal() - Method in class org.robolectric.internal.bytecode.MethodCallSite
- getParamClasses(ClassLoader) - Method in class org.robolectric.internal.bytecode.InvocationProfile
- getResource(String) - Method in interface org.robolectric.internal.bytecode.ResourceProvider
- getResource(String) - Method in class org.robolectric.internal.bytecode.SandboxClassLoader
- getResourceAsStream(String) - Method in interface org.robolectric.internal.bytecode.ResourceProvider
- getReturnType() - Method in class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
- getRobolectricClassLoader() - Method in class org.robolectric.internal.bytecode.Sandbox
- getShadowCreator(Class<?>) - Method in interface org.robolectric.internal.bytecode.ClassHandler
-
Called by Robolectric to determine how to create and initialize a shadow object when a new instance of an instrumented class has been instantiated.
- getShadowCreator(Class<?>) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- getShadowCreator(Class<?>) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
- getShadowInfo(Class<?>, ShadowMatcher) - Method in class org.robolectric.internal.bytecode.ShadowMap
- getShadowInvalidator() - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- getShadowPickerClass() - Method in class org.robolectric.internal.bytecode.ShadowInfo
- getSwitchPoint(Class<?>) - Method in class org.robolectric.internal.bytecode.ShadowInvalidator
- getSwitchPoint(String) - Method in class org.robolectric.internal.bytecode.ShadowInvalidator
- getTheClass() - Method in class org.robolectric.internal.bytecode.RoboCallSite
H
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.CleanerInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.FileDescriptorInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.LinkedHashMapEldestInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.NoOpInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.ReferenceRefersToInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.SocketInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.SystemArrayCopyInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.SystemLogInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.SystemTimeInterceptor
- handle(MethodSignature) - Method in class org.robolectric.internal.bytecode.Interceptor
- hasAnnotation(Class<? extends Annotation>) - Method in class org.robolectric.internal.bytecode.ClassDetails
- hashCode() - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
- hashCode() - Method in class org.robolectric.internal.bytecode.InvocationProfile
- hashCode() - Method in class org.robolectric.internal.bytecode.MethodRef
- hashCode() - Method in class org.robolectric.internal.bytecode.ShadowInfo
- hashCode() - Method in class org.robolectric.internal.bytecode.ShadowMap
- hasShadowPicker() - Method in class org.robolectric.internal.bytecode.ShadowInfo
I
- inClassLoader(ClassLoader) - Method in class org.robolectric.internal.bytecode.ShadowProviders
- initializing(Object) - Method in interface org.robolectric.internal.bytecode.ClassHandler
-
Called by Robolectric when a new instance of an instrumented class has been created and is ready to be initialized (but only on JVMs which don't support the
invokedynamicinstruction). - initializing(Object) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- initializing(Object) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
- INSTANCE - Static variable in class org.robolectric.internal.bytecode.DirectObjectMarker
- instrument(ClassDetails, InstrumentationConfiguration, ClassNodeProvider) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
- instrument(MutableClass) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
- InstrumentationConfiguration - Class in org.robolectric.internal.bytecode
-
Configuration rules for
SandboxClassLoader. - InstrumentationConfiguration(Map<String, String>, Collection<MethodRef>, Collection<String>, Collection<String>, Collection<String>, Collection<String>, Collection<String>, Collection<String>, String) - Constructor for class org.robolectric.internal.bytecode.InstrumentationConfiguration
- InstrumentationConfiguration.Builder - Class in org.robolectric.internal.bytecode
- instrumentedClasses - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- InstrumentedInterface - Interface in org.robolectric.internal.bytecode
-
Marker interface used by Robolectric to indicate that an interface has been instrumented
- instrumentedPackages - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- instrumentedPackages() - Method in annotation type org.robolectric.internal.bytecode.SandboxConfig
-
A list of instrumented packages, in addition to those that are already instrumented.
- InstrumentingClassWriter - Class in org.robolectric.internal.bytecode
-
ClassWriter implementation that verifies classes by comparing type information obtained from loading the classes as resources.
- InstrumentingClassWriter(ClassNodeProvider, ClassNode) - Constructor for class org.robolectric.internal.bytecode.InstrumentingClassWriter
-
Preserve stack map frames for V51 and newer bytecode.
- instrumentNativeMethod(MutableClass, MethodNode) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
-
Creates native stub which returns the default return value.
- instrumentNormalMethod(MutableClass, MethodNode) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
-
Instruments a normal method Rename the method from
methodNameto$$robo$$methodName. - intercept(String, Object, Object[], Class) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- intercept(String, Object, Object[], Class) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
- intercept(String, Object, Object[], Class<?>) - Method in interface org.robolectric.internal.bytecode.ClassHandler
-
Called by Robolectric when an intercepted method is invoked.
- interceptedMethods - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- interceptInvokeVirtualMethod(MutableClass, ListIterator<AbstractInsnNode>, MethodInsnNode) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
-
Decides to call through the appropriate method to intercept the method with an INVOKEVIRTUAL Opcode, depending if the invokedynamic bytecode instruction is available (Java 7+).
- Interceptor - Class in org.robolectric.internal.bytecode
- Interceptor(MethodRef...) - Constructor for class org.robolectric.internal.bytecode.Interceptor
- Interceptors - Class in org.robolectric.internal.bytecode
- Interceptors(Collection<Interceptor>) - Constructor for class org.robolectric.internal.bytecode.Interceptors
- Interceptors(Interceptor...) - Constructor for class org.robolectric.internal.bytecode.Interceptors
- invalidateClasses(Collection<String>) - Method in class org.robolectric.internal.bytecode.ShadowInvalidator
- InvocationProfile - Class in org.robolectric.internal.bytecode
- InvocationProfile(String, boolean, ClassLoader) - Constructor for class org.robolectric.internal.bytecode.InvocationProfile
- invokeConstructor(Class<? extends R>, R, ReflectionHelpers.ClassParameter...) - Method in class org.robolectric.internal.bytecode.ShadowImpl
- InvokeDynamicClassInstrumentor - Class in org.robolectric.internal.bytecode
-
Deprecated.The invoke-dynamic case has been moved to ClassInstrumentor. Classes previously extending this class should extend
ClassInstrumentordirectly. - InvokeDynamicClassInstrumentor(ClassInstrumentor.Decorator) - Constructor for class org.robolectric.internal.bytecode.InvokeDynamicClassInstrumentor
-
Deprecated.
- InvokeDynamicSupport - Class in org.robolectric.internal.bytecode
- InvokeDynamicSupport() - Constructor for class org.robolectric.internal.bytecode.InvokeDynamicSupport
- invokeMethod(String, MethodNode) - Method in class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
- isAnnotation() - Method in class org.robolectric.internal.bytecode.ClassDetails
- isAnnotation() - Method in class org.robolectric.internal.bytecode.MutableClass
- isDeclaredOnObject() - Method in class org.robolectric.internal.bytecode.InvocationProfile
- isInstrumented() - Method in class org.robolectric.internal.bytecode.ClassDetails
- isInterface() - Method in class org.robolectric.internal.bytecode.ClassDetails
- isInterface() - Method in class org.robolectric.internal.bytecode.MutableClass
- isShadowOf(Class<?>) - Method in class org.robolectric.internal.bytecode.ShadowInfo
- isStatic - Variable in class org.robolectric.internal.bytecode.InvocationProfile
- isStatic() - Method in class org.robolectric.internal.bytecode.MethodCallSite
- isStatic() - Method in class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
J
- JavaVersion - Class in org.robolectric.util
- JavaVersion(String) - Constructor for class org.robolectric.util.JavaVersion
L
- LinkedHashMapEldestInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.LinkedHashMapEldestInterceptor
- loadClass(String, boolean) - Method in class org.robolectric.internal.bytecode.SandboxClassLoader
- loadClass(String, ClassLoader) - Static method in class org.robolectric.internal.bytecode.ShadowWrangler
- loadNull() - Method in class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
- loadThisOrNull() - Method in class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
- LocaleAdjustLanguageCodeInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor
- looseSignatures - Variable in class org.robolectric.internal.bytecode.ShadowInfo
M
- mainThreadFactory() - Method in class org.robolectric.internal.bytecode.Sandbox
- makeMethodPrivate(MethodNode) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
-
Replaces protected and public class modifiers with private.
- makeMethodPublic(MethodNode) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
-
Replaces protected and private method modifiers with public.
- mappedTypeName(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
- MATCH_ALL - Static variable in interface org.robolectric.sandbox.ShadowMatcher
- matches(Method) - Method in interface org.robolectric.sandbox.ShadowMatcher
- matches(ShadowInfo) - Method in interface org.robolectric.sandbox.ShadowMatcher
- maybeInstrumentClass(String) - Method in class org.robolectric.internal.bytecode.SandboxClassLoader
- MethodCallSite - Class in org.robolectric.internal.bytecode
- MethodCallSite(Class<?>, MethodType, String, MethodHandle, MethodCallSite.Kind) - Constructor for class org.robolectric.internal.bytecode.MethodCallSite
- MethodCallSite.Kind - Enum in org.robolectric.internal.bytecode
- methodInvoked(String, boolean, Class<?>) - Method in interface org.robolectric.internal.bytecode.ClassHandler
-
Called by Robolectric when an instrumented method is invoked.
- methodInvoked(String, boolean, Class<?>) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- methodInvoked(String, boolean, Class<?>) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
- methodName - Variable in class org.robolectric.internal.bytecode.InvocationProfile
- methodName - Variable in class org.robolectric.internal.bytecode.MethodRef
- methodName - Variable in class org.robolectric.internal.bytecode.MethodSignature
- MethodRef - Class in org.robolectric.internal.bytecode
-
Reference to a specific method on a class.
- MethodRef(Class<?>, String) - Constructor for class org.robolectric.internal.bytecode.MethodRef
- MethodRef(String, String) - Constructor for class org.robolectric.internal.bytecode.MethodRef
- MethodSignature - Class in org.robolectric.internal.bytecode
- methodsToIntercept() - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
- MutableClass - Class in org.robolectric.internal.bytecode
- MutableClass(ClassNode, InstrumentationConfiguration, ClassNodeProvider) - Constructor for class org.robolectric.internal.bytecode.MutableClass
N
- NETWORK - org.robolectric.fakes.RoboResponseSource
-
Return the response from the network.
- newBuilder() - Static method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
- newBuilder() - Method in class org.robolectric.internal.bytecode.ShadowMap
- newInstance(Class<T>, Class[], Object[]) - Method in class org.robolectric.internal.bytecode.ShadowImpl
- newInstanceOf(Class<T>) - Method in class org.robolectric.internal.bytecode.ShadowImpl
- NoOpInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.NoOpInterceptor
O
- obtainShadowInfo(Class<?>) - Static method in class org.robolectric.internal.bytecode.ShadowMap
- org.robolectric.config - package org.robolectric.config
- org.robolectric.fakes - package org.robolectric.fakes
- org.robolectric.interceptors - package org.robolectric.interceptors
- org.robolectric.internal.bytecode - package org.robolectric.internal.bytecode
- org.robolectric.sandbox - package org.robolectric.sandbox
- org.robolectric.util - package org.robolectric.util
P
- packagesToNotAcquire - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- packagesToNotInstrument - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- paramTypes - Variable in class org.robolectric.internal.bytecode.InvocationProfile
- paramTypes - Variable in class org.robolectric.internal.bytecode.MethodSignature
- parse(String) - Static method in class org.robolectric.internal.bytecode.MethodSignature
- performStaticInitialization(Class<?>) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- pickShadowMethod(Class<?>, String, Class<?>[]) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
- postProcessUninstrumentedClass(ClassDetails) - Method in class org.robolectric.internal.bytecode.SandboxClassLoader
- ProxyMaker - Class in org.robolectric.internal.bytecode
-
Deprecated.This is incompatible with JDK17+. Use a
Reflectorinterface withDirect. - ProxyMaker(ProxyMaker.MethodMapper) - Constructor for class org.robolectric.internal.bytecode.ProxyMaker
-
Deprecated.
- pushDefaultReturnValueToStack(Type) - Method in class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
-
Forces a return of a default value, depending on the method's return type
R
- ReferenceRefersToInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.ReferenceRefersToInterceptor
- register(Object, Runnable) - Static method in class org.robolectric.fakes.CleanerCompat
- REGULAR - org.robolectric.internal.bytecode.MethodCallSite.Kind
- remapParams(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
- remapParamType(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
- removeMethod(String, String) - Method in class org.robolectric.internal.bytecode.MutableClass
- replaceShadowMap(ShadowMap) - Method in class org.robolectric.internal.bytecode.Sandbox
- requiresConnection() - Method in enum org.robolectric.fakes.RoboResponseSource
- ResourceProvider - Interface in org.robolectric.internal.bytecode
-
A provider of resources (à la ClassLoader).
- returnDefaultValue(MethodSignature) - Static method in class org.robolectric.internal.bytecode.Interceptor
- returnType - Variable in class org.robolectric.internal.bytecode.MethodSignature
- ROBO_PREFIX - Static variable in class org.robolectric.internal.bytecode.ShadowConstants
- RoboCallSite - Class in org.robolectric.internal.bytecode
- RoboCallSite(MethodType, Class<?>) - Constructor for class org.robolectric.internal.bytecode.RoboCallSite
- RoboExtendedResponseCache - Interface in org.robolectric.fakes
-
A response cache that supports statistics tracking and updating stored responses.
- RobolectricGeneratorAdapter - Class in org.robolectric.internal.bytecode
-
GeneratorAdapter implementation specific to generate code for Robolectric purposes
- RobolectricGeneratorAdapter(MethodNode) - Constructor for class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
- RobolectricInternals - Class in org.robolectric.internal.bytecode
- RobolectricInternals() - Constructor for class org.robolectric.internal.bytecode.RobolectricInternals
- RoboResponseSource - Enum in org.robolectric.fakes
-
Where the HTTP client should look for a response.
- run(Object, Object[]) - Method in interface org.robolectric.internal.bytecode.ClassHandler.Plan
- runOnMainThread(Runnable) - Method in class org.robolectric.internal.bytecode.Sandbox
- runOnMainThread(Callable<T>) - Method in class org.robolectric.internal.bytecode.Sandbox
S
- Sandbox - Class in org.robolectric.internal.bytecode
- Sandbox(InstrumentationConfiguration, ResourceProvider, ClassInstrumentor) - Constructor for class org.robolectric.internal.bytecode.Sandbox
- Sandbox(SandboxClassLoader) - Constructor for class org.robolectric.internal.bytecode.Sandbox
- SandboxClassLoader - Class in org.robolectric.internal.bytecode
-
Class loader that modifies the bytecode of Android classes to insert calls to Robolectric's shadow classes.
- SandboxClassLoader(ClassLoader, InstrumentationConfiguration, ResourceProvider, ClassInstrumentor) - Constructor for class org.robolectric.internal.bytecode.SandboxClassLoader
- SandboxClassLoader(InstrumentationConfiguration, ResourceProvider, ClassInstrumentor) - Constructor for class org.robolectric.internal.bytecode.SandboxClassLoader
- SandboxConfig - Annotation Type in org.robolectric.internal.bytecode
-
Configuration settings that can be used on a per-class or per-test basis.
- setDoNotInstrumentClassRegex(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- shadowClassName - Variable in class org.robolectric.internal.bytecode.ShadowInfo
- ShadowConstants - Class in org.robolectric.internal.bytecode
- ShadowConstants() - Constructor for class org.robolectric.internal.bytecode.ShadowConstants
- ShadowDecorator - Class in org.robolectric.internal.bytecode
-
Decorator which adds Robolectric's shadowing behavior to a class.
- ShadowDecorator() - Constructor for class org.robolectric.internal.bytecode.ShadowDecorator
- shadowedClassName - Variable in class org.robolectric.internal.bytecode.ShadowInfo
- ShadowedObject - Interface in org.robolectric.internal.bytecode
- ShadowImpl - Class in org.robolectric.internal.bytecode
- ShadowImpl() - Constructor for class org.robolectric.internal.bytecode.ShadowImpl
- ShadowInfo - Class in org.robolectric.internal.bytecode
- ShadowInvalidator - Class in org.robolectric.internal.bytecode
- ShadowInvalidator() - Constructor for class org.robolectric.internal.bytecode.ShadowInvalidator
- ShadowMap - Class in org.robolectric.internal.bytecode
-
Maps from instrumented class to shadow class.
- ShadowMap.Builder - Class in org.robolectric.internal.bytecode
- ShadowMatcher - Interface in org.robolectric.sandbox
-
ShadowMatcher is used by
ShadowWranglerto provide library-specific rules about whether shadow classes and methods should be considered matches. - ShadowProviders - Class in org.robolectric.internal.bytecode
-
The set of
ShadowProviderimplementations found on the classpath. - ShadowProviders(List<ShadowProvider>) - Constructor for class org.robolectric.internal.bytecode.ShadowProviders
- shadows() - Method in annotation type org.robolectric.internal.bytecode.SandboxConfig
-
A list of shadow classes to enable, in addition to those that are already present.
- ShadowWrangler - Class in org.robolectric.internal.bytecode
-
ShadowWrangler matches shadowed classes up with corresponding shadows based on a
ShadowMap. - ShadowWrangler(ShadowMap, ShadowMatcher, Interceptors) - Constructor for class org.robolectric.internal.bytecode.ShadowWrangler
- shouldAcquire(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
-
Determine if
SandboxClassLoadershould load a given class. - shouldAcquireResource(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
-
Determine if
SandboxClassLoadershould load a given resource. - shouldInstrument(ClassDetails) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
-
Determine if
SandboxClassLoadershould instrument a given class. - SocketInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.SocketInterceptor
- STATIC - org.robolectric.internal.bytecode.MethodCallSite.Kind
- STATIC_INITIALIZER_METHOD_NAME - Static variable in class org.robolectric.internal.bytecode.ShadowConstants
- stripStackTrace(T) - Method in interface org.robolectric.internal.bytecode.ClassHandler
-
Removes Robolectric noise from stack traces.
- stripStackTrace(T) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
- supportsSdk(int) - Method in class org.robolectric.internal.bytecode.ShadowInfo
- SystemArrayCopyInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.SystemArrayCopyInterceptor
- SystemLogInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.SystemLogInterceptor
- SystemTimeInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.SystemTimeInterceptor
T
- thisType() - Method in class org.robolectric.internal.bytecode.MethodCallSite
- toString() - Method in class org.robolectric.internal.bytecode.MethodCallSite
- toString() - Method in class org.robolectric.internal.bytecode.MethodRef
- toString() - Method in class org.robolectric.internal.bytecode.MethodSignature
- trackConditionalCacheHit() - Method in interface org.robolectric.fakes.RoboExtendedResponseCache
-
Track an conditional GET that was satisfied by this cache.
- trackResponse(RoboResponseSource) - Method in interface org.robolectric.fakes.RoboExtendedResponseCache
-
Track an HTTP response being satisfied by
source. - tryStart(Type) - Method in class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
U
- update(CacheResponse, HttpURLConnection) - Method in interface org.robolectric.fakes.RoboExtendedResponseCache
-
Updates stored HTTP headers using a hit on a conditional GET.
- UrlResourceProvider - Class in org.robolectric.internal.bytecode
-
ResourceProvider using URLs.
- UrlResourceProvider(URL...) - Constructor for class org.robolectric.internal.bytecode.UrlResourceProvider
V
- valueOf(String) - Static method in enum org.robolectric.fakes.RoboResponseSource
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.internal.bytecode.MethodCallSite.Kind
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.robolectric.fakes.RoboResponseSource
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.internal.bytecode.MethodCallSite.Kind
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withConfig(InstrumentationConfiguration.Builder, Config) - Method in class org.robolectric.config.AndroidConfigurer
- writeCallToInitializing(MutableClass, RobolectricGeneratorAdapter) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
All Classes All Packages