aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/ValToNative.java
blob: 2c8d721cd33a156bc45cf24ba350bd4b6146bd79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import java.io.IOException;
import java.util.Arrays;
import lombok.val;
public class ValToNative {
  public ValToNative() {
    super();
  }
  private void test() throws IOException {
    final @val var intField = 1;
    for (final @val var s : Arrays.asList("1")) 
      {
        final @val var s2 = s;
      }
    try (final @val var in = getClass().getResourceAsStream("ValToNative.class"))
      {
        final @val var j = in.read();
      }
  }
}