mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
- Fake override prevents reference shortener from shortening of static methods declared in the class bases when they are located not in direct parent of the class (for example, in grand- or grand-grand-parent) - The completion uses descriptor with unwrapped fake override when it performs the insertion. It leads to inserting the name of the base which actually contains the static method instead of the direct parent class. Now, when reference shortener compares unwrapped descriptors, this problem should be fixed during insertion handling Original commit: 2c12d26d281f43a6eb0b67c7154c42bc7f0120e7 GitOrigin-RevId: f990b3a2cded28a980436e37bf64d750698161c6
7 lines
155 B
Java
7 lines
155 B
Java
public class Container {
|
|
public static class GrandBase {
|
|
public static void foo() {}
|
|
}
|
|
|
|
public static class Base extends GrandBase {}
|
|
} |