Package com.yworks.yguard.obf
Class Fd
- java.lang.Object
-
- com.yworks.yguard.obf.TreeItem
-
- com.yworks.yguard.obf.MdFd
-
- com.yworks.yguard.obf.Fd
-
public class Fd extends MdFd
Tree item representing a field.
-
-
Constructor Summary
Constructors Constructor Description Fd(TreeItem parent, boolean isSynthetic, java.lang.String name, java.lang.String descriptor, int access, ObfuscationConfig obfuscationConfig)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetDescriptorName()Return the display name of the descriptor types.booleanisNRWildcardMatch(java.lang.String namePattern)Is this field's name a non-recursive match to the wildcard pattern?booleanisWildcardMatch(java.lang.String namePattern)Is this field's name a match to the wildcard pattern?-
Methods inherited from class com.yworks.yguard.obf.MdFd
getDescriptor, getObfuscationConfig, getReturnTypeName, parseTypes, toString
-
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
-
Fd
public Fd(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
-
getDescriptorName
protected java.lang.String getDescriptorName()
Return the display name of the descriptor types.- Specified by:
getDescriptorNamein classMdFd- Returns:
- the descriptor name
-
isWildcardMatch
public boolean isWildcardMatch(java.lang.String namePattern)
Is this field's name a match to the wildcard pattern?- Parameters:
namePattern- the name pattern- Returns:
- the boolean
-
isNRWildcardMatch
public boolean isNRWildcardMatch(java.lang.String namePattern)
Is this field's name a non-recursive match to the wildcard pattern?- Parameters:
namePattern- the name pattern- Returns:
- the boolean
-
-