Join Slack
Is there an API I can use to determine what properties/functions are unused in a given set of classe...
# compiler
e
eygraber
02/10/2022, 7:00 PM
Is there an API I can use to determine what properties/functions are unused in a given set of classes in my project (without using the IDE)?
t
Tim Oltjenbruns
02/11/2022, 3:31 PM
Detekt may be helpful here? It uses a compiler plugin to find unused functions/properties among other things
e
eygraber
02/11/2022, 3:51 PM
Those checks only run for private members, etc...
t
Tim Oltjenbruns
02/11/2022, 3:58 PM
ah yes, maybe you could extend the rule and use it in a custom one
3
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by