aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/WithByInAnonymousClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/WithByInAnonymousClass.java')
-rw-r--r--test/transform/resource/after-ecj/WithByInAnonymousClass.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/WithByInAnonymousClass.java b/test/transform/resource/after-ecj/WithByInAnonymousClass.java
new file mode 100644
index 00000000..1bc3e80c
--- /dev/null
+++ b/test/transform/resource/after-ecj/WithByInAnonymousClass.java
@@ -0,0 +1,20 @@
+import lombok.experimental.WithBy;
+public class WithByInAnonymousClass {
+ Object annonymous = new Object() {
+ @WithBy class Inner {
+ private String string;
+ private Inner(String string) {
+ super();
+ }
+ public @java.lang.SuppressWarnings("all") Inner withStringBy(final java.util.function.Function<? super String, ? extends String> transformer) {
+ return new Inner(transformer.apply(this.string));
+ }
+ }
+ x() {
+ super();
+ }
+ };
+ public WithByInAnonymousClass() {
+ super();
+ }
+}