Any thoughts on whether or not this would be possi...
# detekt
s
Any thoughts on whether or not this would be possible without resolving types? (Summary: If function has an argument of type X, make sure any child call expressions for a function that has parameter of type X provide a value. ) https://github.com/arturbosch/detekt/issues/1300 For example, can I force a visitKtClass before hand to get the necessary metadata for a subsequent rule? ( Something like this processor: https://github.com/arturbosch/detekt/blob/master/detekt-sample-extensions/src/main/kotlin/io/gitlab/arturbosch/detekt/sample/extensions/processors/QualifiedNameProcessor.kt)
s
Hey! It's possible but limited to private members. You can take a look at the
UnusedPrivateMember
rule.
s
Thanks. I feel like I'm getting close to what I need, but here's the one I'm afraid to ask. Is there a way to force visiting all files to generate metadata to use on following visits?
a
Please see my issue answer 🙂
s
Thanks!