summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/refactoring/typeMigration/t31/after
diff options
context:
space:
mode:
Diffstat (limited to 'java/typeMigration/testData/refactoring/typeMigration/t31/after')
-rw-r--r--java/typeMigration/testData/refactoring/typeMigration/t31/after/Test.items9
-rw-r--r--java/typeMigration/testData/refactoring/typeMigration/t31/after/test.java8
2 files changed, 17 insertions, 0 deletions
diff --git a/java/typeMigration/testData/refactoring/typeMigration/t31/after/Test.items b/java/typeMigration/testData/refactoring/typeMigration/t31/after/Test.items
new file mode 100644
index 000000000000..7459a22f27d0
--- /dev/null
+++ b/java/typeMigration/testData/refactoring/typeMigration/t31/after/Test.items
@@ -0,0 +1,9 @@
+Types:
+PsiField:f : java.lang.Object
+PsiReferenceExpression:f : java.lang.Object
+
+Conversions:
+
+New expression type changes:
+Fails:
+f->java.lang.Object
diff --git a/java/typeMigration/testData/refactoring/typeMigration/t31/after/test.java b/java/typeMigration/testData/refactoring/typeMigration/t31/after/test.java
new file mode 100644
index 000000000000..ec7fb8e9807d
--- /dev/null
+++ b/java/typeMigration/testData/refactoring/typeMigration/t31/after/test.java
@@ -0,0 +1,8 @@
+class Test {
+ Object f;
+ void foo(){}
+
+ void bar() {
+ f.foo();
+ }
+} \ No newline at end of file