aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/Tolerate.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/Tolerate.java')
-rw-r--r--test/transform/resource/after-ecj/Tolerate.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/Tolerate.java b/test/transform/resource/after-ecj/Tolerate.java
index 1fe5fe4c..fa3f8624 100644
--- a/test/transform/resource/after-ecj/Tolerate.java
+++ b/test/transform/resource/after-ecj/Tolerate.java
@@ -25,6 +25,9 @@ import java.util.regex.Pattern;
public @java.lang.SuppressWarnings("all") Pattern getPattern() {
return this.pattern;
}
+ /**
+ * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
+ */
public @java.lang.SuppressWarnings("all") Tolerate2 withPattern(final Pattern pattern) {
return ((this.pattern == pattern) ? this : new Tolerate2(pattern));
}