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