Just so I'm not mistaken: There is currently no way to do a reference search in a Detekt rule or is ...
t
Just so I'm not mistaken: There is currently no way to do a reference search in a Detekt rule or is there?
s
Hello Thomas! What do you mean by reference search? What do you want to achieve? Otherwise, it’s hard to answer your question. Thank you!
Now, your question is clear to me. There is an issue in the detekt repo, discussing a similar use case. For now, I’d look into the implementation of the UnunsedPrivateMember rule and try out whether that works for your scenario.