booster / com.didiglobal.booster.cha / ClassFileParser

ClassFileParser

interface ClassFileParser<ClassNode>

Functions

getAccessFlags

abstract fun getAccessFlags(classNode: ClassNode): Int

getClassName

abstract fun getClassName(classNode: ClassNode): String

getInterfaces

abstract fun getInterfaces(classNode: ClassNode): Array<String>

getSuperName

abstract fun getSuperName(classNode: ClassNode): String?

isFinal

open fun isFinal(classNode: ClassNode): Boolean

isInterface

open fun isInterface(classNode: ClassNode): Boolean

parse

open fun parse(file: File): ClassNode
abstract fun parse(input: InputStream): ClassNode

Inheritors

ClassHierarchy

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