Simple Annotation Processor

I recently needed to develop an annotation processor in Kotlin, posting here for future reference. This is the class level annotation: And here is the declaration of the annotation processor: Followed by the usual overrides: These fields keep track of what has been processed: The process method: identifies types to process, and extracts configuration information. […]