aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/DataOnLocalClass.java
blob: e4fa4cd551ada770448de7d86effdfd754d69412 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//version 8:
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;
			}
		}
	}
}