mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 16:20:55 +07:00
due to the comb rule, class or interface to search determines by the innermost class with the same named member GitOrigin-RevId: 1b6c3650e3ec49bc5fccc1b72e30019a7ed2f550
17 lines
448 B
Plaintext
17 lines
448 B
Plaintext
public class RenameCollisions {
|
|
public static void staticMethod() {
|
|
}
|
|
public static class StaticInnerClass {
|
|
public static void staticMethod(String s) {
|
|
}
|
|
public void instanceContext() {
|
|
RenameCollisions.staticMethod();
|
|
staticMethod("a");
|
|
}
|
|
public static void staticContext() {
|
|
RenameCollisions.staticMethod();
|
|
staticMethod("b");
|
|
}
|
|
}
|
|
}
|