Package jadx.core.deobf
Class DeobfAliasProvider
java.lang.Object
jadx.core.deobf.DeobfAliasProvider
- All Implemented Interfaces:
IAliasProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionforMethod(MethodNode mth) forPackage(PackageNode pkg) private static StringgetBaseName(ClassNode cls) Process current class and all super classes to get meaningful parent nameprivate static StringgetClsName(String name) voidvoidinitIndexes(int pkg, int cls, int fld, int mth) Optional method to set initial max indexes loaded from mappingprivate StringmakeClsPrefix(ClassNode cls) Generate a prefix for a class name that bases on certain class properties, certain extended superclasses or implemented interfaces.private StringprepareNamePart(String name)
-
Field Details
-
pkgIndex
private int pkgIndex -
clsIndex
private int clsIndex -
fldIndex
private int fldIndex -
mthIndex
private int mthIndex -
maxLength
private int maxLength
-
-
Constructor Details
-
DeobfAliasProvider
public DeobfAliasProvider()
-
-
Method Details
-
init
- Specified by:
initin interfaceIAliasProvider
-
initIndexes
public void initIndexes(int pkg, int cls, int fld, int mth) Description copied from interface:IAliasProviderOptional method to set initial max indexes loaded from mapping- Specified by:
initIndexesin interfaceIAliasProvider
-
forPackage
- Specified by:
forPackagein interfaceIAliasProvider
-
forClass
- Specified by:
forClassin interfaceIAliasProvider
-
forField
- Specified by:
forFieldin interfaceIAliasProvider
-
forMethod
- Specified by:
forMethodin interfaceIAliasProvider
-
prepareNamePart
-
makeClsPrefix
Generate a prefix for a class name that bases on certain class properties, certain extended superclasses or implemented interfaces. -
getBaseName
Process current class and all super classes to get meaningful parent name -
getClsName
-