public final class ClassSubstitutionVerifier extends AbstractVerifier
Modifier and Type | Field and Description |
---|---|
private static String |
OPTIONAL |
private static String |
STRING_VALUE |
private static String |
TYPE_VALUE |
env
Constructor and Description |
---|
ClassSubstitutionVerifier(ProcessingEnvironment env) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
getAnnotationClass() |
(package private) static TypeElement |
resolveOriginalType(ProcessingEnvironment env,
Element sourceElement,
AnnotationMirror classSubstition) |
void |
verify(Element element,
AnnotationMirror classSubstitution) |
findAnnotationValue, resolveAnnotationValue
private static final String TYPE_VALUE
private static final String STRING_VALUE
private static final String OPTIONAL
public ClassSubstitutionVerifier(ProcessingEnvironment env)
public Class<? extends Annotation> getAnnotationClass()
getAnnotationClass
in class AbstractVerifier
public void verify(Element element, AnnotationMirror classSubstitution)
verify
in class AbstractVerifier
static TypeElement resolveOriginalType(ProcessingEnvironment env, Element sourceElement, AnnotationMirror classSubstition)