aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/ValToNative.java
blob: 3b4e6fa83156afbf512c204d82f40b615b9eefb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// version 10:
import java.io.IOException;
import java.util.Arrays;

import lombok.val;

public class ValToNative {
	private void test() throws IOException {
		val intField = 1;
		
		for (val s : Arrays.asList("1")) {
			val s2 = s;
		}
		
		try (val in = getClass().getResourceAsStream("ValToNative.class")) {
			val j = in.read();
		}
	}
}