com.sun.source.doctree.SerialTree Java Examples

The following examples show how to use com.sun.source.doctree.SerialTree. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ImmutableDocTreeTranslator.java    From netbeans with Apache License 2.0 5 votes vote down vote up
protected final SerialTree rewriteChildren(SerialTree tree) {
    SerialTree value = tree;
    List<? extends DocTree> desc = translateDoc(tree.getDescription());
    if (desc != tree.getDescription()) {
        value = make.Serial(desc);
    }
    return value;
}
 
Example #2
Source File: VeryPretty.java    From netbeans with Apache License 2.0 5 votes vote down vote up
@Override
public Void visitSerial(SerialTree node, Void p) {
    printTagName(node);
    if (!node.getDescription().isEmpty()) {
        print(" ");
        for (DocTree docTree : node.getDescription()) {
            doAccept((DCTree)docTree);
        }
    }
    return null;
}
 
Example #3
Source File: Analyzer.java    From netbeans with Apache License 2.0 5 votes vote down vote up
@Override
public Void visitSerial(SerialTree node, List<ErrorDescription> errors) {
    boolean oldInheritDoc = foundInheritDoc;
    super.visitSerial(node, errors);
    foundInheritDoc = oldInheritDoc;
    return null;
}
 
Example #4
Source File: ImmutableDocTreeTranslator.java    From netbeans with Apache License 2.0 4 votes vote down vote up
@Override
public DocTree visitSerial(SerialTree tree, Object p) {
    return rewriteChildren(tree);
}
 
Example #5
Source File: TreeFactory.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public SerialTree Serial(List<? extends DocTree> description) {
    return docMake.at(NOPOS).newSerialTree(description);
}
 
Example #6
Source File: RefactoringVisitor.java    From netbeans with Apache License 2.0 4 votes vote down vote up
/**
 * @since 1.47
 */
@Override
public DocTree visitSerial(SerialTree node, Element p) {
    return docScanner.visitSerial(node, p, null);
}
 
Example #7
Source File: RefactoringVisitor.java    From netbeans with Apache License 2.0 4 votes vote down vote up
@Override
public DocTree visitSerial(SerialTree node, Element p) {
    return instance.visitSerial(node, p);
}
 
Example #8
Source File: RefactoringVisitor.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public DocTree visitSerial(SerialTree node, Element p, Void ignore) {
    return super.visitSerial(node, p);
}
 
Example #9
Source File: DocTreeFactory.java    From lua-for-android with BSD 3-Clause "New" or "Revised" License 2 votes vote down vote up
/**
 * Create a new {@code SerialTree} object, to represent a {@code @serial } tag.
 * @param description the description for the tag
 * @return a {@code SerialTree} object
 */
SerialTree newSerialTree(List<? extends DocTree> description);
 
Example #10
Source File: TreeMaker.java    From netbeans with Apache License 2.0 2 votes vote down vote up
/**Creates the DocTree's SerialTree.
 * 
 * @param description the description of the field
 * @return newly created SerialTree
 * @since 0.124
 */
public SerialTree Serial(List<? extends DocTree> description) {
    return delegate.Serial(description);
}
 
Example #11
Source File: DocTreeFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Create a new {@code SerialTree} object, to represent a {@code @serial } tag.
 * @param description the description for the tag
 * @return a {@code SerialTree} object
 */
SerialTree newSerialTree(List<? extends DocTree> description);