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 Project: netbeans   Author: apache   File: ImmutableDocTreeTranslator.java    License: 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 Project: netbeans   Author: apache   File: VeryPretty.java    License: 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 Project: netbeans   Author: apache   File: Analyzer.java    License: 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 Project: netbeans   Author: apache   File: ImmutableDocTreeTranslator.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public DocTree visitSerial(SerialTree tree, Object p) {
    return rewriteChildren(tree);
}
 
Example #5
Source Project: netbeans   Author: apache   File: TreeFactory.java    License: 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 Project: netbeans   Author: apache   File: RefactoringVisitor.java    License: 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 Project: netbeans   Author: apache   File: RefactoringVisitor.java    License: 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 Project: netbeans   Author: apache   File: RefactoringVisitor.java    License: 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 Project: lua-for-android   Author: qtiuto   File: DocTreeFactory.java    License: 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 Project: netbeans   Author: apache   File: TreeMaker.java    License: 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 Project: openjdk-jdk9   Author: AdoptOpenJDK   File: DocTreeFactory.java    License: 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);