@ServiceProviderFor(value=javax.annotation.processing.Processor.class) @For(value={LetterPremium.class,WordPremium.class}) public class PremiumProcessor extends ball.annotation.processing.AbstractAnnotationProcessor
Processor
implementation to check Class
es annotated with
LetterPremium
or WordPremium
:
SQ
,LetterPremium
or
WordPremium
AT, CHARSET, COLON, DOT, elements, filer, META_INF, SLASH, SPACE, types
processingEnv
Constructor and Description |
---|
PremiumProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
init(ProcessingEnvironment processingEnv)
See
AbstractProcessor.elements and AbstractProcessor.types . |
void |
process(RoundEnvironment roundEnv,
TypeElement annotation,
Element element)
Callback method to process an annotated
Element . |
getSupportedAnnotationTypeList, getSupportedAnnotationTypes, print, process
asModifierSet, asPath, asPath, asPath, asPath, asPath, getAnnotationMirror, getAnnotationMirror, getExecutableElementFor, getExecutableElementFor, getExecutableElementFor, getModifierSetFor, getModifierSetFor, getPackageElementFor, getPropertyName, getPropertyNames, getSupportedSourceVersion, getTargetElementTypesFor, getTargetElementTypesFor, getTypeElementFor, getTypeMirrorFor, getTypeMirrorsFor, hasPublicNoArgumentConstructor, implementationOf, isAssignable, isAssignable, isAssignable, isGetterMethod, isSameType, isSameType, isSameType, overrides, overrides, print, specifiedBy, toPath, toString
getCompletions, getSupportedOptions, isInitialized
public PremiumProcessor()
public void init(ProcessingEnvironment processingEnv)
ball.annotation.processing.AbstractProcessor
AbstractProcessor.elements
and AbstractProcessor.types
.public void process(RoundEnvironment roundEnv, TypeElement annotation, Element element) throws Exception
ball.annotation.processing.AbstractAnnotationProcessor
Element
.process
in class ball.annotation.processing.AbstractAnnotationProcessor
roundEnv
- The RoundEnvironment
.annotation
- The annotation TypeElement
.element
- The annotated Element
.Exception
- If an exception occurs.Copyright © 2015–2020. All rights reserved.