@ServiceProviderFor(value=javax.annotation.processing.Processor.class) @For(value=ServiceProviderFor.class) public class ServiceProviderForProcessor extends AnnotatedProcessor implements ClassFileProcessor
Processor implementation to check Classes annotated with
ServiceProviderFor to verify the annotated Class:
Classes specified by
ServiceProviderFor.value()
AbstractProcessor.Check<T extends Element>, AbstractProcessor.Criterion<T extends Element>filer, javacelements, fm, MODIFIERS, types| Constructor and Description |
|---|
ServiceProviderForProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
process(RoundEnvironment roundEnv,
TypeElement annotation,
Element element)
Callback method to process an annotated
Element. |
void |
process(Set<Class<?>> set,
JavaFileManager fm)
Processor alternate entry point. |
getSupportedAnnotationTypeList, getSupportedAnnotationTypes, init, processgetCompletions, getSupportedOptions, getSupportedSourceVersion, print, print, print, print, print, whenAnnotationProcessingFinishedasClass, asExecutableElement, asExecutableElement, asPackageInfoClass, asTypeElement, asTypeMirror, asTypeMirrorList, asVariableElement, getAnnotationMirror, getAnnotationMirror, getAnnotationValue, getClassLoader, getClassPathClassLoader, getClassPathClassLoader, getConstructor, getEnclosingTypeElement, getMethod, getMethod, getPropertyName, getPropertyNames, getTypeElementFor, hasSameSignatureAs, hasSameSignatureAs, hasSameSignatureAs, implementationOf, isAssignableTo, isAssignableTo, isAssignableTo, isAssignableTo, isEmptyArray, isGetterMethod, named, overrides, overrides, signature, signature, specifiedBy, toEnumSet, toModifiers, with, withModifiers, withModifiers, without, withoutModifiers, withoutModifiers, withParameters, withParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlistgetCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, processasModifierSet, declaration, declaration, declaration, declaration, declaration, declaration, exceptions, getModifiers, getModifiers, modifiers, parameters, type, typepublic ServiceProviderForProcessor()
protected void process(RoundEnvironment roundEnv, TypeElement annotation, Element element)
AnnotatedProcessorElement. Default
implementation does nothing.process in class AnnotatedProcessorroundEnv - The RoundEnvironment.annotation - The annotation TypeElement.element - The annotated Element.public void process(Set<Class<?>> set, JavaFileManager fm) throws Exception
ClassFileProcessorProcessor alternate entry point.process in interface ClassFileProcessorset - The Set of Classes to
analyze.fm - The configured JavaFileManager (for
writing output files).Exception - If the implementation throws a
Exception.Copyright © 2015–2021. All rights reserved.