mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 13:15:25 +07:00
Java: Don't show warnings at reflection access to members of the class if a subclass could be passed at that place (IDEA-177983, IDEA-173505)
This commit is contained in:
@@ -53,7 +53,7 @@ class Vararg {
|
||||
myB1 = B.class;
|
||||
}
|
||||
|
||||
void foo1() {
|
||||
void foo1() throws Exception {
|
||||
ourA.getMethod("bar", myB1);
|
||||
ourA.getMethod(<warning descr="Cannot resolve method 'bar' with specified argument types">"bar"</warning>, myB1, String.class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user