public class RobolectricInternals
extends java.lang.Object
Constructor and Description |
---|
RobolectricInternals() |
Modifier and Type | Method and Description |
---|---|
static void |
classInitializing(java.lang.Class clazz) |
static java.lang.Throwable |
cleanStackTrace(java.lang.Throwable exception) |
static java.lang.invoke.MethodHandle |
findShadowMethodHandle(java.lang.Class<?> theClass,
java.lang.String name,
java.lang.invoke.MethodType methodType,
boolean isStatic) |
static java.lang.ClassLoader |
getClassLoader() |
static java.lang.invoke.MethodHandle |
getShadowCreator(java.lang.Class<?> caller) |
static ShadowInvalidator |
getShadowInvalidator() |
static java.lang.Object |
initializing(java.lang.Object instance) |
static java.lang.Object |
intercept(java.lang.String signature,
java.lang.Object instance,
java.lang.Object[] params,
java.lang.Class theClass) |
static ClassHandler.Plan |
methodInvoked(java.lang.String signature,
boolean isStatic,
java.lang.Class<?> theClass) |
static void |
performStaticInitialization(java.lang.Class<?> clazz) |
public static void classInitializing(java.lang.Class clazz) throws java.lang.Exception
java.lang.Exception
public static java.lang.Object initializing(java.lang.Object instance) throws java.lang.Exception
java.lang.Exception
public static ClassHandler.Plan methodInvoked(java.lang.String signature, boolean isStatic, java.lang.Class<?> theClass)
public static java.lang.invoke.MethodHandle getShadowCreator(java.lang.Class<?> caller)
public static java.lang.invoke.MethodHandle findShadowMethodHandle(java.lang.Class<?> theClass, java.lang.String name, java.lang.invoke.MethodType methodType, boolean isStatic) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
public static java.lang.Throwable cleanStackTrace(java.lang.Throwable exception)
public static java.lang.Object intercept(java.lang.String signature, java.lang.Object instance, java.lang.Object[] params, java.lang.Class theClass) throws java.lang.Throwable
java.lang.Throwable
public static void performStaticInitialization(java.lang.Class<?> clazz)
public static ShadowInvalidator getShadowInvalidator()
public static java.lang.ClassLoader getClassLoader()