Class Md


  • public class Md
    extends MdFd
    Tree item representing a method.
    • 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 parent
        isSynthetic - the is synthetic
        name - the name
        descriptor - the descriptor
        access - the access
        obfuscationConfig - the obfuscation config
    • Method Detail

      • getDescriptorName

        protected java.lang.String getDescriptorName()
        Return the display name of the descriptor types.
        Specified by:
        getDescriptorName in class MdFd
        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 pattern
        descPattern - 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 pattern
        descPattern - the desc pattern
        Returns:
        the boolean