[java-intentions] More preview tests; minor fixes

GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
This commit is contained in:
Tagir Valeev
2022-07-28 14:07:20 +02:00
committed by intellij-monorepo-bot
parent e74564a52c
commit 7e1064ea3c
2540 changed files with 2706 additions and 2696 deletions

View File

@@ -1,6 +1,6 @@
import static java.lang.Integer.parseInt;
// "Import static method 'java.lang.Integer.parseInt'" "true"
// "Import static method 'java.lang.Integer.parseInt'" "true-preview"
public class X {
{
<caret>parseInt("",10);

View File

@@ -1,4 +1,4 @@
// "Import static method..." "true"
// "Import static method..." "true-preview"
package p;
import static p.FFF.myEqualTo;

View File

@@ -1,4 +1,4 @@
// "Import static method..." "true"
// "Import static method..." "true-preview"
package p;
import static p.FFF.myEqualTo;

View File

@@ -1,4 +1,4 @@
// "Import static method..." "true"
// "Import static method..." "true-preview"
package foo;
import static foo.B.a;

View File

@@ -1,6 +1,6 @@
import static java.lang.String.format;
// "Import static method 'java.lang.String.format'" "true"
// "Import static method 'java.lang.String.format'" "true-preview"
public class X {
{
format("");

View File

@@ -1,4 +1,4 @@
// "Import static method 'foo.B.aaaaaaa'" "true"
// "Import static method 'foo.B.aaaaaaa'" "true-preview"
package foo;
import static foo.B.aaaaaaa;

View File

@@ -1,4 +1,4 @@
// "Import static method 'foo.B.aaaaaaa'" "true"
// "Import static method 'foo.B.aaaaaaa'" "true-preview"
package foo;
import static foo.B.aaaaaaa;

View File

@@ -1,4 +1,4 @@
// "Import static method 'java.lang.Integer.parseInt'" "true"
// "Import static method 'java.lang.Integer.parseInt'" "true-preview"
public class X {
{
<caret>parseInt("",10);

View File

@@ -1,4 +1,4 @@
// "Import static method..." "true"
// "Import static method..." "true-preview"
package p;
public class X {
public void test() throws Exception {

View File

@@ -1,4 +1,4 @@
// "Import static method..." "true"
// "Import static method..." "true-preview"
package p;
public class X {
public void test() throws Exception {

View File

@@ -1,4 +1,4 @@
// "Import static method..." "true"
// "Import static method..." "true-preview"
package foo;
public class X {

View File

@@ -1,4 +1,4 @@
// "Import static method 'java.lang.String.format'" "true"
// "Import static method 'java.lang.String.format'" "true-preview"
public class X {
{
String.format("");

View File

@@ -1,4 +1,4 @@
// "Import static method 'foo.B.aaaaaaa'" "true"
// "Import static method 'foo.B.aaaaaaa'" "true-preview"
package foo;
public class X {
{

View File

@@ -1,4 +1,4 @@
// "Import static method 'foo.B.aaaaaaa'" "true"
// "Import static method 'foo.B.aaaaaaa'" "true-preview"
package foo;
public class X {