booster / com.didiglobal.booster.cha.asm / ReferenceAnalyser

ReferenceAnalyser

class ReferenceAnalyser

Analyser for class reference analysing

Constructors

<init>

Analyser for class reference analysing

ReferenceAnalyser(asm: Int = Opcodes.ASM7)

Functions

analyse

Analyse the references from origin to upstream

fun analyse(origin: Pair<String, AsmClassSet>, vararg upstream: Pair<String, AsmClassSet>, onProgressUpdate: ProgressListener? = null): Graph<Reference>
fun analyse(origin: Pair<String, AsmClassSet>, upstream: Iterable<Pair<String, AsmClassSet>>, onProgressUpdate: ProgressListener? = null): Graph<Reference>
fun analyse(origin: Pair<String, AsmClassSet>, upstream: Map<String, AsmClassSet>, onProgressUpdate: ProgressListener? = null): Graph<Reference>

Analyse the specific klass to find out the referenced classes

fun analyse(klass: ClassNode): Set<Type>