aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
authorBulgakov Alexander <abulgakov@at-consulting.ru>2016-10-26 23:18:47 +0300
committerBulgakov Alexander <abulgakov@at-consulting.ru>2016-10-26 23:18:47 +0300
commit710a04607b2c8c875d1971dd517f9eace10a14b4 (patch)
tree76dcf247f8724b3b47ee177afbce81dc97fa8b3d /test/transform/resource/after-delombok
parent55619e8030768fb42f8a9b4207bb330806eaceef (diff)
downloadlombok-710a04607b2c8c875d1971dd517f9eace10a14b4.tar.gz
lombok-710a04607b2c8c875d1971dd517f9eace10a14b4.tar.bz2
lombok-710a04607b2c8c875d1971dd517f9eace10a14b4.zip
The @var annotation has been moved to the experimental package.
Added a test of a @var variable with null initialization.
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/ValNullInit.java5
-rw-r--r--test/transform/resource/after-delombok/VarNullInit.java5
2 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ValNullInit.java b/test/transform/resource/after-delombok/ValNullInit.java
new file mode 100644
index 00000000..f0834a63
--- /dev/null
+++ b/test/transform/resource/after-delombok/ValNullInit.java
@@ -0,0 +1,5 @@
+class ValNullInit {
+ void method() {
+ final java.lang.Object x = null;
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/after-delombok/VarNullInit.java b/test/transform/resource/after-delombok/VarNullInit.java
new file mode 100644
index 00000000..f0087765
--- /dev/null
+++ b/test/transform/resource/after-delombok/VarNullInit.java
@@ -0,0 +1,5 @@
+class VarNullInit {
+ void method() {
+ java.lang.Object x = null;
+ }
+} \ No newline at end of file