com.sun.source.doctree.AuthorTree Java Examples

The following examples show how to use com.sun.source.doctree.AuthorTree. 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 AuthorTree rewriteChildren(AuthorTree tree) {
    AuthorTree value = tree;
    List<? extends DocTree> name = translateDoc(tree.getName());
    if (name != tree.getName()) {
        value = make.Author(name);
    }
    return value;
}
 
Example #2
Source File: VeryPretty.java    From netbeans with Apache License 2.0 5 votes vote down vote up
@Override
public Void visitAuthor(AuthorTree node, Void p) {
    printTagName(node);
    print(" ");
    for (DocTree docTree : node.getName()) {
        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 visitAuthor(AuthorTree node, List<ErrorDescription> errors) {
    boolean oldInheritDoc = foundInheritDoc;
    super.visitAuthor(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
@Override
public DocTree visitAuthor(AuthorTree node, Element p) {
    return instance.visitAuthor(node, p);
}
 
Example #5
Source File: JavadocConverter.java    From j2objc with Apache License 2.0 4 votes vote down vote up
@Override
public Void visitAuthor(AuthorTree node, TagElement tag) {
  setTagValues(tag, TagElement.TagKind.AUTHOR, node, node.getName());
  return null;
}
 
Example #6
Source File: Checker.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Void visitAuthor(AuthorTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getName());
    return super.visitAuthor(tree, ignore);
}
 
Example #7
Source File: Checker.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Void visitAuthor(AuthorTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getName());
    return super.visitAuthor(tree, ignore);
}
 
Example #8
Source File: Checker.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Void visitAuthor(AuthorTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getName());
    return super.visitAuthor(tree, ignore);
}
 
Example #9
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 visitAuthor(AuthorTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getName());
    return super.visitAuthor(tree, ignore);
}
 
Example #10
Source File: Checker.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Void visitAuthor(AuthorTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getName());
    return super.visitAuthor(tree, ignore);
}
 
Example #11
Source File: RefactoringVisitor.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public DocTree visitAuthor(AuthorTree node, Element p, Void ignore) {
    return super.visitAuthor(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 visitAuthor(AuthorTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getName());
    return super.visitAuthor(tree, ignore);
}
 
Example #13
Source File: RefactoringVisitor.java    From netbeans with Apache License 2.0 4 votes vote down vote up
/**
 * @since 1.47
 */
@Override
public DocTree visitAuthor(AuthorTree node, Element p) {
    return docScanner.visitAuthor(node, p, null);
}
 
Example #14
Source File: TreeFactory.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public AuthorTree Author(List<? extends DocTree> name) {
    return docMake.at(NOPOS).newAuthorTree(name);
}
 
Example #15
Source File: ImmutableDocTreeTranslator.java    From netbeans with Apache License 2.0 4 votes vote down vote up
@Override
public DocTree visitAuthor(AuthorTree tree, Object p) {
    return rewriteChildren(tree);
}
 
Example #16
Source File: Checker.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Void visitAuthor(AuthorTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getName());
    return super.visitAuthor(tree, ignore);
}
 
Example #17
Source File: Checker.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Void visitAuthor(AuthorTree tree, Void ignore) {
    warnIfEmpty(tree, tree.getName());
    return super.visitAuthor(tree, ignore);
}
 
Example #18
Source File: TreeMaker.java    From netbeans with Apache License 2.0 2 votes vote down vote up
/**Creates the DocTree's AuthorTree.
 * 
 * @param name the content of the tree
 * @return newly created AuthorTree
 * @since 0.124
 */
public AuthorTree Author(List<? extends DocTree> name) {
    return delegate.Author(name);
}
 
Example #19
Source File: DocTreeFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Create a new {@code AuthorTree} object, to represent an {@code {@author } } tag.
 * @param name the name of the author
 * @return an {@code AuthorTree} object
 */
AuthorTree newAuthorTree(List<? extends DocTree> name);
 
Example #20
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 AuthorTree} object, to represent an {@code {@author } } tag.
 * @param name the name of the author
 * @return an {@code AuthorTree} object
 */
AuthorTree newAuthorTree(List<? extends DocTree> name);