Package com.yworks.yguard.obf
Class Md
- java.lang.Object
-
- com.yworks.yguard.obf.TreeItem
-
- com.yworks.yguard.obf.MdFd
-
- com.yworks.yguard.obf.Md
-
public class Md extends MdFd
Tree item representing a method.
-
-
Constructor Summary
Constructors Constructor Description Md(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, java.lang.String descPattern)Are this method's name/descriptor a non-recursive match to the wildcard patterns?booleanisWildcardMatch(java.lang.String namePattern, java.lang.String descPattern)Are this method's name/descriptor a match to the wildcard patterns?-
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
-
Md
public Md(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, java.lang.String descPattern)Are this method's name/descriptor a match to the wildcard patterns?- Parameters:
namePattern- the name patterndescPattern- the desc pattern- Returns:
- the boolean
-
isNRWildcardMatch
public boolean isNRWildcardMatch(java.lang.String namePattern, java.lang.String descPattern)Are this method's name/descriptor a non-recursive match to the wildcard patterns?- Parameters:
namePattern- the name patterndescPattern- the desc pattern- Returns:
- the boolean
-
-