mill.kotlinlib.ksp2.worker

Members list

Type members

Classlikes

class KspWorkerImpl extends KspWorker

This class implements the in-process KSP against the KSP API which is only present at compile time. The implementation is derived from https://github.com/google/ksp/blob/main/docs/ksp2entrypoints.md with the major difference being that instead of creating a new classloader, users are expected to pass the classloader which contains the symbol processors (for example dagger-compiler, hilt-android-compiler, micronaut-inject-kotlin etc).

This class implements the in-process KSP against the KSP API which is only present at compile time. The implementation is derived from https://github.com/google/ksp/blob/main/docs/ksp2entrypoints.md with the major difference being that instead of creating a new classloader, users are expected to pass the classloader which contains the symbol processors (for example dagger-compiler, hilt-android-compiler, micronaut-inject-kotlin etc).

The provided classloader needs to be a child of the classloader of this, otherwise the discovery result of user defined processors will fail to be cast to com.google.devtools.ksp.processing.SymbolProcessorProvider.

Attributes

Source
KspWorkerImpl.scala
Supertypes
trait KspWorker
class Object
trait Matchable
class Any