Package sting.processor
Class StingProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
org.realityforge.proton.AbstractStandardProcessor
sting.processor.StingProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes({"sting.Injector","sting.InjectorFragment","sting.Injectable","sting.Fragment","sting.Eager","sting.Typed","sting.Named","sting.AutoFragment","sting.ContributeTo"})
@SupportedSourceVersion(RELEASE_17)
@SupportedOptions({"sting.defer.unresolved","sting.defer.errors","sting.debug","sting.profile","sting.emit_json_descriptors","sting.emit_dot_reports","sting.verbose_out_of_round.errors","sting.verify_descriptors"})
public final class StingProcessor
extends org.realityforge.proton.AbstractStandardProcessor
The annotation processor that analyzes Sting annotated source code and generates an injector and supporting artifacts.
-
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 Stringvoidinit(ProcessingEnvironment processingEnv) booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment env) Methods inherited from class org.realityforge.proton.AbstractStandardProcessor
clearRootTypeNamesIfProcessingOver, collectRootTypeNames, debug, debugAnnotationProcessingRootElements, emitTypeSpec, errorIfProcessingOverAndInvalidTypesDetected, getNewTypeElementsToProcess, isDebugEnabled, isProfileEnabled, performAction, processTypeElements, readBooleanOption, reportError, reportError, reportProfilerTimings, shouldDeferUnresolvedMethods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
-
Constructor Details
-
StingProcessor
public StingProcessor()
-
-
Method Details
-
getIssueTrackerURL
- Specified by:
getIssueTrackerURLin classorg.realityforge.proton.AbstractStandardProcessor
-
getOptionPrefix
- Specified by:
getOptionPrefixin classorg.realityforge.proton.AbstractStandardProcessor
-
init
-
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
-