Class MdFd

  • Direct Known Subclasses:
    Fd, Md

    public abstract class MdFd
    extends TreeItem
    Base to method and field tree items.
    • 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 parent
        isSynthetic - the is synthetic
        name - the name
        descriptor - the descriptor
        access - the access
        obfuscationConfig - 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:
        toString in class java.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 [ ]