https://kotlinlang.org logo
#kapt
Title
# kapt
r

raulraja

12/03/2018, 12:14 PM
Hi, Is there a way in kapt or by other means through Kotlin reflection or @Eugenio metadata lib to access the
KDoc
of a class and its functions programmatically? I looked in both APIs and could not find any references to the content about kdoc.
e

Eugenio

12/03/2018, 12:30 PM
Unfortunately that's only available in the sources, so you can only extract that through the full AST
👍 1
using retention-annotation-like scopes:
Copy code
✅ SOURCE
❌ BINARY
❌ RUNTIME
3 Views