Class ResetterValidator
java.lang.Object
org.robolectric.annotation.processing.validator.Validator
org.robolectric.annotation.processing.validator.FoundOnImplementsValidator
org.robolectric.annotation.processing.validator.ResetterValidator
- All Implemented Interfaces:
javax.lang.model.element.ElementVisitor<Void,javax.lang.model.element.Element>
public class ResetterValidator extends FoundOnImplementsValidator
Validator that checks usages of
Resetter
.-
Field Summary
Fields inherited from class org.robolectric.annotation.processing.validator.FoundOnImplementsValidator
imp
Fields inherited from class org.robolectric.annotation.processing.validator.Validator
annotationType, currentAnnotation, currentElement, elements, helpers, messager, modelBuilder, types
-
Constructor Summary
Constructors Constructor Description ResetterValidator(RobolectricModel.Builder modelBuilder, javax.annotation.processing.ProcessingEnvironment env)
-
Method Summary
Modifier and Type Method Description Void
visitExecutable(javax.lang.model.element.ExecutableElement elem, javax.lang.model.element.TypeElement parent)
Methods inherited from class org.robolectric.annotation.processing.validator.FoundOnImplementsValidator
init, visitExecutable, visitVariable, visitVariable
Methods inherited from class org.robolectric.annotation.processing.validator.Validator
error, error, getAnnotationType, getCurrentAnnotation, message, message, visit, visit, visitPackage, visitType, visitTypeParameter, visitUnknown
-
Constructor Details
-
ResetterValidator
public ResetterValidator(RobolectricModel.Builder modelBuilder, javax.annotation.processing.ProcessingEnvironment env)
-
-
Method Details
-
visitExecutable
public Void visitExecutable(javax.lang.model.element.ExecutableElement elem, javax.lang.model.element.TypeElement parent)- Overrides:
visitExecutable
in classFoundOnImplementsValidator
-