aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2020-07-29 12:55:02 +0200
committerRawi01 <Rawi01@users.noreply.github.com>2020-07-29 13:39:42 +0200
commit2b4b5c983540af4a4c08cfb7a3d4057df0b84c39 (patch)
tree78a310e0f6d611d2113caf9a4b0a38889ac1926f /test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java
parent7dfbe4323c15cbd88983380b27a250d2a381d148 (diff)
downloadlombok-2b4b5c983540af4a4c08cfb7a3d4057df0b84c39.tar.gz
lombok-2b4b5c983540af4a4c08cfb7a3d4057df0b84c39.tar.bz2
lombok-2b4b5c983540af4a4c08cfb7a3d4057df0b84c39.zip
Support javadoc copying in eclipse
Diffstat (limited to 'test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java')
-rw-r--r--test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java b/test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java
index cd123fe8..4220308c 100644
--- a/test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java
+++ b/test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java
@@ -8,6 +8,10 @@ class WithMethodMarkedDeprecated {
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") WithMethodMarkedDeprecated withAnnotation(final int annotation) {
return ((this.annotation == annotation) ? this : new WithMethodMarkedDeprecated(annotation, this.javadoc));
}
+ /**
+ * @deprecated
+ * @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 withJavadoc(final int javadoc) {
return ((this.javadoc == javadoc) ? this : new WithMethodMarkedDeprecated(this.annotation, javadoc));
}