public abstract class ProtocolJSR311AnnotationProcessor extends AnnotatedProcessor
Modifier and Type | Class and Description |
---|---|
static class |
ProtocolJSR311AnnotationProcessor.Method
|
AbstractProcessor.Check<T extends Element>, AbstractProcessor.Criterion<T extends Element>
elements, filer, fm, javac, trees, types
processingEnv
Constructor and Description |
---|
ProtocolJSR311AnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
check(TypeElement annotation,
TypeElement type,
ExecutableElement method)
Method to check an annotated interface method.
|
void |
process(RoundEnvironment roundEnv,
TypeElement annotation,
Element element)
Callback method to process an annotated
Element . |
getSupportedAnnotationTypeList, getSupportedAnnotationTypes, init, process
asTypeElement, asTypeMirror, asTypeMirrorList, getAnnotationMirror, getAnnotationMirror, getAnnotationValue, getClassPathClassLoader, getConstructor, getMethod, getMethod, getPropertyName, getPropertyNames, getSupportedSourceVersion, hasSameSignatureAs, hasSameSignatureAs, hasSameSignatureAs, implementationOf, isAssignableTo, isAssignableTo, isAssignableTo, isAssignableTo, isEmptyArray, isGetterMethod, named, overrides, overrides, print, print, print, print, print, specifiedBy, toEnumSet, whenAnnotationProcessingFinished, with, withModifiers, withModifiers, without, withoutModifiers, withoutModifiers, withParameters, withParameters
getCompletions, getSupportedOptions, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asModifierSet, declaration, declaration, declaration, declaration, declaration, declaration, exceptions, getModifiers, getModifiers, modifiers, parameters, type, type
public ProtocolJSR311AnnotationProcessor()
public void process(RoundEnvironment roundEnv, TypeElement annotation, Element element)
AnnotatedProcessor
Element
. Default
implementation does nothing.process
in class AnnotatedProcessor
roundEnv
- The RoundEnvironment
.annotation
- The annotation TypeElement
.element
- The annotated Element
.protected abstract void check(TypeElement annotation, TypeElement type, ExecutableElement method)
annotation
- The annotation being processed.type
- The interface containing the method.method
- The annotated method.Copyright © 2015–2020 Allen D. Ball. All rights reserved.