@Override public Tree visitUses(UsesTree tree, Void p) { UsesTree n = make.Uses(tree.getServiceName()); model.setType(n, model.getType(tree)); comments.copyComments(tree, n); model.setPos(n, model.getPos(tree)); return n; }
@Override public Void visitUses(UsesTree tree, EnumSet<UseTypes> d) { tl.moveToOffset(sourcePositions.getStartPosition(info.getCompilationUnit(), tree)); Token t = firstIdentifierToken("uses"); //NOI18N if (t != null) { contextKeywords.add(t); } return super.visitUses(tree, d); }
@Override public Void visitUses(UsesTree tree, List<Node> d) { List<Node> below = new ArrayList<Node>(); addCorrespondingType(below); addCorrespondingComments(below); super.visitUses(tree, below); d.add(new TreeNode(info, getCurrentPath(), below)); return null; }
@Override public List<? extends TypeMirror> visitUses(UsesTree node, Object p) { return null; }
@Override public Mirror visitUses(UsesTree node, EvaluationContext p) { Assert.error(node, "noModules"); return super.visitUses(node, p); }
@Override public Boolean visitUses(UsesTree node, EvaluationContext p) { return Boolean.FALSE; }
public void visitUses(UsesTree node, @SuppressWarnings("unused") TreeVisitor<?, ?> __) { mv.visitUse(qualifiedString(node.getServiceName())); }