mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 20:17:25 +00:00
The only new JCTree node in java7, JCTypeUnion, is now supported by delombok.
This commit is contained in:
1 parent
a85023b919
commit
82b14a3089
1 file changed
+7
-2
@@ -1495,8 +1495,13 @@ public class PrettyCommentsPrinter extends JCTree.Visitor {
|
||||
|
||||
public void visitTree(JCTree tree) {
|
||||
try {
|
||||
print("(UNKNOWN: " + tree + ")");
|
||||
println();
|
||||
if ("JCTypeUnion".equals(tree.getClass().getSimpleName())) {
|
||||
print(tree.toString());
|
||||
return;
|
||||
} else {
|
||||
print("(UNKNOWN: " + tree + ")");
|
||||
println();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
throw new UncheckedIOException(e);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user