mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
when detect inaccessible classes in static context take into account NewExpression qualifiers
This commit is contained in:
+12
@@ -48,3 +48,15 @@ class MyTest1 {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class MyTest2<T> {
|
||||
static class A {
|
||||
private MyTest2 myTest;
|
||||
|
||||
public Object foo() {
|
||||
return myTest.new Bar();
|
||||
}
|
||||
}
|
||||
|
||||
class Bar {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user