'Eclipse with Lombok - search for getter and setter usages
I'm using Eclipse with Lombok. The getters and setters are generated properly but they are not visible in class body (that's the whole point, I know). However, because of that, I am unable to execute a search for usages of a getter or a setter from inside the class. So if I want to check what and where actually sets a particular value of a field, I have to execute a String search for the getter name, which is slow and may give bad results (for a field of the same name in another class, for example).
Is there a way in Eclipse to look for a getter/setter usage for a field for lombok-generated methods?
Solution 1:[1]
Apart from finding the method in outline and then right click and find references, there is no other option as of now. Same holds good for constructors provided by lombok.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Kiran |
