public class CompileTwice {
    public String message() {
        return "Hi again!";
    }
}
import java.util.Collections;
import java.util.List;

public class CompileTwice {
    public List<String> message() {
        return Collections.singletonList("Hi again!");
    }
}
Verify imports work when compiling incrementally
Verify imports work when compiling incrementally
