使用IDEA中的 Find Usages ,能够查看某个方法、变量,在哪个地方进行了引用。
在上述的图片中,我选中了一个方法,右键选择 Find Usages ,点击之后即可看到此方法,究竟被几个地方进行引用。
10-25
2753
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-08
3万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-20
1948
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
使用IDEA中的 Find Usages ,能够查看某个方法、变量,在哪个地方进行了引用。
在上述的图片中,我选中了一个方法,右键选择 Find Usages ,点击之后即可看到此方法,究竟被几个地方进行引用。