aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/WithByInAnonymousClass.java
blob: d84955b61401f48546baf91b999339dbf2b348d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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));
			}
		}
	};
}