mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 04:16:19 +00:00
The @var annotation has been moved to the experimental package.
Added a test of a @var variable with null initialization.
This commit is contained in:
1 parent
55619e8030
commit
710a04607b
19 files changed
+105
-50
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import lombok.val;
|
||||
|
||||
class ValNullInit {
|
||||
ValNullInit() {
|
||||
super();
|
||||
}
|
||||
void method() {
|
||||
final @val java.lang.Object x = null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user