Class MethodData

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Method method  
    • Constructor Summary

      Constructors 
      Constructor Description
      MethodData​(Method method)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getEnclosingClassName​(boolean fullyQualified)
      Returns the name of the enclosing class.
      java.lang.String getIcon()
      Returns the main icon to use when rendering this member's completion.
      java.lang.String getSignature()
      Returns the signature of this member.
      java.lang.String getSummary()
      Returns the summary description (should be HTML) for this member.
      java.lang.String getType()
      Returns the type of this member (the return type for methods).
      boolean isAbstract()
      Returns whether this icon represents an abstract class/method/etc.
      boolean isConstructor()
      Returns whether this member is a constructor.
      boolean isDeprecated()
      Returns whether this icon represents a deprecated class/method/etc.
      boolean isFinal()
      Returns whether this icon represents a final class/method/etc.
      boolean isStatic()
      Returns whether this icon represents a static class/method/etc.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • method

        private Method method
    • Constructor Detail

      • MethodData

        MethodData​(Method method)
    • Method Detail

      • getEnclosingClassName

        public java.lang.String getEnclosingClassName​(boolean fullyQualified)
        Description copied from interface: MemberCompletion.Data
        Returns the name of the enclosing class.
        Specified by:
        getEnclosingClassName in interface MemberCompletion.Data
        Parameters:
        fullyQualified - Whether the name returned should be fully qualified.
        Returns:
        The class name.
      • getIcon

        public java.lang.String getIcon()
        Description copied from interface: IconFactory.IconData
        Returns the main icon to use when rendering this member's completion. This icon will be decorated appropriately based on whether it is abstract, deprecated, final, static, or any of the above.
        Specified by:
        getIcon in interface IconFactory.IconData
        Returns:
        The icon to use.
      • getSummary

        public java.lang.String getSummary()
        Description copied from interface: MemberCompletion.Data
        Returns the summary description (should be HTML) for this member.
        Specified by:
        getSummary in interface MemberCompletion.Data
        Returns:
        The summary description, or null if there is none.
        See Also:
        Completion.getSummary()
      • isAbstract

        public boolean isAbstract()
        Description copied from interface: IconFactory.IconData
        Returns whether this icon represents an abstract class/method/etc.
        Specified by:
        isAbstract in interface IconFactory.IconData
        Returns:
        Whether it represents something abstract.
      • isDeprecated

        public boolean isDeprecated()
        Description copied from interface: IconFactory.IconData
        Returns whether this icon represents a deprecated class/method/etc.
        Specified by:
        isDeprecated in interface IconFactory.IconData
        Returns:
        Whether it represents something deprecated.
      • isFinal

        public boolean isFinal()
        Description copied from interface: IconFactory.IconData
        Returns whether this icon represents a final class/method/etc.
        Specified by:
        isFinal in interface IconFactory.IconData
        Returns:
        Whether it represents something final.
      • isStatic

        public boolean isStatic()
        Description copied from interface: IconFactory.IconData
        Returns whether this icon represents a static class/method/etc.
        Specified by:
        isStatic in interface IconFactory.IconData
        Returns:
        Whether it represents something static.