aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/UtilityClass.java
blob: b817b5c19f9d6c6803ce5d4f43df345fb504049b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
@lombok.experimental.UtilityClass
class UtilityClass {
	private long someField = System.currentTimeMillis();
	
	void someMethod() {
		System.out.println();
		new InnerClass();
		new InnerStaticClass();
	}
	
	protected class InnerClass {
		private String innerInnerMember;
	}
	
	protected static class InnerStaticClass {
		private String innerInnerMember;
	}
}

class UtilityInner {
	static class InnerInner {
		@lombok.experimental.UtilityClass
		class InnerInnerInner {
			int member;
		}
	}
	
	enum UtilityInsideEnum {
		FOO, BAR;
		
		@lombok.experimental.UtilityClass
		class InsideEnum {
			int member;
		}
	}
	
	interface UtilityInsideInterface {
		@lombok.experimental.UtilityClass
		class InsideInterface {
			int member;
		}
	}
}