com.sun.source.doctree.HiddenTree Java Examples

The following examples show how to use com.sun.source.doctree.HiddenTree. 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 HiddenTree rewriteChildren(HiddenTree tree) {
    HiddenTree value = tree;
    List<? extends DocTree> body = translateDoc(tree.getBody());
    if (body != tree.getBody()) {
        value = make.Hidden(body);
    }
    return value;
}
 
Example #2
Source File: VeryPretty.java    From netbeans with Apache License 2.0 5 votes vote down vote up
@Override
public Void visitHidden(HiddenTree node, Void p) {
    printTagName(node);
    if (!node.getBody().isEmpty()) {
        print(" ");
        for (DocTree docTree : node.getBody()) {
            doAccept((DCTree)docTree);
        }
    }
    return null;
}
 
Example #3
Source File: ImmutableDocTreeTranslator.java    From netbeans with Apache License 2.0 4 votes vote down vote up
@Override
public DocTree visitHidden(HiddenTree tree, Object p) {
    return rewriteChildren(tree);
}
 
Example #4
Source File: TreeFactory.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public HiddenTree Hidden(List<? extends DocTree> text) {
    return docMake.at(NOPOS).newHiddenTree(text);
}
 
Example #5
Source File: RefactoringVisitor.java    From netbeans with Apache License 2.0 4 votes vote down vote up
@Override
public DocTree visitHidden(HiddenTree node, Element p) {
    return docScanner.visitHidden(node, p, null);
}
 
Example #6
Source File: RefactoringVisitor.java    From netbeans with Apache License 2.0 4 votes vote down vote up
@Override
public DocTree visitHidden(HiddenTree node, Element p) {
    return instance.visitHidden(node, p);
}
 
Example #7
Source File: RefactoringVisitor.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public DocTree visitHidden(HiddenTree node, Element p, Void ignore) {
    return super.visitHidden(node, p);
}
 
Example #8
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 HiddenTree} object, to represent an {@code {@hidden } } tag.
 * @param text the content of the tag
 * @return a {@code HiddenTree} object
 */
HiddenTree newHiddenTree(List<? extends DocTree> text);
 
Example #9
Source File: DocTreeFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Create a new {@code HiddenTree} object, to represent an {@code {@hidden } } tag.
 * @param text the content of the tag
 * @return a {@code HiddenTree} object
 */
HiddenTree newHiddenTree(List<? extends DocTree> text);