Package host.anzo.commons.processors
Class ExtendedEnumProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
host.anzo.commons.processors.CommonProcessor
host.anzo.commons.processors.ExtendedEnumProcessor
- All Implemented Interfaces:
Processor
@AutoService(javax.annotation.processing.Processor.class)
@SupportedOptions("CommonsCoreVerbose")
@SupportedAnnotationTypes("host.anzo.commons.annotations.processors.ExtendedEnum")
public class ExtendedEnumProcessor
extends CommonProcessor
-
Field Summary
Fields inherited from class host.anzo.commons.processors.CommonProcessor
isVerbose, maker, messager, names, treesFields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Process the given annotations and round environment.Methods inherited from class host.anzo.commons.processors.CommonProcessor
addToStaticInitializer, capitalize, createQualifiedName, fieldExists, findFieldType, findMethodReturnType, getBoxedType, getJavacProcessingEnvironment, getSupportedSourceVersion, init, log, logError, logWarn, methodExists, printCompilationUnitAstMethods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
-
Constructor Details
-
ExtendedEnumProcessor
public ExtendedEnumProcessor()
-
-
Method Details
-
process
Process the given annotations and round environment.- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor- Parameters:
annotations- The annotation types requested to be processed.roundEnv- The environment for information about the current and previous round.- Returns:
trueif the annotation processing was successful,falseotherwise.- See Also:
-