Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Attempt to make 'find callers' on @Data do the right thing (constructor). #78
finding the callers of a constructor of a data class could be useful, but right now this is hard to do,
anecdotal evidence, sample size 1: Right now you get callers of hashCode(), which is pointless.
The 'right' answer is to pick the (static) constructor - for getters/setters, you can just annotate the
Okay, this trick works, but only for the static constructor. The real constructor will not show up at the end even if
HOWEVER: You can start 'find callers' while the class name is under the cursor (the "Bar" in "public @ Data class