com.sun.source.doctree.SerialDataTree Java Examples

The following examples show how to use com.sun.source.doctree.SerialDataTree. 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 SerialDataTree rewriteChildren(SerialDataTree tree) {
    SerialDataTree value = tree;
    List<? extends DocTree> desc = translateDoc(tree.getDescription());
    if (desc != tree.getDescription()) {
        value = make.SerialData(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 visitSerialData(SerialDataTree 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 visitSerialData(SerialDataTree node, List<ErrorDescription> errors) {
    boolean oldInheritDoc = foundInheritDoc;
    super.visitSerialData(node, errors);
    foundInheritDoc = oldInheritDoc;
    return null;
}
 
Example #4
Source File: RefactoringVisitor.java    From netbeans with Apache License 2.0 4 votes vote down vote up
/**
 * @since 1.47
 */
@Override
public DocTree visitSerialData(SerialDataTree node, Element p) {
    return docScanner.visitSerialData(node, p, null);
}
 
Example #5
Source File: Checker.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Void visitSerialData(SerialDataTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getDescription());
    return super.visitSerialData(tree, ignore);
}
 
Example #6
Source File: Checker.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Void visitSerialData(SerialDataTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getDescription());
    return super.visitSerialData(tree, ignore);
}
 
Example #7
Source File: Checker.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Void visitSerialData(SerialDataTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getDescription());
    return super.visitSerialData(tree, ignore);
}
 
Example #8
Source File: Checker.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override @DefinedBy(Api.COMPILER_TREE)
public Void visitSerialData(SerialDataTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getDescription());
    return super.visitSerialData(tree, ignore);
}
 
Example #9
Source File: Checker.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Void visitSerialData(SerialDataTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getDescription());
    return super.visitSerialData(tree, ignore);
}
 
Example #10
Source File: RefactoringVisitor.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public DocTree visitSerialData(SerialDataTree node, Element p, Void ignore) {
    return super.visitSerialData(node, p);
}
 
Example #11
Source File: RefactoringVisitor.java    From netbeans with Apache License 2.0 4 votes vote down vote up
@Override
public DocTree visitSerialData(SerialDataTree node, Element p) {
    return instance.visitSerialData(node, p);
}
 
Example #12
Source File: Checker.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Void visitSerialData(SerialDataTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getDescription());
    return super.visitSerialData(tree, ignore);
}
 
Example #13
Source File: TreeFactory.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public SerialDataTree SerialData(List<? extends DocTree> description) {
    return docMake.at(NOPOS).newSerialDataTree(description);
}
 
Example #14
Source File: ImmutableDocTreeTranslator.java    From netbeans with Apache License 2.0 4 votes vote down vote up
@Override
public DocTree visitSerialData(SerialDataTree tree, Object p) {
    return rewriteChildren(tree);
}
 
Example #15
Source File: Checker.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Void visitSerialData(SerialDataTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getDescription());
    return super.visitSerialData(tree, ignore);
}
 
Example #16
Source File: Checker.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Void visitSerialData(SerialDataTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getDescription());
    return super.visitSerialData(tree, ignore);
}
 
Example #17
Source File: TreeMaker.java    From netbeans with Apache License 2.0 2 votes vote down vote up
/**Creates the DocTree's SerialDataTree.
 * 
 * @param description the description of the serial data
 * @return newly created SerialDataTree
 * @since 0.124
 */
public SerialDataTree SerialData(List<? extends DocTree> description) {
    return delegate.SerialData(description);
}
 
Example #18
Source File: DocTreeFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Create a new {@code SerialDataTree} object, to represent a {@code @serialData } tag.
 * @param description the description for the tag
 * @return a {@code SerialDataTree} object
 */
SerialDataTree newSerialDataTree(List<? extends DocTree> description);
 
Example #19
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 SerialDataTree} object, to represent a {@code @serialData } tag.
 * @param description the description for the tag
 * @return a {@code SerialDataTree} object
 */
SerialDataTree newSerialDataTree(List<? extends DocTree> description);