Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/useBulkOperation/afterQualifiedSuperEntrySet.java
Andrey.Cherkasov b66b76939f [java-inspections] UseBulkOperation: preserve the qualifier of PsiSuperExpression if it exists (IJ-CR-15560)
GitOrigin-RevId: 2fcf4eddd6b43963ba93c5a4c1ae413d9be18b10
2021-10-27 03:40:18 +00:00

12 lines
286 B
Java

// "Replace iteration with bulk 'Map.putAll' call" "true"
import java.util.HashMap;
import java.util.Map;
class Main extends HashMap<String, Integer> {
class Nested {
void test() {
Map<String, Integer> result = new HashMap<>();
result.putAll(Main.this);
}
}
}