com.sun.source.tree.PackageTree Java Examples
The following examples show how to use
com.sun.source.tree.PackageTree.
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: TreeDuplicator.java From netbeans with Apache License 2.0 | 5 votes |
@Override public Tree visitPackage(PackageTree tree, Void p) { PackageTree n = make.Package(tree.getAnnotations(), tree.getPackageName()); model.setElement(n, model.getElement(tree)); comments.copyComments(tree, n); model.setPos(n, model.getPos(tree)); return n; }
Example #2
Source File: TreeNode.java From netbeans with Apache License 2.0 | 5 votes |
@Override public Void visitPackage(PackageTree tree, List<Node> d) { List<Node> below = new ArrayList<Node>(); addCorrespondingType(below); addCorrespondingComments(below); super.visitPackage(tree, below); d.add(new TreeNode(info, getCurrentPath(), below)); return null; }
Example #3
Source File: ExpectedTypeResolver.java From netbeans with Apache License 2.0 | 4 votes |
@Override public List<? extends TypeMirror> visitPackage(PackageTree pt, Object p) { return null; }
Example #4
Source File: DocLint.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
@Override @DefinedBy(Api.COMPILER_TREE) public Void visitPackage(PackageTree tree, Void ignore) { visitDecl(tree, null); return super.visitPackage(tree, ignore); }
Example #5
Source File: TreeDependencyScanner.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
@Override public Void visitPackage(PackageTree node, Set<String> p) { return null; }