lombok-intellij-plugin
lombok-intellij-plugin copied to clipboard
No usages found for @Delegate methods
Carried over from original posting at https://code.google.com/p/projectlombok/issues/detail?id=779
Repro steps:
- Create type
A
with method#doStuff
- Create type
B
with a field of typeA
annotated with@Delegate
- In a main method (or elsewhere), call
B#doStuff
(the delegated method) - Go to the definition of
A#doStuff
- Notice that it shows up as an "unused" method (grayed out, etc)
The expected behaviour is that Lombok's IDEA plugin would detect that A#doStuff
is in fact being "used", just indirectly through the call to B#doStuff
.
I'm using:
- Lombok v1.14.8 / v1.16.0
- Lombok IDEA plugin v0.8.9
- IDEA 14.1 EAP (IU-140.2110.5)
Similar issue #186
Similar issue #144
+1
Was about to post an issue "Method is marked as unused, if all usages are via @Delegate method"
+1
It would be great, if the usages would include JSF Expression Language.
+1 Was about to do the same as @Ajk4
+1
+1
+1
+1
+1
+1 :'(