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
Adapter from Sdk to ResourceLoader.
-
Constructor Summary
ConstructorDescriptionSdkSandboxClassLoader
(InstrumentationConfiguration config, Sdk runtimeSdk, ClassInstrumentor classInstrumentor) -
Method Summary
Methods inherited from class org.robolectric.internal.bytecode.SandboxClassLoader
close, getByteCode, getResource, loadClass, maybeInstrumentClass
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
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)
-