booster / com.didiglobal.booster.transform / AbstractKlassPool

AbstractKlassPool

abstract class AbstractKlassPool : KlassPool

Represents an abstraction of KlassPool

Author
johnsonlee

Constructors

<init>

Represents an abstraction of KlassPool

AbstractKlassPool(classpath: Collection<File>, parent: KlassPool? = null)

Properties

classLoader

Returns the class loader

open val classLoader: ClassLoader

imports

val imports: MutableMap<String, Collection<String>>

parent

Returns the parent

val parent: KlassPool?

Functions

close

open fun close(): Unit

get

Returns an instance Klass

open operator fun get(type: String): Klass

toString

open fun toString(): String