diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2020-12-27 05:36:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-27 05:36:51 +0100 |
commit | 11b6f8f97a6fde9a5f6e39f38e63cdff73742822 (patch) | |
tree | 733b5a65b754f325fa9273d11fb840a7e0002398 /test/transform/resource/after-ecj/WithOnClass.java | |
parent | 0532285eb8de98e9e4e3fc4131476b5f4ef2740d (diff) | |
parent | 624c8a5a52d14ba1a6b690809f9ada15f71e15f5 (diff) | |
download | lombok-11b6f8f97a6fde9a5f6e39f38e63cdff73742822.tar.gz lombok-11b6f8f97a6fde9a5f6e39f38e63cdff73742822.tar.bz2 lombok-11b6f8f97a6fde9a5f6e39f38e63cdff73742822.zip |
Merge pull request #2684 from Rawi01/npe-javadoc
Fix NullPointerException during Javadoc copy
Diffstat (limited to 'test/transform/resource/after-ecj/WithOnClass.java')
-rw-r--r-- | test/transform/resource/after-ecj/WithOnClass.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/WithOnClass.java b/test/transform/resource/after-ecj/WithOnClass.java index ca3e8c6b..1c635fce 100644 --- a/test/transform/resource/after-ecj/WithOnClass.java +++ b/test/transform/resource/after-ecj/WithOnClass.java @@ -4,6 +4,9 @@ WithOnClass1(boolean isNone, boolean isPublic) { super(); } + /** + * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed). + */ public @java.lang.SuppressWarnings("all") WithOnClass1 withPublic(final boolean isPublic) { return ((this.isPublic == isPublic) ? this : new WithOnClass1(this.isNone, isPublic)); } @@ -15,9 +18,15 @@ WithOnClass2(boolean isNone, boolean isProtected, boolean isPackage) { super(); } + /** + * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed). + */ @java.lang.SuppressWarnings("all") WithOnClass2 withPackage(final boolean isPackage) { return ((this.isPackage == isPackage) ? this : new WithOnClass2(this.isNone, this.isProtected, isPackage)); } + /** + * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed). + */ protected @java.lang.SuppressWarnings("all") WithOnClass2 withProtected(final boolean isProtected) { return ((this.isProtected == isProtected) ? this : new WithOnClass2(this.isNone, isProtected, this.isPackage)); } @@ -28,9 +37,15 @@ WithOnClass3(String couldBeNull, String nonNull) { super(); } + /** + * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed). + */ public @java.lang.SuppressWarnings("all") WithOnClass3 withCouldBeNull(final String couldBeNull) { return ((this.couldBeNull == couldBeNull) ? this : new WithOnClass3(couldBeNull, this.nonNull)); } + /** + * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed). + */ public @java.lang.SuppressWarnings("all") WithOnClass3 withNonNull(final @lombok.NonNull String nonNull) { if ((nonNull == null)) { @@ -46,6 +61,9 @@ super(); this.fY = y; } + /** + * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed). + */ public @java.lang.SuppressWarnings("all") WithOnClass4 withY(final int fY) { return ((this.fY == fY) ? this : new WithOnClass4(fY)); } |