java: include parentheses () in text when referring to methods

GitOrigin-RevId: 1cfc8afb26b5db175d865f6bbdc752356040d8bb
This commit is contained in:
Bas Leijdekkers
2022-08-19 11:30:20 +02:00
committed by intellij-monorepo-bot
parent 46bc714501
commit 9addc5eaf7
285 changed files with 368 additions and 359 deletions

View File

@@ -1,4 +1,4 @@
// "Import static method 'java.util.Collections.emptyList'" "true-preview"
// "Import static method 'java.util.Collections.emptyList()'" "true-preview"
import java.util.List;
import static java.util.Collections.emptyList;

View File

@@ -1,4 +1,4 @@
// "Import static method 'java.util.Collections.emptyList'" "true-preview"
// "Import static method 'java.util.Collections.emptyList()'" "true-preview"
import java.util.List;
import static java.util.Collections.emptyList;

View File

@@ -1,4 +1,4 @@
// "Import static method 'java.util.stream.Collectors.toList'" "true-preview"
// "Import static method 'java.util.stream.Collectors.toList()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Import static method 'java.util.Collections.emptyList'" "true-preview"
// "Import static method 'java.util.Collections.emptyList()'" "true-preview"
import java.util.List;
public class X {
List<String> get() {

View File

@@ -1,4 +1,4 @@
// "Import static method 'java.util.Collections.emptyList'" "true-preview"
// "Import static method 'java.util.Collections.emptyList()'" "true-preview"
import java.util.List;
public class X {
String emptyList = "";

View File

@@ -1,4 +1,4 @@
// "Import static method 'java.util.stream.Collectors.toList'" "true-preview"
// "Import static method 'java.util.stream.Collectors.toList()'" "true-preview"
import java.util.stream.Stream;