diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-11-09 20:35:34 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-11-09 20:35:34 +0100 |
commit | 0951ea38fe11189cdc4c2778fdad9e9e3ad6a6ae (patch) | |
tree | ae333b513a3cde5143405c0f7399faee880feddd /src/netbeansAgent/lombok | |
parent | 04d041a7dcb4f57c5b5bf460cf78cddfaba4853b (diff) | |
download | lombok-0951ea38fe11189cdc4c2778fdad9e9e3ad6a6ae.tar.gz lombok-0951ea38fe11189cdc4c2778fdad9e9e3ad6a6ae.tar.bz2 lombok-0951ea38fe11189cdc4c2778fdad9e9e3ad6a6ae.zip |
Experiment to try and make java 'self referential' by deleting the Enter and MemberEnter state. So far it doesn't work yet.
Diffstat (limited to 'src/netbeansAgent/lombok')
-rw-r--r-- | src/netbeansAgent/lombok/netbeans/agent/NetbeansEntryPoint.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbeansAgent/lombok/netbeans/agent/NetbeansEntryPoint.java b/src/netbeansAgent/lombok/netbeans/agent/NetbeansEntryPoint.java index 963b70b5..f1f02d2c 100644 --- a/src/netbeansAgent/lombok/netbeans/agent/NetbeansEntryPoint.java +++ b/src/netbeansAgent/lombok/netbeans/agent/NetbeansEntryPoint.java @@ -69,7 +69,7 @@ public class NetbeansEntryPoint implements TaskListener { if (TaskEvent.Kind.PARSE == event.getKind()) { JavacTransformer transformer = new JavacTransformer(new DummyMessager()); //TODO hook into netbeans error reporting! JCCompilationUnit compilationUnit = (JCCompilationUnit) event.getCompilationUnit(); - transformer.transform(context, Collections.singleton(compilationUnit)); + transformer.transform(context, Collections.singletonList(compilationUnit)); } } } |