Method Summary |
|
abstract public Element | getElement(TreePath path) Gets the Element for the Tree node identified by a given TreePath. |
abstract public TreePath | getPath(CompilationUnitTree unit, Tree node) Gets the path to tree node within the specified compilation unit. |
abstract public TreePath | getPath(Element e) Gets the TreePath node for a given Element. |
abstract public TreePath | getPath(Element e, AnnotationMirror a) Gets the TreePath node for an AnnotationMirror on a given Element. |
abstract public TreePath | getPath(Element e, AnnotationMirror a, AnnotationValue v) Gets the TreePath node for an AnnotationValue for an AnnotationMirror on a given Element. |
abstract public Scope | getScope(TreePath path) Gets the Scope for the Tree node identified by a given TreePath. |
abstract public SourcePositions | getSourcePositions() Gets a utility object for obtaining source positions. |
abstract public Tree | getTree(Element element) Gets the Tree node for a given Element. |
abstract public ClassTree | getTree(TypeElement element) Gets the ClassTree node for a given TypeElement. |
abstract public MethodTree | getTree(ExecutableElement method) Gets the MethodTree node for a given ExecutableElement. |
abstract public Tree | getTree(Element e, AnnotationMirror a) Gets the Tree node for an AnnotationMirror on a given Element. |
abstract public Tree | getTree(Element e, AnnotationMirror a, AnnotationValue v) Gets the Tree node for an AnnotationValue for an AnnotationMirror on a given Element. |
abstract public TypeMirror | getTypeMirror(TreePath path) Gets the TypeMirror for the Tree node identified by a given TreePath. |
public static Trees | instance(CompilationTask task) Gets a Trees object for a given CompilationTask. |
public static Trees | instance(ProcessingEnvironment env) Gets a Trees object for a given CompilationTask. |
abstract public boolean | isAccessible(Scope scope, TypeElement type) Checks whether a given type is accessible in a given scope. |
abstract public boolean | isAccessible(Scope scope, Element member, DeclaredType type) Checks whether the given element is accessible as a member of the given
type in a given scope. |