1 2 3 4 5 6 7 8 9
import lombok.val; public class ValInBasicFor { public void basicFor() { java.util.List<String> list = java.util.Arrays.asList("Hello, World!"); for (val shouldBe = 1, marked = "", error = 1.0; ; ) { System.out.println(""); } } }