aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/ValInFor.java
blob: 1b6c13d07d041e55fe47c0f158748a16c0d10eed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import lombok.val;
public class ValInFor {
  public ValInFor() {
    super();
  }
  public void enhancedFor() {
    java.util.List<String> list = java.util.Arrays.asList("Hello, World!");
    for (final @val java.lang.String shouldBeString : list) 
      {
        System.out.println(shouldBeString.toLowerCase());
        final @val java.lang.String shouldBeString2 = shouldBeString;
      }
  }
}