diff options
Diffstat (limited to 'java/typeMigration/testData/refactoring/typeMigration/t26')
3 files changed, 41 insertions, 0 deletions
diff --git a/java/typeMigration/testData/refactoring/typeMigration/t26/after/Test.items b/java/typeMigration/testData/refactoring/typeMigration/t26/after/Test.items new file mode 100644 index 000000000000..eae7ba330dd9 --- /dev/null +++ b/java/typeMigration/testData/refactoring/typeMigration/t26/after/Test.items @@ -0,0 +1,11 @@ +Types: +PsiField:f : D +PsiParameter:c : D +PsiParameter:c : D +PsiReferenceExpression:c : D +PsiReferenceExpression:f : D + +Conversions: + +New expression type changes: +Fails: diff --git a/java/typeMigration/testData/refactoring/typeMigration/t26/after/test.java b/java/typeMigration/testData/refactoring/typeMigration/t26/after/test.java new file mode 100644 index 000000000000..ee47caa11464 --- /dev/null +++ b/java/typeMigration/testData/refactoring/typeMigration/t26/after/test.java @@ -0,0 +1,15 @@ +class Test { + D f; + void foo(D c) { + f = c; + } +} + +class B extends Test { + void foo(D c) { + + } +} + +class C {} +class D extends C{}
\ No newline at end of file diff --git a/java/typeMigration/testData/refactoring/typeMigration/t26/before/test.java b/java/typeMigration/testData/refactoring/typeMigration/t26/before/test.java new file mode 100644 index 000000000000..581f5fa3bc83 --- /dev/null +++ b/java/typeMigration/testData/refactoring/typeMigration/t26/before/test.java @@ -0,0 +1,15 @@ +class Test { + C f; + void foo(C c) { + f = c; + } +} + +class B extends Test { + void foo(C c) { + + } +} + +class C {} +class D extends C{}
\ No newline at end of file |