Hello, I’m playing around with `detekt` and wanna ...
# getting-started
o
Hello, I’m playing around with
detekt
and wanna write custom rules for android (e.g. ignore UnsafeCast for
context.getSystemService
), so a bit messy with AST and
compiler-embedable
module. Could anyone provide link to some tutorial or smth to understand basics of
ASTNode
parsing: e.g. how to get method body properly or get variable type, etc. Thanks!
s
I hope that helps. https://github.com/arturbosch/detekt#extending-detekt You might want to join the #detekt channel here.
o
Thanks! I’ve read the manual and have already done some custom rules for android, but wanna read some introduction/overview of kotlin libs/classes to work on PSI