booster / com.didiglobal.booster.cha / ClassSet

ClassSet

interface ClassSet<ClassFile, ClassParser : ClassFileParser<ClassFile>> : Set<ClassFile>, ClassFileParser<ClassFile>, Closeable

Author
johnsonlee

Properties

classpath

abstract val classpath: List<URL>

Functions

contains

abstract operator fun contains(name: String): Boolean

get

abstract operator fun get(name: String): ClassFile?

load

abstract fun load(): ClassSet<ClassFile, ClassParser>

plus

open operator fun plus(classSet: ClassSet<ClassFile, ClassParser>): ClassSet<ClassFile, ClassParser>

Companion Object Functions

from

fun <ClassFile, ClassParser : ClassFileParser<ClassFile>> from(file: File, parser: ClassParser): ClassSet<ClassFile, ClassParser>

of

fun <ClassFile, ClassParser : ClassFileParser<ClassFile>> of(vararg classSets: ClassSet<ClassFile, ClassParser>): ClassSet<ClassFile, ClassParser>
fun <ClassFile, ClassParser : ClassFileParser<ClassFile>> of(classSets: Iterable<ClassSet<ClassFile, ClassParser>>): ClassSet<ClassFile, ClassParser>

Companion Object Extension Functions

from

fun ClassSet.Companion.from(file: File): ClassSet<ClassNode, AsmClassFileParser>

Inheritors

AbstractClassSet

abstract class AbstractClassSet<ClassFile, ClassParser : ClassFileParser<ClassFile>> : ClassSet<ClassFile, ClassParser>