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?

isAbstract

open fun isAbstract(classNode: ClassNode): Boolean

isFinal

open fun isFinal(classNode: ClassNode): Boolean

isInterface

open fun isInterface(classNode: ClassNode): Boolean

isPrivate

open fun isPrivate(classNode: ClassNode): Boolean

isProtected

open fun isProtected(classNode: ClassNode): Boolean

isPublic

open fun isPublic(classNode: ClassNode): Boolean

isStatic

open fun isStatic(classNode: ClassNode): Boolean

isStrict

open fun isStrict(classNode: ClassNode): Boolean

parse

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

Inheritors

AsmClassFileParser

object AsmClassFileParser : ClassFileParser<ClassNode>

ClassHierarchy

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

ClassSet

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