mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
In some scenarios Pull Up worked correctly only by chance, thanks to incorrect resolve on copied method. However there are more scenarios, presented in new tests ReferencedStaticGenericClassFromOuterClass and ReferencedStaticMethodFromOuterClass, which did not work correctly even before. The fix addresses these cases. GitOrigin-RevId: bd56ed851dd8bbf546dba2847535a98de1eea295
15 lines
127 B
Java
15 lines
127 B
Java
|
|
class A extends C {
|
|
|
|
}
|
|
|
|
class C {
|
|
|
|
void foo() {
|
|
C.D<String> d = new C.D<>();
|
|
}
|
|
|
|
static class D<T> {
|
|
}
|
|
}
|