这是我的示例 java 代码:
public class Test {
public static void main(String[] args) {
methodDepth0(
()->
methodDepth1(
()->
methodDepth2()
)
);
}
static Object methodDepth2() {
return null;
}
interface MyIF {
void call();
}
static void methodDepth0(MyIF myIf){
myIf.call();
}
interface MyIF2 {
void call();
}
static void methodDepth1(MyIF2 myIf2){
myIf2.call();
}
}
methodDepth2()当我从 Eclipse(4.4)
打开方法的调用层次结构时,open call hierarchy停止搜索下一个调用者:

我所期望的就像打开方法的调用层次结构,methodDepth1()直到main方法显示。
