Schnittstelle IElementInfo

Alle bekannten Implementierungsklassen:
ElementImpl, ErrorTypeElement, ExecutableElementImpl, ModuleElementImpl, PackageElementImpl, RecordComponentElementImpl, TypeElementImpl, TypeParameterElementImpl, VariableElementImpl

public interface IElementInfo
Additional information available for Elements that are implemented within the Eclipse APT framework.
Seit:
3.3
Siehe auch:
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Get the project-relative path to the source file that contains this element.
  • Methodendetails

    • getFileName

      String getFileName()
      Get the project-relative path to the source file that contains this element. If the element is a PackageElement, the "source file" is package-info.java. If the element is not recognized or does not exist in the project for some reason, returns null.
      Gibt zurück:
      the project-relative path, or null.