diff options
Diffstat (limited to 'test/transform/resource/after-delombok/WithByInAnonymousClass.java')
-rw-r--r-- | test/transform/resource/after-delombok/WithByInAnonymousClass.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/WithByInAnonymousClass.java b/test/transform/resource/after-delombok/WithByInAnonymousClass.java new file mode 100644 index 00000000..d84955b6 --- /dev/null +++ b/test/transform/resource/after-delombok/WithByInAnonymousClass.java @@ -0,0 +1,17 @@ +//version 8: +public class WithByInAnonymousClass { + Object annonymous = new Object() { + + class Inner { + private Inner(String string) { + } + + private String string; + + @java.lang.SuppressWarnings("all") + public Inner withStringBy(final java.util.function.Function<? super String, ? extends String> transformer) { + return new Inner(transformer.apply(this.string)); + } + } + }; +} |