public abstract class AbstractVerifier extends Object
Modifier and Type | Field and Description |
---|---|
protected ProcessingEnvironment |
env |
Constructor and Description |
---|
AbstractVerifier(ProcessingEnvironment env) |
Modifier and Type | Method and Description |
---|---|
protected static AnnotationValue |
findAnnotationValue(AnnotationMirror mirror,
String name) |
abstract Class<? extends Annotation> |
getAnnotationClass() |
protected static <T> T |
resolveAnnotationValue(Class<T> expectedType,
AnnotationValue value) |
abstract void |
verify(Element element,
AnnotationMirror annotation) |
protected final ProcessingEnvironment env
public AbstractVerifier(ProcessingEnvironment env)
public abstract void verify(Element element, AnnotationMirror annotation)
public abstract Class<? extends Annotation> getAnnotationClass()
protected static <T> T resolveAnnotationValue(Class<T> expectedType, AnnotationValue value)
protected static AnnotationValue findAnnotationValue(AnnotationMirror mirror, String name)