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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcollectStopWatches(Collection<org.realityforge.proton.StopWatch> stopWatches) protected Stringprotected Stringbooleanprocess(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, shouldDeferUnresolvedMethods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
-
Constructor Details
-
ArezProcessor
public ArezProcessor()
-
-
Method Details
-
getIssueTrackerURL
- Specified by:
getIssueTrackerURLin classorg.realityforge.proton.AbstractStandardProcessor
-
getOptionPrefix
- Specified by:
getOptionPrefixin classorg.realityforge.proton.AbstractStandardProcessor
-
collectStopWatches
protected void collectStopWatches(@Nonnull Collection<org.realityforge.proton.StopWatch> stopWatches) - Overrides:
collectStopWatchesin classorg.realityforge.proton.AbstractStandardProcessor
-
process
public boolean process(@Nonnull Set<? extends TypeElement> annotations, @Nonnull RoundEnvironment env) - Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-