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/after-delombok | |
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/after-delombok')
-rw-r--r-- | test/transform/resource/after-delombok/MixGetterVal.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/MixGetterVal.java b/test/transform/resource/after-delombok/MixGetterVal.java new file mode 100644 index 00000000..7662608b --- /dev/null +++ b/test/transform/resource/after-delombok/MixGetterVal.java @@ -0,0 +1,13 @@ +class MixGetterVal { + private int x; + public void m(int z) { + } + public void test() { + final int y = x; + m(y); + } + @java.lang.SuppressWarnings("all") + public int getX() { + return this.x; + } +}
\ No newline at end of file |