diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-08-13 00:11:22 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-08-13 00:11:22 +0200 |
commit | 6e25b00acec26c770236d347a879a899c5c930db (patch) | |
tree | cb3d7be46b6bf1dd4662f08f4393368297b78e3f /test/transform/resource/before/MixGetterVal.java | |
parent | 8850798a04e7f44925ed16b3450623b02f5b6295 (diff) | |
download | lombok-6e25b00acec26c770236d347a879a899c5c930db.tar.gz lombok-6e25b00acec26c770236d347a879a899c5c930db.tar.bz2 lombok-6e25b00acec26c770236d347a879a899c5c930db.zip |
test for using 'val' on an expression that involved lombok-generated code.
Diffstat (limited to 'test/transform/resource/before/MixGetterVal.java')
-rw-r--r-- | test/transform/resource/before/MixGetterVal.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/before/MixGetterVal.java b/test/transform/resource/before/MixGetterVal.java new file mode 100644 index 00000000..f80d2927 --- /dev/null +++ b/test/transform/resource/before/MixGetterVal.java @@ -0,0 +1,12 @@ +import lombok.Getter; +import lombok.val; + +class MixGetterVal { + @Getter private int x; + + public void m(int z) {} + public void test() { + val y = x; + m(y); + } +} |