Join Slack
Communities
Powered by
is there a way to find the name of the source file...
# announcements
c
christophsturm
09/10/2018, 5:17 PM
is there a way to find the name of the source file for a class?
christophsturm
09/10/2018, 5:18 PM
currently i do it like this:
https://github.com/christophsturm/strikt/blob/christoph/file-peek/strikt-core/src/main/kotlin/strikt/internal/peek/FilePeek.kt#L18
but that only works when the file has the same name as the class.
3
Views
Open in Slack
Previous
Next