var can now also be configured to emit a warning when used.

This commit is contained in:
Roel Spilker committed 2016-11-22 00:37:07 +01:00
1 parent 8c2ea4fbc6
commit d6f1116108
7 files changed
+44 -24

No files matched your search

@@ -0,0 +1,10 @@
//CONF: lombok.var.flagUsage = WARNING
//skip compare contents
import lombok.experimental.var;
public class VarWarning {
public void isOkay() {
var x = "Warning";
x.toLowerCase();
}
}