Class RealObjectValidator
java.lang.Object
org.robolectric.annotation.processing.validator.Validator
org.robolectric.annotation.processing.validator.FoundOnImplementsValidator
org.robolectric.annotation.processing.validator.RealObjectValidator
- All Implemented Interfaces:
javax.lang.model.element.ElementVisitor<Void,
javax.lang.model.element.Element>
Validator that checks usages of
RealObject
.-
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
ConstructorDescriptionRealObjectValidator
(RobolectricModel.Builder modelBuilder, ProcessingEnvironment env) -
Method Summary
Modifier and TypeMethodDescriptionstatic String
visitVariable
(javax.lang.model.element.VariableElement elem, javax.lang.model.element.TypeElement parent) Methods inherited from class org.robolectric.annotation.processing.validator.FoundOnImplementsValidator
init, visitExecutable, visitExecutable, visitVariable
Methods inherited from class org.robolectric.annotation.processing.validator.Validator
error, error, getAnnotationType, getCurrentAnnotation, message, message, visit, visit, visitPackage, visitType, visitTypeParameter, visitUnknown
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.lang.model.element.ElementVisitor
visitModule, visitRecordComponent
-
Constructor Details
-
RealObjectValidator
-
-
Method Details
-
join
-
visitVariable
public Void visitVariable(javax.lang.model.element.VariableElement elem, javax.lang.model.element.TypeElement parent) - Overrides:
visitVariable
in classFoundOnImplementsValidator
-