This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| protected static class | JavacTrees.
Makes a copy of a tree, noting the value resulting from copying a particular leaf. |
| public static interface | JavacTrees.
An interface for transforming a |
| private static class | |
| public static class | JavacTrees.
A class that provides the identity transform on instances of |
| Modifier and Type | Field and Description |
|---|---|
| private final Attr | |
| private BreakIterator | |
| private final Check | |
| private JavacTrees. | |
| private final DocTreeMaker | |
| private final JavacElements | |
| private final Enter | |
| private final Map | |
| private final JavaFileManager | |
| private final JavacTaskImpl | |
| private final Log | |
| private final MemberEnter | |
| private final Modules | |
| private final Names | |
| private final ParserFactory | |
| private final Resolve | |
| private final Symtab | |
| private final TreeMaker | |
| private final Types |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static JavaFileObject | |
| private Env | attribExprToTree(JCTree.
|
| private Env | attribStatToTree(JCTree stat, Env<AttrContext> env, JCTree tree, Map<JCTree.
|
| private Symbol | |
| private Symbol | |
| protected JavacTrees. | |
| pack-priv Symbol. | |
| private Symbol. | |
| private Symbol. | findMethod(Symbol.
|
| private void | fixLocalClassNames(Map<JCTree.
|
| private Env | |
| public BreakIterator | getBreakIterator()
Implements abstract com. Returns the break iterator used to compute the first sentence of documentation comments. |
| public String | getCharacters(EntityTree tree)
Implements abstract com. Returns a string containing the characters for the entity in a given entity tree,
or |
| public String | getDocComment(TreePath path)
Implements abstract com. Returns the doc comment, if any, for the |
| public Elements. | getDocCommentKind(TreePath path)
Implements abstract com. Returns the style of the documentation comment associated with a tree node. |
| public DocCommentTree | getDocCommentTree(TreePath path)
Implements abstract com. Returns the doc comment tree, if any, for the Tree node identified by a given TreePath. |
| public DocCommentTree | getDocCommentTree(Element e)
Implements abstract com. Returns the doc comment tree of the given element. |
| public DocCommentTree | getDocCommentTree(Element e, String relativeFileName)
Implements abstract com. Returns the doc comment tree of the given file, which must be of one of the supported file types, and whose path is specified relative to the given element. |
| public DocCommentTree | getDocCommentTree(FileObject fileObject)
Implements abstract com. Returns the doc comment tree of the given file, which must be of one of the supported file types. |
| public DocCommentTree | Returns: the doc comment tree for a given commentthe source containing the comment, used when displaying any diagnostics diagSource, Tokens.the comment cReturns the doc comment tree for a given comment. |
| public JavacTrees. | |
| public DocTreeMaker | getDocTreeFactory()
Implements abstract com. Returns a utility object for creating |
| public DocTreePath | getDocTreePath(FileObject fileObject, PackageElement packageElement)
Implements abstract com. Returns a doc tree path containing the doc comment tree of the given file, which must be of one of the supported file types. |
| public Symbol | getElement(TreePath path)
Implements abstract com. Returns the |
| public Element | getElement(DocTreePath path)
Implements abstract com. Returns the language model element referred to by the leaf node of the given
|
| public List | getFirstSentence(List<? extends DocTree> list)
Implements abstract com. Returns the list of |
| public TypeMirror | getLub(CatchTree tree)
Implements abstract com. Returns the lub of an exception parameter declared in a catch clause. |
| public TypeMirror | Returns: TypeMirror corresponding to the original type, replaced by the ErrorType. noType (type.tag == NONE) is returned if there is no original type.The errorType for which we want to get the original type. errorType)Implements abstract com. Returns the original type from the ErrorType object. |
| public ParserFactory | Returns: the ParserFactory parser factoryReturns the ParserFactory parser factory. |
| public TreePath | getPath(CompilationUnitTree unit, Tree node)
Implements abstract com. Returns the path to tree node within the specified compilation unit. |
| public TreePath | getPath(Element e)
Implements abstract com. Returns the |
| public TreePath | getPath(Element e, AnnotationMirror a)
Implements abstract com. Returns the |
| public TreePath | getPath(Element e, AnnotationMirror a, AnnotationValue v)
Implements abstract com. Returns the |
| public JavacScope | getScope(TreePath path)
Implements abstract com. Returns the |
| public DocSourcePositions | getSourcePositions()
Implements abstract com. Returns a utility object for accessing the source positions of documentation tree nodes. |
| public JCTree. | getTree(TypeElement element)
Implements abstract com. Returns the |
| public JCTree. | getTree(ExecutableElement method)
Implements abstract com. Returns the |
| public JCTree | getTree(Element element)
Implements abstract com. Returns the |
| public JCTree | getTree(Element e, AnnotationMirror a)
Implements abstract com. Returns the |
| public JCTree | getTree(Element e, AnnotationMirror a, AnnotationValue v)
Implements abstract com. Returns the |
| public TypeMirror | getType(DocTreePath path)
Implements abstract com. Returns the language model type referred to by the leaf node of the given
|
| public TypeMirror | getTypeMirror(TreePath path)
Implements abstract com. Returns the |
| private boolean | |
| public void | initDocCommentTreeTransformer()
Initialize |
| public static JavacTrees | instance(JavaCompiler.
Hides com. Returns a DocTrees object for a given CompilationTask. |
| public static JavacTrees | instance(ProcessingEnvironment env)
Hides com. Returns a DocTrees object for a given ProcessingEnvironment. |
| public static JavacTrees | |
| public boolean | isAccessible(Scope scope, TypeElement type)
Implements abstract com. Checks whether a given type is accessible in a given scope. |
| public boolean | isAccessible(Scope scope, Element member, DeclaredType type)
Implements abstract com. Checks whether the given element is accessible as a member of the given type in a given scope. |
| private static boolean | |
| private static boolean | |
| private TreePath | |
| private Map | |
| public void | printMessage(Diagnostic.
the kind of message kind,the message, or an empty string if none msg, Tree the tree to use as a position hint t, CompilationUnitTree the compilation unit that contains tree root)Implements abstract com. Prints a message of the specified kind at the location of the tree within the provided compilation unit |
| public void | printMessage(Diagnostic.
Implements abstract com. Prints a message of the specified kind at the location of the tree within the provided compilation unit. |
| public void | |
| private void | printMessage(Diagnostic.
|
| private Symbol | |
| private Symbol. | searchField(Symbol.
|
| private Symbol. | searchMethod(Symbol.
|
| public void | setBreakIterator(BreakIterator breakiterator)
Implements abstract com. Sets the break iterator to compute the first sentence of documentation comments. |
| public void | |
| private DocCommentTree | Returns: the transformed treethe tree tree)Transforms the given tree using the current transformer, after ensuring it has been initialized. |