@Override public Node visit(EmptyTypeDeclaration _n, Object _arg) { JavadocComment javaDoc = cloneNodes(_n.getJavaDoc(), _arg); Comment comment = cloneNodes(_n.getComment(), _arg); EmptyTypeDeclaration r = new EmptyTypeDeclaration( _n.getBeginLine(), _n.getBeginColumn(), _n.getEndLine(), _n.getEndColumn() ); r.setComment(comment); return r; }
@Override public Node visit(final EmptyTypeDeclaration n, final A arg) { if (n.getJavaDoc() != null) { n.setJavaDoc((JavadocComment) n.getJavaDoc().accept(this, arg)); } return n; }
@Override public void visit(final EmptyTypeDeclaration n, final A arg) { visitComment(n.getComment(), arg); if (n.getJavaDoc() != null) { n.getJavaDoc().accept(this, arg); } }
case SEMICOLON: jj_consume_token(SEMICOLON); ret = new EmptyTypeDeclaration(token.beginLine, token.beginColumn, token.endLine, token.endColumn); break; case ABSTRACT:
@Override public R visit(final EmptyTypeDeclaration n, final A arg) { if (n.getJavaDoc() != null) { { R result = n.getJavaDoc().accept(this, arg); if (result != null) { return result; } } } return null; }
@Override public void visit(final EmptyTypeDeclaration n, final Object arg) { printJavaComment(n.getComment(), arg); printJavadoc(n.getJavaDoc(), arg); printer.print(";"); printOrphanCommentsEnding(n); }
case SEMICOLON: jj_consume_token(SEMICOLON); ret = new EmptyTypeDeclaration(token.beginLine, token.beginColumn, token.endLine, token.endColumn, popJavadoc()); break; case ABSTRACT:
public void visit(EmptyTypeDeclaration n, Object arg) { printJavadoc(n.getJavaDoc(), arg); printer.print(";"); }
case SEMICOLON: jj_consume_token(SEMICOLON); ret = new EmptyTypeDeclaration(token.beginLine, token.beginColumn, token.endLine, token.endColumn); break; case ABSTRACT:
case SEMICOLON: jj_consume_token(SEMICOLON); ret = new EmptyTypeDeclaration(token.beginLine, token.beginColumn, token.endLine, token.endColumn, popJavadoc()); break; case ABSTRACT: