private void writeLn() { writeLn(""); }
private void writeLn() { writeLn(""); }
private void writeEmptyLn() { writeLn(); }
private void writeEmptyLn() { writeLn(); }
writeLn(); nextSize = MAX_LINE_LENGTH - lineLength - 2;
writeLn(); nextSize = MAX_LINE_LENGTH - lineLength - 2;
for (AnnotationMirror annotation : e.getAnnotationMirrors()) { visitAnnotation(e, annotation); writeLn(); writeLn(";"); } else if (e.getBodyTree() != null) { writeLn(" {"); indent(1); visitTree(e.getBodyTree(), p, e); dedent(1); writeLn("}"); } else if (e.getBody() != null) { write(" {"); write(e.getBody()); writeLn("}"); } else { writeLn(" {"); writeLn("}");
for (AnnotationMirror annotation : e.getAnnotationMirrors()) { visitAnnotation(e, annotation); writeLn(); writeLn(";"); } else if (e.getBodyTree() != null) { writeLn(" {"); indent(1); visitTree(e.getBodyTree(), p, e); dedent(1); writeLn("}"); } else if (e.getBody() != null) { write(" {"); write(e.getBody()); writeLn("}"); } else { writeLn(" {"); writeLn("}");
private void writeClassImpl(CodeTypeElement e) { for (AnnotationMirror annotation : e.getAnnotationMirrors()) { visitAnnotation(e, annotation); writeLn(); write(" {").writeLn(); writeEmptyLn(); indent(1); if (e.getKind() == ElementKind.ENUM && i < staticFields.size() - 1) { write(","); writeLn(); } else { write(";"); writeLn(); field.accept(this, null); write(";"); writeLn();
private void writeClassImpl(CodeTypeElement e) { for (AnnotationMirror annotation : e.getAnnotationMirrors()) { visitAnnotation(e, annotation); writeLn(); write(" {").writeLn(); writeEmptyLn(); indent(1); if (e.getKind() == ElementKind.ENUM && i < staticFields.size() - 1) { write(","); writeLn(); } else { write(";"); writeLn(); field.accept(this, null); write(";"); writeLn();
break; case NEW_LINE: writeLn(); break; case STRING:
break; case NEW_LINE: writeLn(); break; case STRING: