summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/refactoring/typeMigration/t67
diff options
context:
space:
mode:
Diffstat (limited to 'java/typeMigration/testData/refactoring/typeMigration/t67')
-rw-r--r--java/typeMigration/testData/refactoring/typeMigration/t67/after/Test.items12
-rw-r--r--java/typeMigration/testData/refactoring/typeMigration/t67/after/test.java9
-rw-r--r--java/typeMigration/testData/refactoring/typeMigration/t67/before/test.java9
3 files changed, 30 insertions, 0 deletions
diff --git a/java/typeMigration/testData/refactoring/typeMigration/t67/after/Test.items b/java/typeMigration/testData/refactoring/typeMigration/t67/after/Test.items
new file mode 100644
index 000000000000..0e5e72eb6f30
--- /dev/null
+++ b/java/typeMigration/testData/refactoring/typeMigration/t67/after/Test.items
@@ -0,0 +1,12 @@
+Types:
+PsiField:myForAccess : java.lang.String
+PsiMethod:forAccess : java.lang.String
+PsiMethodCallExpression:this.forAccess() : java.lang.String
+PsiParameter:p : java.lang.String
+PsiReferenceExpression:myForAccess : java.lang.String
+PsiReferenceExpression:p : java.lang.String
+
+Conversions:
+
+New expression type changes:
+Fails:
diff --git a/java/typeMigration/testData/refactoring/typeMigration/t67/after/test.java b/java/typeMigration/testData/refactoring/typeMigration/t67/after/test.java
new file mode 100644
index 000000000000..8a4fda4a0fac
--- /dev/null
+++ b/java/typeMigration/testData/refactoring/typeMigration/t67/after/test.java
@@ -0,0 +1,9 @@
+class Test {
+ private String myForAccess;
+ private String forAccess() {
+ return myForAccess;
+ }
+ public void methMemAcc(String p) {
+ p = this.forAccess();
+ }
+} \ No newline at end of file
diff --git a/java/typeMigration/testData/refactoring/typeMigration/t67/before/test.java b/java/typeMigration/testData/refactoring/typeMigration/t67/before/test.java
new file mode 100644
index 000000000000..57a1c5db091b
--- /dev/null
+++ b/java/typeMigration/testData/refactoring/typeMigration/t67/before/test.java
@@ -0,0 +1,9 @@
+class Test {
+ private Object myForAccess;
+ private Object forAccess() {
+ return myForAccess;
+ }
+ public void methMemAcc(Object p) {
+ p = this.forAccess();
+ }
+} \ No newline at end of file