Class ImplementationValidator
- java.lang.Object
-
- org.robolectric.annotation.processing.validator.Validator
-
- org.robolectric.annotation.processing.validator.FoundOnImplementsValidator
-
- org.robolectric.annotation.processing.validator.ImplementationValidator
-
- All Implemented Interfaces:
ElementVisitor<Void,Element>
public class ImplementationValidator extends FoundOnImplementsValidator
Validator that checks usages ofImplementation
.
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.collect.ImmutableSet<String>
METHODS_ALLOWED_TO_BE_PUBLIC
-
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 ImplementationValidator(RobolectricModel.Builder modelBuilder, ProcessingEnvironment env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
visitExecutable(ExecutableElement elem, 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
-
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
-
-
-
-
Field Detail
-
METHODS_ALLOWED_TO_BE_PUBLIC
public static final com.google.common.collect.ImmutableSet<String> METHODS_ALLOWED_TO_BE_PUBLIC
-
-
Constructor Detail
-
ImplementationValidator
public ImplementationValidator(RobolectricModel.Builder modelBuilder, ProcessingEnvironment env)
-
-
Method Detail
-
visitExecutable
public Void visitExecutable(ExecutableElement elem, TypeElement parent)
- Overrides:
visitExecutable
in classFoundOnImplementsValidator
-
-