public abstract class FoundOnImplementsValidator extends Validator
Validator that checks usages of Implements
.
Modifier and Type | Field and Description |
---|---|
protected javax.lang.model.element.AnnotationMirror |
imp |
annotationType, currentAnnotation, currentElement, elements, helpers, messager, modelBuilder, types
Constructor and Description |
---|
FoundOnImplementsValidator(RobolectricModel.Builder modelBuilder,
javax.annotation.processing.ProcessingEnvironment env,
java.lang.String annotationType) |
Modifier and Type | Method and Description |
---|---|
void |
init(javax.lang.model.element.Element elem,
javax.lang.model.element.Element p) |
java.lang.Void |
visitExecutable(javax.lang.model.element.ExecutableElement elem,
javax.lang.model.element.Element parent) |
java.lang.Void |
visitExecutable(javax.lang.model.element.ExecutableElement elem,
javax.lang.model.element.TypeElement parent) |
java.lang.Void |
visitVariable(javax.lang.model.element.VariableElement elem,
javax.lang.model.element.Element parent) |
java.lang.Void |
visitVariable(javax.lang.model.element.VariableElement elem,
javax.lang.model.element.TypeElement parent) |
error, error, getAnnotationType, getCurrentAnnotation, message, message, visit, visit, visitPackage, visitType, visitTypeParameter, visitUnknown
public FoundOnImplementsValidator(RobolectricModel.Builder modelBuilder, javax.annotation.processing.ProcessingEnvironment env, java.lang.String annotationType)
public void init(javax.lang.model.element.Element elem, javax.lang.model.element.Element p)
public final java.lang.Void visitVariable(javax.lang.model.element.VariableElement elem, javax.lang.model.element.Element parent)
visitVariable
in interface javax.lang.model.element.ElementVisitor<java.lang.Void,javax.lang.model.element.Element>
visitVariable
in class Validator
public java.lang.Void visitVariable(javax.lang.model.element.VariableElement elem, javax.lang.model.element.TypeElement parent)
public final java.lang.Void visitExecutable(javax.lang.model.element.ExecutableElement elem, javax.lang.model.element.Element parent)
visitExecutable
in interface javax.lang.model.element.ElementVisitor<java.lang.Void,javax.lang.model.element.Element>
visitExecutable
in class Validator
public java.lang.Void visitExecutable(javax.lang.model.element.ExecutableElement elem, javax.lang.model.element.TypeElement parent)