Package arez.processor
Class ArezProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
org.realityforge.proton.AbstractStandardProcessor
arez.processor.ArezProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("arez.annotations.ArezComponent")
@SupportedSourceVersion(RELEASE_17)
@SupportedOptions({"arez.defer.unresolved","arez.defer.errors","arez.debug","arez.profile","arez.verbose_out_of_round.errors"})
public final class ArezProcessor
extends org.realityforge.proton.AbstractStandardProcessor
Annotation processor that analyzes Arez annotated source and generates models from the annotations.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.realityforge.proton.AbstractStandardProcessor
org.realityforge.proton.AbstractStandardProcessor.Action<E extends Element>
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
collectStopWatches
(Collection<org.realityforge.proton.StopWatch> stopWatches) protected String
protected String
boolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment env) Methods inherited from class org.realityforge.proton.AbstractStandardProcessor
clearRootTypeNamesIfProcessingOver, collectRootTypeNames, debug, debugAnnotationProcessingRootElements, emitTypeSpec, errorIfProcessingOverAndInvalidTypesDetected, getNewTypeElementsToProcess, init, isDebugEnabled, isProfileEnabled, performAction, processTypeElements, processTypeElements, readBooleanOption, reportError, reportError, reportProfilerTimings, shouldDeferUnresolved
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
-
Constructor Details
-
ArezProcessor
public ArezProcessor()
-
-
Method Details
-
getIssueTrackerURL
- Specified by:
getIssueTrackerURL
in classorg.realityforge.proton.AbstractStandardProcessor
-
getOptionPrefix
- Specified by:
getOptionPrefix
in classorg.realityforge.proton.AbstractStandardProcessor
-
collectStopWatches
protected void collectStopWatches(@Nonnull Collection<org.realityforge.proton.StopWatch> stopWatches) - Overrides:
collectStopWatches
in classorg.realityforge.proton.AbstractStandardProcessor
-
process
public boolean process(@Nonnull Set<? extends TypeElement> annotations, @Nonnull RoundEnvironment env) - Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-