booster / com.didiglobal.booster.cha / ClassHierarchy

ClassHierarchy

class ClassHierarchy<ClassFile, ClassParser : ClassFileParser<ClassFile>> : ClassFileParser<ClassFile>

Author
johnsonlee

Constructors

<init>

ClassHierarchy(classSet: ClassSet<ClassFile, ClassParser>)

Properties

classes

val classes: Iterable<ClassFile>

unresolvedClasses

val unresolvedClasses: Set<String>

Functions

get

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

getSuperClasses

fun getSuperClasses(clazz: ClassFile): Set<ClassFile>

isInheritFrom

fun isInheritFrom(child: ClassFile, parent: ClassFile): Boolean
fun isInheritFrom(child: String, parent: String): Boolean
fun isInheritFrom(child: String, parent: ClassFile): Boolean
fun isInheritFrom(child: ClassFile, parent: String): Boolean

isInheritFromClass

fun isInheritFromClass(child: ClassFile, parent: ClassFile): Boolean

isInheritFromInterface

fun isInheritFromInterface(child: ClassFile, parent: ClassFile): Boolean