What are for `.kotlin_module` files are used? I c...
# announcements
e
What are for
.kotlin_module
files are used? I can not open it in IDE unfrotunately
l
Would probably be a great one for StackOverflow
e
Just to keep it for the history?
Or it is basic question that I can easily find answer myself
l
History.
Copy code
The original purpose of .kotlin_module files is to store the package parts mapping to the compiled class files. The compiler uses them to resolve top-level function calls in a library attached to the project. Also, Kotlin reflection uses the .kotlin_module files to construct the top level members metadata at runtime. See more: Improving Java Interop: Top-Level Functions and Properties
l
Probably makes sense to ask the exact question and answer it yourself, because here, the question is different.
e
It makes sense for sure
590 Views