Class CapabilityProcessor

java.lang.Object
javax.annotation.processing.AbstractProcessor
org.pjdbc.annotations.processor.CapabilityProcessor
All Implemented Interfaces:
Processor

@SupportedAnnotationTypes("org.pjdbc.annotations.DriverCapability") @SupportedSourceVersion(RELEASE_21) public class CapabilityProcessor extends AbstractProcessor
Annotation processor that generates pjdbc.capabilities.json from driver annotations.

This processor scans for classes annotated with DriverCapability and generates a JSON manifest containing all driver metadata. The manifest is written to META-INF/pjdbc.capabilities.json in the output resources.

The processor runs at compile time and ensures the manifest is always in sync with the actual driver implementations.