unchecked call: warning should be shown if instance method is called on raw type (IDEA-61449)

This commit is contained in:
Anna Kozlova
2012-11-01 19:08:11 +01:00
parent 8213749000
commit 5f0225177e
3 changed files with 9 additions and 1 deletions
@@ -0,0 +1,6 @@
class Test {
{
Class foo = Object.class;
<warning descr="Unchecked call to 'isAssignableFrom(Class<?>)' as a member of raw type 'java.lang.Class'">foo.isAssignableFrom</warning>(Object.class);
}
}