Package io.github.projectunified.craftcommand.processor
package io.github.projectunified.craftcommand.processor
Base annotation processor for CraftCommand.
BaseCommandProcessor is a thin dispatcher: it hands
annotated classes to the parser factory and the resulting models to a platform generator factory. The two
halves live in parser and generator.
Annotations are read with the standard Element#getAnnotation(Class) API, so no prism generation step
or extra annotation-processing dependency is needed.
-
ClassesClassDescriptionDispatches annotated classes to the two halves of the pipeline: the parser builds a
CommandModel, the generator writes the wrapper.Compile-time type predicates shared by the parser and the generators.