mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 04:09:09 +07:00
AddOnDemandStaticImport: test-case with nested calls and comments
Review ID: IDEA-CR-28752
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Add on demand static import for 'java.util.Arrays'" "true"
|
||||
import java.util.Arrays;
|
||||
|
||||
import static java.util.Arrays.*;
|
||||
|
||||
public class MyFile {
|
||||
void test() {
|
||||
System.out.println(/*1*//*2*/asList(/*3*//*4*/asList("foo", /*5*//*6*/asList("bar", "baz")), /*7*//*8*/asList("qux")));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Add on demand static import for 'java.util.Arrays'" "true"
|
||||
import java.util.Arrays;
|
||||
|
||||
public class MyFile {
|
||||
void test() {
|
||||
System.out.println(Ar<caret>rays/*1*/./*2*/asList(Arrays/*3*/./*4*/asList("foo", Arrays/*5*/./*6*/asList("bar", "baz")), Arrays/*7*/./*8*/asList("qux")));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user