Skip navigation links
C D E F G I L N O P R S V 

C

callConstructor(Class<? extends R>, ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively call the constructor of an object.
callInstanceMethod(Object, String, ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively call an instance method on an object.
callInstanceMethod(Class<?>, Object, String, ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively call an instance method on an object on a specific class.
callStaticMethod(Class<?>, String, ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively call a static method on a class.
className - Variable in class org.robolectric.util.ReflectionHelpers.StringParameter
 
ClassParameter(Class<? extends V>, V) - Constructor for class org.robolectric.util.ReflectionHelpers.ClassParameter
 
clazz - Variable in class org.robolectric.util.ReflectionHelpers.ClassParameter
 
createDeepProxy(Class<T>) - Static method in class org.robolectric.util.ReflectionHelpers
Create a proxy for the given class which returns other deep proxies from all it’s methods.
createDelegatingProxy(Class<T>, Object) - Static method in class org.robolectric.util.ReflectionHelpers
 
createNullProxy(Class<T>) - Static method in class org.robolectric.util.ReflectionHelpers
 

D

defaultsFor(Class<A>) - Static method in class org.robolectric.util.ReflectionHelpers
 
defaultValueForType(String) - Static method in class org.robolectric.util.ReflectionHelpers
 
directlyOn(T, Class<T>) - Method in interface org.robolectric.internal.IShadow
 
directlyOn(Object, String, String, ReflectionHelpers.ClassParameter...) - Method in interface org.robolectric.internal.IShadow
 
directlyOn(T, Class<T>, String, ReflectionHelpers.ClassParameter...) - Method in interface org.robolectric.internal.IShadow
 
directlyOn(Class<T>, String, ReflectionHelpers.ClassParameter...) - Method in interface org.robolectric.internal.IShadow
 
directlyOn(T, Class<T>) - Static method in class org.robolectric.shadow.api.Shadow
 
directlyOn(Object, String, String, ReflectionHelpers.ClassParameter...) - Static method in class org.robolectric.shadow.api.Shadow
 
directlyOn(T, Class<T>, String, ReflectionHelpers.ClassParameter...) - Static method in class org.robolectric.shadow.api.Shadow
 
directlyOn(Class<T>, String, ReflectionHelpers.ClassParameter...) - Static method in class org.robolectric.shadow.api.Shadow
 
directMethodName(String, String) - Method in interface org.robolectric.internal.IShadow
 
directMethodName(String, String) - Static method in class org.robolectric.shadow.api.Shadow
 
DoNotInstrument - Annotation Type in org.robolectric.annotation.internal
Indicates that a class should not be stripped/instrumented under any circumstances.

E

extract(Object) - Method in interface org.robolectric.internal.IShadow
 
extract(Object) - Static method in class org.robolectric.shadow.api.Shadow
Retrieve corresponding Shadow of the object.

F

from(Class<? extends V>, V) - Static method in class org.robolectric.util.ReflectionHelpers.ClassParameter
 
from(String, V) - Static method in class org.robolectric.util.ReflectionHelpers.StringParameter
 
fromComponentLists(Class<?>[], Object[]) - Static method in class org.robolectric.util.ReflectionHelpers.ClassParameter
 

G

getClasses(ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers.ClassParameter
 
getField(Object, String) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively get the value of a field.
getProvidedPackageNames() - Method in interface org.robolectric.internal.ShadowProvider
Array of Java package names that are shadowed by this package.
getShadowMap() - Method in interface org.robolectric.internal.ShadowProvider
Return the mapping of class name to shadow name.
getShadowPickerMap() - Method in interface org.robolectric.internal.ShadowProvider
Map of framework classes which may be represented by more than one shadow, to be picked at runtime.
getStaticField(Field) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively get the value of a static field.
getStaticField(Class<?>, String) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively get the value of a static field.
getValues(ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers.ClassParameter
 

I

Instrument - Annotation Type in org.robolectric.annotation.internal
Indicates that a class should always be instrumented regardless of its package.
invokeConstructor(Class<? extends R>, R, ReflectionHelpers.ClassParameter...) - Method in interface org.robolectric.internal.IShadow
 
invokeConstructor(Class<? extends R>, R, ReflectionHelpers.ClassParameter...) - Static method in class org.robolectric.shadow.api.Shadow
 
IShadow - Interface in org.robolectric.internal
 

L

loadClass(ClassLoader, String) - Static method in class org.robolectric.util.ReflectionHelpers
Load a class.

N

newInstance(Class<T>, Class[], Object[]) - Method in interface org.robolectric.internal.IShadow
 
newInstance(Class<T>, Class[], Object[]) - Static method in class org.robolectric.shadow.api.Shadow
 
newInstance(Class<T>) - Static method in class org.robolectric.util.ReflectionHelpers
Create a new instance of a class
newInstanceOf(Class<T>) - Method in interface org.robolectric.internal.IShadow
 
newInstanceOf(Class<T>) - Static method in class org.robolectric.shadow.api.Shadow
 
newInstanceOf(String) - Static method in class org.robolectric.shadow.api.Shadow
 

O

org.robolectric.annotation.internal - package org.robolectric.annotation.internal
 
org.robolectric.internal - package org.robolectric.internal
 
org.robolectric.shadow.api - package org.robolectric.shadow.api
 
org.robolectric.util - package org.robolectric.util
 

P

pickShadowClass() - Method in interface org.robolectric.shadow.api.ShadowPicker
 
PRIMITIVE_RETURN_VALUES - Static variable in class org.robolectric.util.ReflectionHelpers
 

R

ReflectionHelpers - Class in org.robolectric.util
Collection of helper methods for calling methods and accessing fields reflectively.
ReflectionHelpers() - Constructor for class org.robolectric.util.ReflectionHelpers
 
ReflectionHelpers.ClassParameter<V> - Class in org.robolectric.util
Typed parameter used with reflective method calls.
ReflectionHelpers.StringParameter<V> - Class in org.robolectric.util
String parameter used with reflective method calls.
reset() - Method in interface org.robolectric.internal.ShadowProvider
Reset the static state of all shadows provided by this package.

S

setField(Object, String, Object) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively set the value of a field.
setField(Class<?>, Object, String, Object) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively set the value of a field.
setStaticField(Field, Object) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively set the value of a static field.
setStaticField(Class<?>, String, Object) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively set the value of a static field.
Shadow - Class in org.robolectric.shadow.api
 
Shadow() - Constructor for class org.robolectric.shadow.api.Shadow
 
ShadowPicker<T> - Interface in org.robolectric.shadow.api
 
ShadowProvider - Interface in org.robolectric.internal
Interface implemented by packages that provide shadows to Robolectric.
StringParameter(String, V) - Constructor for class org.robolectric.util.ReflectionHelpers.StringParameter
 

V

val - Variable in class org.robolectric.util.ReflectionHelpers.ClassParameter
 
val - Variable in class org.robolectric.util.ReflectionHelpers.StringParameter
 
C D E F G I L N O P R S V 
Skip navigation links