Highlights
- Added KSClassDeclaration. getSealedSubclasses() API (credit to @ZacSweers)
- KSP now handles exceptions instead of throwing them. For KSP internal exceptions, KSP will return an
InternalErrorto compiler, for processors thrown exceptions, KSP will returnCompilationErrorto compiler. Please files bugs forInternalErrors
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.