aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java')
-rw-r--r--test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java b/test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java
index 4220308c..d5f2bbcc 100644
--- a/test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java
+++ b/test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java
@@ -5,6 +5,9 @@ class WithMethodMarkedDeprecated {
WithMethodMarkedDeprecated(int annotation, int javadoc) {
super();
}
+ /**
+ * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
+ */
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") WithMethodMarkedDeprecated withAnnotation(final int annotation) {
return ((this.annotation == annotation) ? this : new WithMethodMarkedDeprecated(annotation, this.javadoc));
}