-
Hi! I'm attempting to write a custom rule. With this given code sample:
I'd like to be able to resolve I'm able to visit and grab the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This depends heavily on what you are trying to achieve. If you can statically determine the value of the variable, without actually running the program, then I think it’s possible. I guess a good starting point is the UnusedPrivateMember rule of the detekt standard ruleset. |
Beta Was this translation helpful? Give feedback.
This depends heavily on what you are trying to achieve. If you can statically determine the value of the variable, without actually running the program, then I think it’s possible.
I guess a good starting point is the UnusedPrivateMember rule of the detekt standard ruleset.