diff options
author | Roel Spilker <r.spilker@gmail.com> | 2016-11-21 21:06:37 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2016-11-21 21:06:37 +0100 |
commit | 29e73a7915790ed27b2b68710dbe8e39f0e37e0d (patch) | |
tree | 6a2fda6b8714c7bef757ca35d4da8c010ece0eb9 /test/transform/resource/before/VarModifier.java | |
parent | 192c569128d1ffb879fb104f44483e394032a790 (diff) | |
parent | 69eeb9edc767bb3ceb0320bb5a0ea60dfabe827c (diff) | |
download | lombok-29e73a7915790ed27b2b68710dbe8e39f0e37e0d.tar.gz lombok-29e73a7915790ed27b2b68710dbe8e39f0e37e0d.tar.bz2 lombok-29e73a7915790ed27b2b68710dbe8e39f0e37e0d.zip |
Merge branch 'feature/var' of https://github.com/bulgakovalexander/lombok into bulgakovalexander-feature/var
Diffstat (limited to 'test/transform/resource/before/VarModifier.java')
-rw-r--r-- | test/transform/resource/before/VarModifier.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/transform/resource/before/VarModifier.java b/test/transform/resource/before/VarModifier.java new file mode 100644 index 00000000..7250c1c5 --- /dev/null +++ b/test/transform/resource/before/VarModifier.java @@ -0,0 +1,11 @@ +//CONF: lombok.var.flagUsage = ALLOW +import lombok.experimental.var; + +public class VarModifier { + private String field = ""; + + public void testComplex() { + final var shouldBeFinalCharArray = field.toCharArray(); + var shouldBeCharArray = field.toCharArray(); + } +}
\ No newline at end of file |