booster / com.didiglobal.booster.transform.util / TransformerClassLoader

TransformerClassLoader

class TransformerClassLoader : URLClassLoader

Constructors

<init>

TransformerClassLoader(delegate: ClassLoader, filter: ClassFilter = DEFAULT_CLASS_FILTER, factory: (ClassLoader) -> Transformer)
TransformerClassLoader(delegate: ClassLoader, filter: ClassFilter = DEFAULT_CLASS_FILTER, factory: (ClassLoader, Iterable<Transformer>) -> Transformer, vararg transformer: Transformer)

Functions

findClass

fun findClass(name: String): Class<*>

loadClass

fun loadClass(name: String, resolve: Boolean): Class<*>