hide fixes which expose unresolved type parameters; add fixes for boxing

IDEA-150081
This commit is contained in:
Anna.Kozlova
2018-01-12 18:53:17 +01:00
parent ab2ebdfbf2
commit 8ce7fac354
9 changed files with 61 additions and 29 deletions
@@ -0,0 +1,9 @@
// "Change parameter 'a' type to 'java.lang.Long[]'" "true"
class Base {
void m(Long[] a) {
mg(a);
}
<T> void mg(T[] p) {}
}
@@ -0,0 +1,9 @@
// "Change parameter 'a' type to 'java.lang.Long[]'" "true"
class Base {
void m(long[] a) {
mg(<caret>a);
}
<T> void mg(T[] p) {}
}
@@ -0,0 +1,9 @@
// "Change parameter 'a' type to 'T[]'" "false"
class Base {
void m(long[] a) {
mg(<caret>a);
}
<T> void mg(T[] p) {}
}