Package org.robolectric.internal
Class AndroidSandbox.SdkSandboxClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.robolectric.internal.bytecode.SandboxClassLoader
org.robolectric.internal.AndroidSandbox.SdkSandboxClassLoader
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- AndroidSandbox
public static class AndroidSandbox.SdkSandboxClassLoader extends SandboxClassLoader
Adapter from Sdk to ResourceLoader.
-
Constructor Summary
Constructors Constructor Description SdkSandboxClassLoader(InstrumentationConfiguration config, Sdk runtimeSdk, ClassInstrumentor classInstrumentor)
-
Method Summary
Methods inherited from class org.robolectric.internal.bytecode.SandboxClassLoader
getByteCode, getResource, loadClass, maybeInstrumentClass, postProcessUninstrumentedClass
Methods inherited from class java.net.URLClassLoader
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
SdkSandboxClassLoader
public SdkSandboxClassLoader(InstrumentationConfiguration config, @Named("runtimeSdk") Sdk runtimeSdk, ClassInstrumentor classInstrumentor)
-