public class ImplementsValidator extends Validator
Validator that checks usages of Implements
.
Modifier and Type | Class and Description |
---|---|
static class |
ImplementsValidator.SdkCheckMode
Supported modes for validation of
Implementation methods against SDKs. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONSTRUCTOR_METHOD_NAME |
static java.lang.String |
IMPLEMENTS_CLASS |
static int |
MAX_SUPPORTED_ANDROID_SDK |
static java.lang.String |
STATIC_INITIALIZER_METHOD_NAME |
annotationType, currentAnnotation, currentElement, elements, helpers, messager, modelBuilder, types
Constructor and Description |
---|
ImplementsValidator(RobolectricModel.Builder modelBuilder,
javax.annotation.processing.ProcessingEnvironment env,
ImplementsValidator.SdkCheckMode sdkCheckMode) |
Modifier and Type | Method and Description |
---|---|
java.lang.Void |
visitType(javax.lang.model.element.TypeElement shadowType,
javax.lang.model.element.Element parent) |
error, error, getAnnotationType, getCurrentAnnotation, init, message, message, visit, visit, visitExecutable, visitPackage, visitTypeParameter, visitUnknown, visitVariable
public static final java.lang.String IMPLEMENTS_CLASS
public static final int MAX_SUPPORTED_ANDROID_SDK
public static final java.lang.String STATIC_INITIALIZER_METHOD_NAME
public static final java.lang.String CONSTRUCTOR_METHOD_NAME
public ImplementsValidator(RobolectricModel.Builder modelBuilder, javax.annotation.processing.ProcessingEnvironment env, ImplementsValidator.SdkCheckMode sdkCheckMode)