diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-02-15 07:14:03 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-02-15 07:23:16 +0100 |
commit | 7993aa20cd20cdc030f90ee9f33c1b74c023d7ca (patch) | |
tree | 8df26ee1635a1fe6e2c0e707bba51f314af439f2 /test/transform/resource/after-ecj/WithByNullAnnos.java | |
parent | a991bebe41bd5037323f682301a5fe77ea89b7b9 (diff) | |
download | lombok-7993aa20cd20cdc030f90ee9f33c1b74c023d7ca.tar.gz lombok-7993aa20cd20cdc030f90ee9f33c1b74c023d7ca.tar.bz2 lombok-7993aa20cd20cdc030f90ee9f33c1b74c023d7ca.zip |
[issue #2368] [withBy] support for ecj
Diffstat (limited to 'test/transform/resource/after-ecj/WithByNullAnnos.java')
-rw-r--r-- | test/transform/resource/after-ecj/WithByNullAnnos.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/WithByNullAnnos.java b/test/transform/resource/after-ecj/WithByNullAnnos.java new file mode 100644 index 00000000..ff140192 --- /dev/null +++ b/test/transform/resource/after-ecj/WithByNullAnnos.java @@ -0,0 +1,11 @@ +import java.util.List; +public @lombok.RequiredArgsConstructor class WithByNullAnnos { + final @lombok.experimental.WithBy List<String> test; + public @org.checkerframework.checker.nullness.qual.NonNull @java.lang.SuppressWarnings("all") WithByNullAnnos withTestBy(final java.util.function. @org.checkerframework.checker.nullness.qual.NonNull Function<? super List<String>, ? extends List<String>> transformer) { + return new WithByNullAnnos(transformer.apply(this.test)); + } + public @java.lang.SuppressWarnings("all") WithByNullAnnos(final List<String> test) { + super(); + this.test = test; + } +}
\ No newline at end of file |