Class ImplementsValidator
java.lang.Object
org.robolectric.annotation.processing.validator.Validator
org.robolectric.annotation.processing.validator.ImplementsValidator
- All Implemented Interfaces:
javax.lang.model.element.ElementVisitor<Void,
javax.lang.model.element.Element>
Validator that checks usages of
Implements
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Supported modes for validation ofImplementation
methods against SDKs. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final int
static final String
Fields inherited from class org.robolectric.annotation.processing.validator.Validator
annotationType, currentAnnotation, currentElement, elements, helpers, messager, modelBuilder, types
-
Constructor Summary
ConstructorDescriptionImplementsValidator
(RobolectricModel.Builder modelBuilder, ProcessingEnvironment env, ImplementsValidator.SdkCheckMode sdkCheckMode, SdkStore sdkStore) -
Method Summary
Methods inherited from class org.robolectric.annotation.processing.validator.Validator
error, error, getAnnotationType, getCurrentAnnotation, init, message, message, visit, visit, visitExecutable, visitPackage, visitTypeParameter, visitUnknown, visitVariable
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
-
Field Details
-
IMPLEMENTS_CLASS
- See Also:
-
MAX_SUPPORTED_ANDROID_SDK
public static final int MAX_SUPPORTED_ANDROID_SDK- See Also:
-
STATIC_INITIALIZER_METHOD_NAME
- See Also:
-
CONSTRUCTOR_METHOD_NAME
- See Also:
-
-
Constructor Details
-
ImplementsValidator
public ImplementsValidator(RobolectricModel.Builder modelBuilder, ProcessingEnvironment env, ImplementsValidator.SdkCheckMode sdkCheckMode, SdkStore sdkStore)
-
-
Method Details