mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-20 13:31:28 +07:00
show method calls with () in "Replace with bulk method call" inspection messages
GitOrigin-RevId: cc40c33ea4729b0faaecefe3e67287ece06090bd
This commit is contained in:
committed by
intellij-monorepo-bot
parent
659cdfc319
commit
ea834397dc
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Collect {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Collect {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Collect {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Collect {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'TestClass.test' call" "true"
|
||||
// "Replace iteration with bulk 'TestClass.test()' call" "true"
|
||||
package testpackage;
|
||||
|
||||
interface TestClass<T> {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'TestClass.test' call" "true"
|
||||
// "Replace iteration with bulk 'TestClass.test()' call" "true"
|
||||
package testpackage;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'TestClass.test' call" "true"
|
||||
// "Replace iteration with bulk 'TestClass.test()' call" "true"
|
||||
package testpackage;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Collect {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "false"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "false"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "false"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "false"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "false"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "false"
|
||||
import java.util.*;
|
||||
|
||||
public class Collect {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Collect {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Collect {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Collect {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'TestClass.test' call" "true"
|
||||
// "Replace iteration with bulk 'TestClass.test()' call" "true"
|
||||
package testpackage;
|
||||
|
||||
interface TestClass<T> {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'TestClass.test' call" "true"
|
||||
// "Replace iteration with bulk 'TestClass.test()' call" "true"
|
||||
package testpackage;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'TestClass.test' call" "false"
|
||||
// "Replace iteration with bulk 'TestClass.test()' call" "false"
|
||||
package testpackage;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'TestClass.test' call" "true"
|
||||
// "Replace iteration with bulk 'TestClass.test()' call" "true"
|
||||
package testpackage;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Map.putAll' call" "true"
|
||||
// "Replace iteration with bulk 'Map.putAll()' call" "true"
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Collect {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
||||
// "Replace iteration with bulk 'Collection.addAll()' call" "true"
|
||||
import java.util.*;
|
||||
|
||||
public class Collect {
|
||||
|
||||
@@ -646,9 +646,9 @@ inspection.remove.literal.underscores.family.name=Remove underscores from numeri
|
||||
inspection.replace.methodref.ternary.quickfix=Replace with null-checking lambda
|
||||
inspection.replace.ternary.quickfix=Replace with ''{0} != null ?:''
|
||||
inspection.replace.with.bulk.fix.family.name=Replace with bulk method call
|
||||
inspection.replace.with.bulk.fix.name=Replace iteration with bulk ''{0}'' call
|
||||
inspection.replace.with.bulk.message=Iteration can be replaced with bulk ''{0}'' call
|
||||
inspection.replace.with.bulk.wrap.arrays=Use Arrays.asList() to wrap arrays
|
||||
inspection.replace.with.bulk.fix.name=Replace iteration with bulk ''{0}()'' call
|
||||
inspection.replace.with.bulk.message=Iteration can be replaced with bulk ''{0}()'' call
|
||||
inspection.replace.with.bulk.wrap.arrays=Use 'Arrays.asList()' to wrap arrays
|
||||
inspection.replace.with.enhanced.switch.statement.fix.name=Replace with enhanced 'switch' statement
|
||||
inspection.replace.with.old.style.switch.statement.fix.name=Replace with old style 'switch' statement
|
||||
inspection.replace.with.regular.string.literal.fix=Replace with regular string literal
|
||||
|
||||
Reference in New Issue
Block a user