From 850c3eaf07cd4beb2276b5e10296132b6ed3d7a6 Mon Sep 17 00:00:00 2001 From: peichhorn Date: Wed, 1 Jun 2011 02:44:53 +0200 Subject: Added a test infrastructure that simulates eclipse with diet-parse, type-binding and so forth. Similar to eclipse, the test needs to be executed with lombok as vm-agent. @Delegate runs with this setup, sadly val does not, at least for now. And as expected the tests shows that @Synchronized and @SneakyThrows are currently broken for eclipse but not for ecj. --- .../resource/messages-eclipse/GetterLazyInvalid.java.messages | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/transform/resource/messages-eclipse/GetterLazyInvalid.java.messages (limited to 'test/transform/resource/messages-eclipse/GetterLazyInvalid.java.messages') diff --git a/test/transform/resource/messages-eclipse/GetterLazyInvalid.java.messages b/test/transform/resource/messages-eclipse/GetterLazyInvalid.java.messages new file mode 100644 index 00000000..25641930 --- /dev/null +++ b/test/transform/resource/messages-eclipse/GetterLazyInvalid.java.messages @@ -0,0 +1,6 @@ +2 error 'lazy' requires the field to be private and final. +6 error 'lazy' requires the field to be private and final. +10 error 'lazy' requires the field to be private and final. +14 warning 'lazy' does not work with AccessLevel.NONE. +17 error 'lazy' is not supported for @Getter on a type. +22 error 'lazy' requires field initialization. -- cgit