aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/ValInFor.java
blob: 013cd02e659c8cfe0e7c7fa65ec0d59a5971a78f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public class ValInFor {
	{
		final int x = 10;
		final int x2 = -1;
		final java.lang.String a = "Hello";
		for (final int y = x, z = x2; y < 20; y++) {
			final int q = y;
			final int w = z;
			final java.lang.String v = a;
		}
	}
	public void enhancedFor() {
		java.util.List<String> list = java.util.Arrays.asList("Hello, World!");
		for (final java.lang.String shouldBeString : list) {
			System.out.println(shouldBeString.toLowerCase());
			final java.lang.String shouldBeString2 = shouldBeString;
		}
	}
}