blankboy2011
blankboy2011

Reputation: 369

How to build call hierarchy for lombok generated method in intellij-idea

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?

Upvotes: 12

Views: 2261

Answers (1)

Simulant
Simulant

Reputation: 20142

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 (Ctrl + Alt + H) and the call hierarchy for the selected method will open up.

Upvotes: 18

Related Questions