public void scan(TreePath p) { DocCommentTree dc = env.trees.getDocCommentTree(p); checker.scan(dc, p); }
public void scan(TreePath p) { DocCommentTree dc = env.trees.getDocCommentTree(p); checker.scan(dc, p); }
@Override void visitDecl(Tree tree, Name name) { TreePath p = getCurrentPath(); DocCommentTree dc = env.trees.getDocCommentTree(p); checker.scan(dc, p); } };
@Override void visitDecl(Tree tree, Name name) { TreePath p = getCurrentPath(); DocCommentTree dc = env.trees.getDocCommentTree(p); checker.scan(dc, p); } };
@Override void visitDecl(Tree tree, Name name) { TreePath p = getCurrentPath(); DocCommentTree dc = env.trees.getDocCommentTree(p); checker.scan(dc, p); } };
public DocTreePath resolve(CompilationInfo javac) throws IllegalArgumentException { TreePath p = parent.resolve(javac); if (p == null) { return null; } DocCommentTree docCommentTree = javac.getDocTrees().getDocCommentTree(p); return getChild(docCommentTree, index); }
@Override void visitDecl(Tree tree, Name name) { TreePath p = getCurrentPath(); DocCommentTree dc = env.trees.getDocCommentTree(p); checker.scan(dc, p); } };
public DocTreePath resolve(CompilationInfo javac) throws IllegalArgumentException { TreePath p = parent.resolve(javac); if (p == null) { return null; } DocCommentTree docCommentTree = javac.getDocTrees().getDocCommentTree(p); return new DocTreePath(p, docCommentTree); }
DocCommentTree docComment = trees.getDocCommentTree(tp);
private void appendComment( Tree node, StringBuilder out ) { if( _docTrees == null ) { return; } TreePath path = _docTrees.getPath( _compilationUnit, node ); if( path != null ) { DocCommentTree docTree = _docTrees.getDocCommentTree( path ); String docComment = _docTrees.getDocComment( path ); if( docComment != null ) { out.append( "/**\n" ); for( String line : docComment.split( "\\r?\\n" ) ) { appendIndent( out ); out.append( " *" ); out.append( line ); out.append( "\n" ); } appendIndent( out ); out.append( " */\n" ); appendIndent( out ); } } }
newDoc = (DocCommentTree) translate(((DocTrees)getTrees()).getDocCommentTree(new TreePath(path, tree)));
final DocCommentTree docComment = javac.getDocTrees().getDocCommentTree(forElement);
DocCommentTree docTree = docTrees.getDocCommentTree(pkgPath); DocTreeVisitor<Void, Void> visitor = new DocTreeScanner<Void, Void>() {
DocCommentTree doc = javac.getDocTrees().getDocCommentTree(treePath); if (doc == null) {
private void resolveElement() { final DocTrees trees = javac.getDocTrees(); DocCommentTree dcComment = trees.getDocCommentTree(getCurrentPath());
final DocCommentTree docComment = javac.getDocTrees().getDocCommentTree(tp);
final DocCommentTree docComment = javac.getDocTrees().getDocCommentTree(tp);