类 AutoConfigureAnnotationProcessor
- java.lang.Object
- javax.annotation.processing.AbstractProcessor
- org.springframework.boot.autoconfigureprocessor.AutoConfigureAnnotationProcessor
- 所有已实现的接口:
Processor
@SupportedAnnotationTypes({"org.springframework.context.annotation.Configuration","org.springframework.boot.autoconfigure.condition.ConditionalOnClass","org.springframework.boot.autoconfigure.AutoConfigureBefore","org.springframework.boot.autoconfigure.AutoConfigureAfter","org.springframework.boot.autoconfigure.AutoConfigureOrder"}) public class AutoConfigureAnnotationProcessor extends AbstractProcessor
Annotation processor to store certain annotations from auto-configuration classes in a property file.
字段概要
字段 修饰符和类型 字段 说明 protected static String
PROPERTIES_PATH
从类继承的字段 javax.annotation.processing.AbstractProcessor
processingEnv
构造器概要
构造器 构造器 说明 AutoConfigureAnnotationProcessor()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected void
addAnnotations(Map<String,String> annotations)
SourceVersion
getSupportedSourceVersion()
boolean
process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
从类继承的方法 javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
字段详细资料
PROPERTIES_PATH
protected static final String PROPERTIES_PATH
- 另请参阅:
- 常量字段值
构造器详细资料
AutoConfigureAnnotationProcessor
public AutoConfigureAnnotationProcessor()
方法详细资料
addAnnotations
protected void addAnnotations(Map<String,String> annotations)
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- 指定者:
process
在接口中Processor
- 指定者:
process
在类中AbstractProcessor