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

analyse

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

Analyse the references from origin to upstream

Parameters

origin - The origin classSet with component identifier

upstream - The upstream classSets with component identifiers

Return
the reference graph

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

Analyse the specific klass to find out the referenced classes