mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-24 07:21:25 +07:00
renamed static import -> import static (IDEA-161681)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import static java.lang.Integer.parseInt;
|
||||
|
||||
// "Static import method 'java.lang.Integer.parseInt'" "true"
|
||||
// "Import static method 'java.lang.Integer.parseInt'" "true"
|
||||
public class X {
|
||||
{
|
||||
<caret>parseInt("",10);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static import method..." "true"
|
||||
// "Import static method..." "true"
|
||||
package p;
|
||||
|
||||
import static p.FFF.myEqualTo;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static import method..." "true"
|
||||
// "Import static method..." "true"
|
||||
package foo;
|
||||
|
||||
import static foo.B.a;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import static java.lang.String.format;
|
||||
|
||||
// "Static import method 'java.lang.String.format'" "true"
|
||||
// "Import static method 'java.lang.String.format'" "true"
|
||||
public class X {
|
||||
{
|
||||
format("");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static import method 'foo.B.aaaaaaa'" "true"
|
||||
// "Import static method 'foo.B.aaaaaaa'" "true"
|
||||
package foo;
|
||||
|
||||
import static foo.B.aaaaaaa;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static import method 'foo.B.aaaaaaa'" "true"
|
||||
// "Import static method 'foo.B.aaaaaaa'" "true"
|
||||
package foo;
|
||||
|
||||
import static foo.B.aaaaaaa;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static import method 'java.lang.Integer.parseInt'" "true"
|
||||
// "Import static method 'java.lang.Integer.parseInt'" "true"
|
||||
public class X {
|
||||
{
|
||||
<caret>parseInt("",10);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static import method..." "true"
|
||||
// "Import static method..." "true"
|
||||
package p;
|
||||
public class X {
|
||||
public void test() throws Exception {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static import method 'foo.B.aaaaaaa'" "false"
|
||||
// "Import static method 'foo.B.aaaaaaa'" "false"
|
||||
package foo;
|
||||
|
||||
public class X {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static import method..." "true"
|
||||
// "Import static method..." "true"
|
||||
package foo;
|
||||
|
||||
public class X {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static import method 'java.lang.Integer.parseInt'" "false"
|
||||
// "Import static method 'java.lang.Integer.parseInt'" "false"
|
||||
public class X {
|
||||
{
|
||||
this.<caret>parseInt("",10);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static import method 'java.lang.String.format'" "true"
|
||||
// "Import static method 'java.lang.String.format'" "true"
|
||||
public class X {
|
||||
{
|
||||
String.format("");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static import method 'foo.B.aaaaaaa'" "true"
|
||||
// "Import static method 'foo.B.aaaaaaa'" "true"
|
||||
package foo;
|
||||
public class X {
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static import method 'foo.B.aaaaaaa'" "true"
|
||||
// "Import static method 'foo.B.aaaaaaa'" "true"
|
||||
package foo;
|
||||
|
||||
public class X {
|
||||
|
||||
Reference in New Issue
Block a user