Class CandidateComponentsIndexer
- java.lang.Object
- org.springframework.context.index.processor.CandidateComponentsIndexer
- All Implemented Interfaces:
Processor
public class CandidateComponentsIndexer extends Object implements Processor
AnnotationProcessor
that writesCandidateComponentsMetadata
file 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()
SourceVersion
getSupportedSourceVersion()
void
init(ProcessingEnvironment env)
boolean
process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
Constructor Detail
CandidateComponentsIndexer
public CandidateComponentsIndexer()
Method Detail
getSupportedOptions
public Set<String> getSupportedOptions()
- Specified by:
getSupportedOptions
in interfaceProcessor
getSupportedAnnotationTypes
public Set<String> getSupportedAnnotationTypes()
- Specified by:
getSupportedAnnotationTypes
in interfaceProcessor
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersion
in 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:
getCompletions
in interfaceProcessor