public class DocTreeMaker extends Object
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 | Field and Description |
---|---|
int |
pos
The position at which subsequent trees will be created.
|
protected static Context.Key<DocTreeMaker> |
treeMakerKey
The context key for the tree factory.
|
Modifier | Constructor and Description |
---|---|
protected |
DocTreeMaker(Context context)
Create a tree maker with NOPOS as initial position.
|
protected static final Context.Key<DocTreeMaker> treeMakerKey
public int pos
protected DocTreeMaker(Context context)
public static DocTreeMaker instance(Context context)
public DocTreeMaker at(int pos)
public DocTreeMaker at(JCDiagnostic.DiagnosticPosition pos)
public DCTree.DCAttribute Attribute(Name name, AttributeTree.ValueKind vkind, List<DCTree> value)
public DCTree.DCAuthor Author(List<DCTree> name)
public DCTree.DCLiteral Code(DCTree.DCText text)
public DCTree.DCComment Comment(String text)
public DCTree.DCDeprecated Deprecated(List<DCTree> text)
public DCTree.DCDocComment DocComment(Tokens.Comment comment, List<DCTree> firstSentence, List<DCTree> body, List<DCTree> tags)
public DCTree.DCDocRoot DocRoot()
public DCTree.DCEndElement EndElement(Name name)
public DCTree.DCEntity Entity(Name name)
public DCTree.DCErroneous Erroneous(String text, DiagnosticSource diagSource, String code, Object... args)
public DCTree.DCThrows Exception(DCTree.DCReference name, List<DCTree> description)
public DCTree.DCIdentifier Identifier(Name name)
public DCTree.DCInheritDoc InheritDoc()
public DCTree.DCLink Link(DCTree.DCReference ref, List<DCTree> label)
public DCTree.DCLink LinkPlain(DCTree.DCReference ref, List<DCTree> label)
public DCTree.DCLiteral Literal(DCTree.DCText text)
public DCTree.DCParam Param(boolean isTypeParameter, DCTree.DCIdentifier name, List<DCTree> description)
public DCTree.DCReference Reference(String signature, JCTree qualExpr, Name member, List<JCTree> paramTypes)
public DCTree.DCReturn Return(List<DCTree> description)
public DCTree.DCSee See(List<DCTree> reference)
public DCTree.DCSerial Serial(List<DCTree> description)
public DCTree.DCSerialData SerialData(List<DCTree> description)
public DCTree.DCSerialField SerialField(DCTree.DCIdentifier name, DCTree.DCReference type, List<DCTree> description)
public DCTree.DCSince Since(List<DCTree> text)
public DCTree.DCStartElement StartElement(Name name, List<DCTree> attrs, boolean selfClosing)
public DCTree.DCText Text(String text)
public DCTree.DCThrows Throws(DCTree.DCReference name, List<DCTree> description)
public DCTree.DCUnknownBlockTag UnknownBlockTag(Name name, List<DCTree> content)
public DCTree.DCUnknownInlineTag UnknownInlineTag(Name name, List<DCTree> content)
public DCTree.DCValue Value(DCTree.DCReference ref)
public DCTree.DCVersion Version(List<DCTree> text)
Copyright © 2017 earcam. All rights reserved.