Package react4j.processor
Class React4jProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
org.realityforge.proton.AbstractStandardProcessor
react4j.processor.React4jProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("react4j.annotations.View")
@SupportedSourceVersion(RELEASE_17)
@SupportedOptions({"react4j.defer.unresolved","react4j.defer.errors","react4j.debug","react4j.profile","react4j.verbose_out_of_round.errors"})
public final class React4jProcessor
extends org.realityforge.proton.AbstractStandardProcessor
Annotation processor that analyzes React 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
-
React4jProcessor
public React4jProcessor()
-
-
Method Details
-
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
-
getIssueTrackerURL
- Specified by:
getIssueTrackerURL
in classorg.realityforge.proton.AbstractStandardProcessor
-
getOptionPrefix
- Specified by:
getOptionPrefix
in classorg.realityforge.proton.AbstractStandardProcessor
-