Is there some tooling that will produce an abstrac...
# compiler
c
Is there some tooling that will produce an abstract syntax tree for an app written in Kotlin? There is some static analysis that I would like to do to check for custom patterns in my code base.
👀 1
p
You can use KSP for that
For example I have that in my MPP project to throw an error when a public property is called description because it clashes with swift
j
UAST will do this
KSP only shows signatures, not any kind of code / implementation
c
Very cool. Thank you.
c
@Carl Hickman not sure if you know about android lint. It's got android in the name, but it's not actually android specific. Might be worth checking out?

https://www.youtube.com/watch?v=p8yX5-lPS6o

👍 1
p
It won't work with MPP however