aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/DataOnLocalClass.java
blob: b1272b7e162d0e4f37d49abbaeb60c53f1271ee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import lombok.Data;
class DataOnLocalClass1 {
	public static void main(String[] args) {
		@Data class Local {
			final int x;
			String name;
		}
	}
}
class DataOnLocalClass2 {
	{
		@Data class Local {
			final int x;
			@Data class InnerLocal {
				@lombok.NonNull String name;
			}
		}
	}
}