类 CandidateComponentsIndexer
- java.lang.Object
- org.springframework.context.index.processor.CandidateComponentsIndexer
- 所有已实现的接口:
Processor
public class CandidateComponentsIndexer extends Object implements Processor
AnnotationProcessor
that writesCandidateComponentsMetadata
file for spring components.- 从以下版本开始:
- 5.0
- 作者:
- Stephane Nicoll, Juergen Hoeller
构造器概要
构造器 构造器 说明 CandidateComponentsIndexer()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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)
构造器详细资料
CandidateComponentsIndexer
public CandidateComponentsIndexer()
方法详细资料
getSupportedOptions
public Set<String> getSupportedOptions()
- 指定者:
getSupportedOptions
在接口中Processor
getSupportedAnnotationTypes
public Set<String> getSupportedAnnotationTypes()
- 指定者:
getSupportedAnnotationTypes
在接口中Processor
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- 指定者:
getSupportedSourceVersion
在接口中Processor
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)
- 指定者:
getCompletions
在接口中Processor