Package jadx.core.dex.visitors.usage
Class UsageInfo
java.lang.Object
jadx.core.dex.visitors.usage.UsageInfo
- All Implemented Interfaces:
IUsageInfoData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final UseSet<ClassNode, MethodNode> private final UseSet<FieldNode, MethodNode> private final UseSet<MethodNode, MethodNode> private final UseSet<MethodNode, MethodNode> private final RootNodeprivate final Map<MethodNode, Boolean> private final UseSet<MethodNode, MethodInfo> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply()voidapplyForClass(ClassNode cls) voidvoidvoidvoidclsUse(MethodNode mth, ArgType useType) voidclsUse(MethodNode mth, ClassNode useCls) voidvoidfieldUse(MethodNode mth, FieldNode useFld) voidmethodUse(MethodNode mth, MethodNode useMth) Add method usage:useMthoccurrence found inmthcodeprivate voidprocessType(ArgType type, Consumer<ClassNode> consumer) Visit all class nodes found in subtypes of the provided type.private List<MethodNode> resolveMthList(List<MethodNode> mthNodeList) private static <T extends Comparable<T>>
List<T> sortedList(Set<T> nodes) voidunresolvedMethodUse(MethodNode mth, MethodInfo useMth) Add method usage:useMthoccurrence found inmthcodevoidvisitUsageData(IUsageInfoVisitor visitor)
-
Field Details
-
root
-
clsDeps
-
clsUsage
-
clsUseInMth
-
fieldUsage
-
mthUsage
-
mthUses
-
unresolvedMthUsage
-
selfCalls
-
-
Constructor Details
-
UsageInfo
-
-
Method Details
-
apply
public void apply()- Specified by:
applyin interfaceIUsageInfoData
-
applyForClass
- Specified by:
applyForClassin interfaceIUsageInfoData
-
visitUsageData
- Specified by:
visitUsageDatain interfaceIUsageInfoData
-
clsUse
-
clsUse
-
clsUse
-
clsUse
-
clsUse
-
methodUse
Add method usage:useMthoccurrence found inmthcode -
unresolvedMethodUse
Add method usage:useMthoccurrence found inmthcode -
fieldUse
-
fieldUse
-
processType
Visit all class nodes found in subtypes of the provided type. -
sortedList
-
resolveMthList
-