aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-09-18 02:27:35 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-09-18 02:27:35 +0200
commit730670f1f4f41f41f23da6df59c06c40f717139a (patch)
tree392aeac4ec636bbceda0e8c9647d0c05e6c4014a /test/transform/resource/after-ecj/WithMethodMarkedDeprecated.java
parentea1578a0a9826473e004901f8e2a88ba4e65ea4c (diff)
parent23b80658bcf3ca0007a86d04ce6cc5f6c8db5ad4 (diff)
downloadlombok-730670f1f4f41f41f23da6df59c06c40f717139a.tar.gz
lombok-730670f1f4f41f41f23da6df59c06c40f717139a.tar.bz2
lombok-730670f1f4f41f41f23da6df59c06c40f717139a.zip
Merge branch 'eclipse-javadoc' of git://github.com/Rawi01/lombok into Rawi01-eclipse-javadoc
# Conflicts: # src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
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));
}