Class CandidateComponentsIndexer
- java.lang.Object
- org.springframework.context.index.processor.CandidateComponentsIndexer
- All Implemented Interfaces:
Processor
public class CandidateComponentsIndexer extends Object implements Processor
AnnotationProcessorthat writesCandidateComponentsMetadatafile for spring components.- Since:
- 5.0
- Author:
- Stephane Nicoll, Juergen Hoeller
Constructor Summary
Constructors Constructor Description CandidateComponentsIndexer()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<? extends Completion>getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText)Set<String>getSupportedAnnotationTypes()Set<String>getSupportedOptions()SourceVersiongetSupportedSourceVersion()voidinit(ProcessingEnvironment env)booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
Constructor Detail
CandidateComponentsIndexer
public CandidateComponentsIndexer()
Method Detail
getSupportedOptions
public Set<String> getSupportedOptions()
- Specified by:
getSupportedOptionsin interfaceProcessor
getSupportedAnnotationTypes
public Set<String> getSupportedAnnotationTypes()
- Specified by:
getSupportedAnnotationTypesin interfaceProcessor
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfaceProcessor
init
public void init(ProcessingEnvironment env)
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
getCompletions
public Iterable<? extends Completion> getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText)
- Specified by:
getCompletionsin interfaceProcessor