How to see which code a method is called in Eclipse

How to check which code the method is called in Eclipse, open the calling level, and do the following:

1. Select this method, then click the right mouse button and select the [Open Call Hierarchy] option.

2. After a while, you can see which methods of which classes have called this method on the [Call Hierarchy] page.

3. Double-click a function to quickly enter the code and find the calling location.

Shortcut key: Ctrl+Alt+H.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325912272&siteId=291194637