Class IrisSpecProcessor
Javadoc 27 generates this reference during each site build from the exported packages and the annotation processor. The Java guide shows the API in use.
- All Implemented Interfaces:
Processor
IrisSpec, as the
annotation's documentation describes.
A missing or unreadable file, a reader spec that does not parse or check, a nested type, and a generated class that exists already are errors, reported at the annotation's value or at the annotated type. A spec whose entries would take more than 254 parameter slots, the most that a record's canonical constructor can take, gets no record and no reader, with a note; its handles class is generated all the same. The generated classes are laid out as google-java-format lays them out.
The processor checks the spec with dev.gecode.iris and finds its entries with that
library's internal port of the output entries of iris gen, so it must run from the
processor path, where the library is not a named module.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe processor option that names the directory that relative paths resolve against.Fields inherited from class AbstractProcessor
processingEnv -
Constructor Summary
ConstructorsConstructorDescriptionCreates the processor, which the compiler does through the service loader. -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment round) Methods inherited from class AbstractProcessor
getCompletions, init, isInitialized
-
Field Details
-
ROOT_OPTION
The processor option that names the directory that relative paths resolve against.
-
-
Constructor Details
-
IrisSpecProcessor
public IrisSpecProcessor()Creates the processor, which the compiler does through the service loader.
-
-
Method Details
-
getSupportedAnnotationTypes
- Specified by:
getSupportedAnnotationTypesin interfaceProcessor- Overrides:
getSupportedAnnotationTypesin classAbstractProcessor
-
getSupportedOptions
- Specified by:
getSupportedOptionsin interfaceProcessor- Overrides:
getSupportedOptionsin classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-