Highlights
- Added KSClassDeclaration. getSealedSubclasses() API (credit to @ZacSweers)
- KSP now handles exceptions instead of throwing them. For KSP internal exceptions, KSP will return an
InternalError
to compiler, for processors thrown exceptions, KSP will returnCompilationError
to compiler. Please files bugs forInternalError
s
API and behavior changes
SymbolProcessor.finish()
now has a default implementation of no op.- If KSP has been executing for more than 100 rounds, a warning will be printed to indicate potential infinite loop caused by inappropriate multiple round processors.