Files
openide/java/java-tests/testData/inspection/java8ArraysSetAll/beforeFieldComments.java
T

11 lines
320 B
Java

// "Replace loop with Arrays.setAll" "true"
public class Test {
private Object[] data;
public void fill() {
for(int <caret>idx = 0; (this./*comment*/data).length > idx; idx+=1) {
/*in body*/
this./*in lvalue*/data[idx] = "Hello!" + /* we need index here */ idx;
}
}
}