Interface MemberCompletion.Data

All Superinterfaces:
IconFactory.IconData
All Known Implementing Classes:
FieldData, FieldInfoData, MethodData, MethodInfoData
Enclosing interface:
MemberCompletion

public static interface MemberCompletion.Data extends IconFactory.IconData
Metadata about the member. Member completions will be constructed from a concrete instance of this interface. This is because there are two sources that member completions come from - parsing Java source files and parsing compiled class files (in libraries).
Version:
1.0
  • Method Details

    • getEnclosingClassName

      String getEnclosingClassName(boolean fullyQualified)
      Returns the name of the enclosing class.
      Parameters:
      fullyQualified - Whether the name returned should be fully qualified.
      Returns:
      The class name.
    • getSignature

      String getSignature()
      Returns the signature of this member.
      Returns:
      The signature.
      See Also:
    • getSummary

      String getSummary()
      Returns the summary description (should be HTML) for this member.
      Returns:
      The summary description, or null if there is none.
      See Also:
      • Completion.getSummary()
    • getType

      String getType()
      Returns the type of this member (the return type for methods).
      Returns:
      The type of this member.
      See Also:
    • isConstructor

      boolean isConstructor()
      Returns whether this member is a constructor.
      Returns:
      Whether this member is a constructor.