summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/refactoring/wildcard/producerExtendsCollectionChanged/after/Test.items
diff options
context:
space:
mode:
Diffstat (limited to 'java/typeMigration/testData/refactoring/wildcard/producerExtendsCollectionChanged/after/Test.items')
-rw-r--r--java/typeMigration/testData/refactoring/wildcard/producerExtendsCollectionChanged/after/Test.items11
1 files changed, 11 insertions, 0 deletions
diff --git a/java/typeMigration/testData/refactoring/wildcard/producerExtendsCollectionChanged/after/Test.items b/java/typeMigration/testData/refactoring/wildcard/producerExtendsCollectionChanged/after/Test.items
new file mode 100644
index 000000000000..88976428ea99
--- /dev/null
+++ b/java/typeMigration/testData/refactoring/wildcard/producerExtendsCollectionChanged/after/Test.items
@@ -0,0 +1,11 @@
+Types:
+PsiMethodCallExpression:p.add(new Integer(8)) : boolean
+PsiParameter:p : java.util.Set<? extends java.lang.Object>
+PsiReferenceExpression:p : java.util.Set<? extends java.lang.Object>
+
+Conversions:
+p.add(new Integer(8)) -> $
+
+New expression type changes:
+Fails:
+new Integer(8)->? extends java.lang.Object