Find usages of lombok generated getter/setter in Intellij

luke :

I have a field with lombok annotation (@Setter) and I am looking for an easy way to find usages of the auto generated setter.

When I put the cursor on the @Setter annotation and run Find usages (Alt+F7) I obviously get all the places where @Setter annotation is used (the result is all classes which contains lines with @Setter)

However I would like to find all places where this concrete setter, for this concrete field is used (I expect all classes which contains lines with setSomething(...) as a result)

I have Annotation Processing enabled (checkbox "Enable annotation processing" inSettings->Compiler->Annotation Processors is checked).
I also have Lombok plugin installed and it works fine.

Kamil :

You should put the cursor on field, not on @Setter annotation

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=93894&siteId=1