LD is tigger forever,CG are not brothers forever, throw the pot and shine forever.
Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away from poor people.
talk is cheap, show others the code and KPI, Keep progress,make a better result.
Survive during the day and develop at night。
目录
概 述
快速查看调用图呢“
主要IEDA:
1.IntelliJ IDEA的"Find Usage"可以查看一个Java类、方法或变量的直接使用情况。
2.Eclipse的"Call Hierarchy"可以查看一个Java方法或类成员变量的调用树(caller和callee两个方向),非常方便。
IntelliJ IDEA中可以在主菜单中选择Navigate | Call Hierarchy命令查看一个Java方法调用树(caller和callee两个方向),但是不像Eclipse那样可以查看类成员变量的调用树。
如下图,左上角的两个按钮是调用和被调用关系的显示。
IntelliJ IDEA中可以在主菜单中选择Analyze | Dataflow from/to Here两个命令查看表达式**、变量和方法参数**的传递关系树。
from here : 是指从这个出发的关系图。
to here : 传递到这里的数据。
类关系图:
在包或类上右键点击Diagram或者用快捷键Ctrl+Alt+U。
小结
参考
资料和推荐阅读
1.链接: 参考资料.