diff options
Diffstat (limited to 'test/transform/resource/after-delombok/WitherDeprecated.java')
-rw-r--r-- | test/transform/resource/after-delombok/WitherDeprecated.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/WitherDeprecated.java b/test/transform/resource/after-delombok/WitherDeprecated.java new file mode 100644 index 00000000..f076d90e --- /dev/null +++ b/test/transform/resource/after-delombok/WitherDeprecated.java @@ -0,0 +1,20 @@ +class WitherDeprecated { + @Deprecated + int annotation; + /** + * @deprecated + */ + int javadoc; + WitherDeprecated(int annotation, int javadoc) { + } + @java.lang.Deprecated + @java.lang.SuppressWarnings("all") + public WitherDeprecated withAnnotation(final int annotation) { + return this.annotation == annotation ? this : new WitherDeprecated(annotation, this.javadoc); + } + @java.lang.Deprecated + @java.lang.SuppressWarnings("all") + public WitherDeprecated withJavadoc(final int javadoc) { + return this.javadoc == javadoc ? this : new WitherDeprecated(this.annotation, javadoc); + } +}
\ No newline at end of file |