I am looking for a static analysis tool that given...
# announcements
j
I am looking for a static analysis tool that given a className prints to the console its Type Hierarchy in my project. Example
Copy code
$ ./staticAnalysis android.app.Activity
android.app.Activity
  \-- FragmentActivity
    \-- AppCompatActivity
         \-- MyActivity1
         \-- MyActivity2
Does that exist?
i
I haven’t seen anything like this, besides does not look like typical static analysis task to me as it does not really check anything
j
My use case : would be cool to automate the technical documentation in my projects I want basically a text version of the command
Type Hierarchy
in Android Studio / IntelliJ
i
Proper way to do it is to generate documentation from code https://kotlinlang.org/docs/reference/kotlin-doc.html I never used for Kotlin, however these tools usually generate proper documentation where you can see class hierarchy and even navigate through it
👍 1