mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 02:16:18 +00:00
Made the printing of Statements for @PrintAST slightly more useful (if a lot more verbose), and bumped the version number in honour of quite a bit of redesign these past few commits.
This commit is contained in:
1 parent
8aae52a992
commit
7c65e0fdff
3 files changed
+3
-1
No files matched your search
@@ -1,7 +1,7 @@
|
||||
package lombok.core;
|
||||
|
||||
public class Version {
|
||||
private static final String VERSION = "0.2.0";
|
||||
private static final String VERSION = "0.3.0";
|
||||
|
||||
private Version() {
|
||||
//Prevent instantiation
|
||||
|
||||
@@ -206,6 +206,7 @@ public interface EclipseASTVisitor {
|
||||
@Override public void visitStatement(Node node, Statement statement) {
|
||||
print("<%s>", statement.getClass());
|
||||
indent++;
|
||||
print("%s", statement);
|
||||
}
|
||||
|
||||
@Override public void endVisitStatement(Node node, Statement statement) {
|
||||
|
||||
@@ -172,6 +172,7 @@ public interface JavacASTVisitor {
|
||||
@Override public void visitStatement(Node node, JCTree statement) {
|
||||
print("<%s>", statement.getClass());
|
||||
indent++;
|
||||
print("%s", statement);
|
||||
}
|
||||
|
||||
@Override public void endVisitStatement(Node node, JCTree statement) {
|
||||
|
||||
Reference in new issue
Block a user