Package ball.annotation.processing
Class CompileTimeCheckProcessor
- java.lang.Object
-
- ball.annotation.processing.JavaxLangModelUtilities
-
- ball.annotation.processing.AbstractProcessor
-
- ball.annotation.processing.AnnotatedProcessor
-
- ball.annotation.processing.CompileTimeCheckProcessor
-
- All Implemented Interfaces:
JavaLangReflectMethods
,Processor
@ServiceProviderFor(javax.annotation.processing.Processor.class) @For(CompileTimeCheck.class) public class CompileTimeCheckProcessor extends AnnotatedProcessor
- Author:
- Allen D. Ball
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ball.annotation.processing.AbstractProcessor
AbstractProcessor.Check<T extends Element>, AbstractProcessor.Criterion<T extends Element>
-
-
Field Summary
-
Fields inherited from class ball.annotation.processing.AbstractProcessor
filer, javac
-
Fields inherited from class ball.annotation.processing.JavaxLangModelUtilities
elements, fm, types
-
-
Constructor Summary
Constructors Constructor Description CompileTimeCheckProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
process(RoundEnvironment roundEnv, TypeElement annotation, Element element)
Callback method to process an annotatedElement
.protected void
whenAnnotationProcessingFinished()
Callback method to signalTaskEvent.Kind.ANNOTATION_PROCESSING
is finished.-
Methods inherited from class ball.annotation.processing.AnnotatedProcessor
getSupportedAnnotationTypeList, getSupportedAnnotationTypes, init, process
-
Methods inherited from class ball.annotation.processing.AbstractProcessor
getCompletions, getSupportedOptions, getSupportedSourceVersion, print, print, print, print, print
-
Methods inherited from class ball.annotation.processing.JavaxLangModelUtilities
asClass, asExecutableElement, asExecutableElement, asPackageInfoClass, asTypeElement, asTypeMirror, asTypeMirrorList, asVariableElement, getAnnotationMirror, getAnnotationMirror, getAnnotationValue, getClassLoader, getClassPathClassLoader, getClassPathClassLoader, getConstructor, getEnclosingTypeElement, getMethod, getPropertyName, getPropertyNames, getTypeElementFor, hasSameSignatureAs, hasSameSignatureAs, hasSameSignatureAs, implementationOf, isAssignableTo, isAssignableTo, isAssignableTo, isAssignableTo, isEmptyArray, isGenerated, isGetterMethod, named, overrides, overrides, signature, signature, specifiedBy, toEnumSet, toModifiers, with, withModifiers, withModifiers, without, withoutModifiers, withoutModifiers, withParameters, withParameters
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ball.lang.reflect.JavaLangReflectMethods
asModifierSet, declaration, declaration, declaration, declaration, declaration, declaration, declaration, declaration, exceptions, getModifiers, getModifiers, modifiers, parameters, type, type
-
-
-
-
Constructor Detail
-
CompileTimeCheckProcessor
public CompileTimeCheckProcessor()
-
-
Method Detail
-
whenAnnotationProcessingFinished
protected void whenAnnotationProcessingFinished()
Description copied from class:AbstractProcessor
Callback method to signalTaskEvent.Kind.ANNOTATION_PROCESSING
is finished.- Overrides:
whenAnnotationProcessingFinished
in classAbstractProcessor
-
process
protected void process(RoundEnvironment roundEnv, TypeElement annotation, Element element)
Description copied from class:AnnotatedProcessor
Callback method to process an annotatedElement
. Default implementation does nothing.- Overrides:
process
in classAnnotatedProcessor
- Parameters:
roundEnv
- TheRoundEnvironment
.annotation
- The annotationTypeElement
.element
- The annotatedElement
.
-
-