aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/WitherDeprecated.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/WitherDeprecated.java')
-rw-r--r--test/transform/resource/after-ecj/WitherDeprecated.java15
1 files changed, 14 insertions, 1 deletions
diff --git a/test/transform/resource/after-ecj/WitherDeprecated.java b/test/transform/resource/after-ecj/WitherDeprecated.java
index 0facc12f..b57d0d79 100644
--- a/test/transform/resource/after-ecj/WitherDeprecated.java
+++ b/test/transform/resource/after-ecj/WitherDeprecated.java
@@ -1 +1,14 @@
-//ignore
+import lombok.experimental.Wither;
+class WitherDeprecated {
+ @Deprecated @Wither int annotation;
+ @Wither int javadoc;
+ WitherDeprecated(int annotation, int javadoc) {
+ super();
+ }
+ public @java.lang.Deprecated @java.lang.SuppressWarnings("all") WitherDeprecated withAnnotation(final int annotation) {
+ return ((this.annotation == annotation) ? this : new WitherDeprecated(annotation, this.javadoc));
+ }
+ public @java.lang.Deprecated @java.lang.SuppressWarnings("all") WitherDeprecated withJavadoc(final int javadoc) {
+ return ((this.javadoc == javadoc) ? this : new WitherDeprecated(this.annotation, javadoc));
+ }
+}