diff options
Diffstat (limited to 'test/transform/resource/after-ecj/WithMethodMarkedDeprecatedAnnOnly.java')
-rw-r--r-- | test/transform/resource/after-ecj/WithMethodMarkedDeprecatedAnnOnly.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/WithMethodMarkedDeprecatedAnnOnly.java b/test/transform/resource/after-ecj/WithMethodMarkedDeprecatedAnnOnly.java index 1dcee0d8..d4604af5 100644 --- a/test/transform/resource/after-ecj/WithMethodMarkedDeprecatedAnnOnly.java +++ b/test/transform/resource/after-ecj/WithMethodMarkedDeprecatedAnnOnly.java @@ -4,6 +4,9 @@ class WithMethodMarkedDeprecatedAnnOnly { WithMethodMarkedDeprecatedAnnOnly(int annotation) { 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") WithMethodMarkedDeprecatedAnnOnly withAnnotation(final int annotation) { return ((this.annotation == annotation) ? this : new WithMethodMarkedDeprecatedAnnOnly(annotation)); } |