mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
extract class: mutate static methods, fields imports ( IDEA-55588 )
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import java.util.Collections;
|
||||
|
||||
public class Extracted {
|
||||
static void foo() {
|
||||
Collections.singletonList();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
class Test {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import static java.util.Collections.singletonList;
|
||||
class Test {
|
||||
static void foo(){
|
||||
singletonList();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user