mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
java: include parentheses () in text when referring to methods
GitOrigin-RevId: 1cfc8afb26b5db175d865f6bbdc752356040d8bb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
46bc714501
commit
9addc5eaf7
@@ -1,6 +1,6 @@
|
||||
import static java.lang.Integer.parseInt;
|
||||
|
||||
// "Import static method 'java.lang.Integer.parseInt'" "true-preview"
|
||||
// "Import static method 'java.lang.Integer.parseInt()'" "true-preview"
|
||||
public class X {
|
||||
{
|
||||
<caret>parseInt("",10);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import static java.lang.String.format;
|
||||
|
||||
// "Import static method 'java.lang.String.format'" "true-preview"
|
||||
// "Import static method 'java.lang.String.format()'" "true-preview"
|
||||
public class X {
|
||||
{
|
||||
format("");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Import static method 'foo.B.aaaaaaa'" "true-preview"
|
||||
// "Import static method 'foo.B.aaaaaaa()'" "true-preview"
|
||||
package foo;
|
||||
|
||||
import static foo.B.aaaaaaa;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Import static method 'foo.B.aaaaaaa'" "true-preview"
|
||||
// "Import static method 'foo.B.aaaaaaa()'" "true-preview"
|
||||
package foo;
|
||||
|
||||
import static foo.B.aaaaaaa;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Import static method 'java.lang.Integer.parseInt'" "true-preview"
|
||||
// "Import static method 'java.lang.Integer.parseInt()'" "true-preview"
|
||||
public class X {
|
||||
{
|
||||
<caret>parseInt("",10);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Import static method 'foo.B.aaaaaaa'" "false"
|
||||
// "Import static method 'foo.B.aaaaaaa()'" "false"
|
||||
package foo;
|
||||
|
||||
public class X {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Import static 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 @@
|
||||
// "Import static method 'java.lang.String.format'" "true-preview"
|
||||
// "Import static method 'java.lang.String.format()'" "true-preview"
|
||||
public class X {
|
||||
{
|
||||
String.format("");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Import static method 'foo.B.aaaaaaa'" "true-preview"
|
||||
// "Import static method 'foo.B.aaaaaaa()'" "true-preview"
|
||||
package foo;
|
||||
public class X {
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Import static method 'foo.B.aaaaaaa'" "true-preview"
|
||||
// "Import static method 'foo.B.aaaaaaa()'" "true-preview"
|
||||
package foo;
|
||||
|
||||
public class X {
|
||||
|
||||
Reference in New Issue
Block a user