Hi, I'm writing compiler plugin that generates add...
# compiler
j
Hi, I'm writing compiler plugin that generates additional data for already compiled classes in libraries. I want to create
syntetic.
package for them. In
getPackageFragmentProvider
for IDE I'm using
Copy code
AllClassesSearch.search(moduleInfo.contentScope(), project)
          .findAll()
and it works fine. But in CLI moduleInfo is null and for indexes I'm getting
e: java.lang.NoClassDefFoundError: org/jetbrains/kotlin/com/intellij/psi/search/FileTypeIndex
. Is there a way to get all compiled classes in CLI? Only example for
PackageFragmentProviderExtension
is Android extensions and it uses existing files.