Package com.yworks.yguard.obf
Class MdFd
- java.lang.Object
-
- com.yworks.yguard.obf.TreeItem
-
- com.yworks.yguard.obf.MdFd
-
-
Constructor Summary
Constructors Constructor Description MdFd(TreeItem parent, boolean isSynthetic, java.lang.String name, java.lang.String descriptor, int access, ObfuscationConfig obfuscationConfig)Ctor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescriptor()Return the method or field descriptor String.protected abstract java.lang.StringgetDescriptorName()Return the display name of the descriptor types.ObfuscationConfiggetObfuscationConfig()Gets obfuscation config.protected java.lang.StringgetReturnTypeName()Return the display name of the return type.protected java.lang.String[]parseTypes()Parse types string [ ].java.lang.StringtoString()Return the display name for field.-
Methods inherited from class com.yworks.yguard.obf.TreeItem
getFullInName, getFullOutName, getInName, getModifiers, getObfName, getOutName, getParent, isFixed, isFromScript, isFromScriptMap, isMatch, isNRMatch, isSynthetic, setFromScript, setFromScriptMap, setOutName, setParent
-
-
-
-
Constructor Detail
-
MdFd
public MdFd(TreeItem parent, boolean isSynthetic, java.lang.String name, java.lang.String descriptor, int access, ObfuscationConfig obfuscationConfig)
Ctor.- Parameters:
parent- the parentisSynthetic- the is syntheticname- the namedescriptor- the descriptoraccess- the accessobfuscationConfig- the obfuscation config
-
-
Method Detail
-
getObfuscationConfig
public ObfuscationConfig getObfuscationConfig()
Gets obfuscation config.- Returns:
- the obfuscation config
-
getDescriptor
public java.lang.String getDescriptor()
Return the method or field descriptor String.- Returns:
- the descriptor
-
toString
public java.lang.String toString()
Return the display name for field.- Overrides:
toStringin classjava.lang.Object
-
getReturnTypeName
protected java.lang.String getReturnTypeName()
Return the display name of the return type.- Returns:
- the return type name
-
getDescriptorName
protected abstract java.lang.String getDescriptorName()
Return the display name of the descriptor types.- Returns:
- the descriptor name
-
parseTypes
protected java.lang.String[] parseTypes()
Parse types string [ ].- Returns:
- the string [ ]
-
-