QuickFix for UNCHECKED_CAST

This commit is contained in:
Wojciech Lopata
2013-02-19 22:46:06 +01:00
committed by Evgeny Gerashchenko
parent db99492b9c
commit 1f3739415a
9 changed files with 116 additions and 1 deletions
@@ -0,0 +1,4 @@
// "Change type argument list to <*>" "true"
public fun foo(a: Any) {
a as List<*>
}
@@ -0,0 +1,4 @@
// "Change type argument list to <*, *>" "true"
public fun foo(a: Any?) {
a as Map<*, *>?
}
@@ -0,0 +1,4 @@
// "Change type argument list to <*>" "true"
public fun foo(a: Any) {
a as List<Int><caret>
}
@@ -0,0 +1,4 @@
// "Change type argument list to <*, *>" "true"
public fun foo(a: Any?) {
a as Map<*, Int>?<caret>
}