All Superinterfaces:
Immutable
All Known Subinterfaces:
DeclarationInFile, DeclarationInText

@Beta public interface DeclarationReference extends Immutable
Reference to a statement declaration. This interface serves to provide additional information as to where a particular statement comes from. More accurate information may be available through further subclasses of this interface such as DeclarationInText and/or DeclarationInFile.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull String
    Returns human readable representation of this reference.
  • Method Details

    • toHumanReadable

      @NonNull String toHumanReadable()
      Returns human readable representation of this reference. This method does not prescribe any format of the returned string.
      Returns:
      human readable representation of this reference.