Given an example:
@Data
public VO {
private String item;
}
How to build call hierarchy for the getItem()
?
I know there is a cumbersome path :open Structure, then find the method, then build hierarchy. Is there more efficient path or plugin?
From the main menu, select Navigate | Call Hierarchy or press Ctrl+Alt+H .
To find the references of a method, eclipse has a plugin called Open Call Hierarchy(Ctrl+Alt+H).
you can open the "stucture view" this should display the generated methods. If not you maybe need to install the lombok plugin.
In the structure view select the method getItem()
and press the short cut for the call hierarchy (Strg + Alt + H) and the call hierarchy for the selected method will open up.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With