aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-01-31 04:46:57 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-01-31 04:46:57 +0100
commitef1f4e6404be2a50a04c5adc4daba7b171bb26e0 (patch)
tree74c4839c21443e667dd7264a2472bb67da39638a /test/transform/resource/after-ecj
parent6a91c013ca2b20cc378515b83e3584f1dad958c0 (diff)
downloadlombok-ef1f4e6404be2a50a04c5adc4daba7b171bb26e0.tar.gz
lombok-ef1f4e6404be2a50a04c5adc4daba7b171bb26e0.tar.bz2
lombok-ef1f4e6404be2a50a04c5adc4daba7b171bb26e0.zip
added unit tests that confirmed break before the i694 fix and work afterwards.
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r--test/transform/resource/after-ecj/ValWithLocalClasses.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/ValWithLocalClasses.java b/test/transform/resource/after-ecj/ValWithLocalClasses.java
new file mode 100644
index 00000000..59880acf
--- /dev/null
+++ b/test/transform/resource/after-ecj/ValWithLocalClasses.java
@@ -0,0 +1,20 @@
+class ValWithLocalClasses1 {
+ {
+ final @lombok.val ValWithLocalClasses2 f2 = new ValWithLocalClasses2() {
+ x() {
+ super();
+ }
+ };
+ }
+ ValWithLocalClasses1() {
+ super();
+ }
+}
+class ValWithLocalClasses2 {
+ {
+ final @lombok.val int f3 = 0;
+ }
+ ValWithLocalClasses2() {
+ super();
+ }
+}