All Known Implementing Classes:
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.
Since:
3.3
See Also:
Element
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the project-relative path to the source file that contains this element.
  • Method Details

    • 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.
      Returns:
      the project-relative path, or null.