org.eclipse.jdt.internal.compiler.apt.model
Interface IElementInfo

All Known Implementing Classes:
ElementImpl, ErrorTypeElement, ExecutableElementImpl, PackageElementImpl, 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
 String getFileName()
          Get the project-relative path to the source file that contains this element.
 

Method Detail

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.


Copyright © 2012. All Rights Reserved.