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 String |
CONSTRUCTOR_METHOD_NAME |
static String |
IMPLEMENTS_CLASS |
static int |
MAX_SUPPORTED_ANDROID_SDK |
static String |
STATIC_INITIALIZER_METHOD_NAME |
annotationType, currentAnnotation, currentElement, elements, helpers, messager, modelBuilder, types
Constructor and Description |
---|
ImplementsValidator(RobolectricModel.Builder modelBuilder,
ProcessingEnvironment env,
ImplementsValidator.SdkCheckMode sdkCheckMode,
SdkStore sdkStore) |
Modifier and Type | Method and Description |
---|---|
Void |
visitType(TypeElement shadowType,
Element parent) |
error, error, getAnnotationType, getCurrentAnnotation, init, message, message, visit, visit, visitExecutable, visitPackage, visitTypeParameter, visitUnknown, visitVariable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitModule
public static final String IMPLEMENTS_CLASS
public static final int MAX_SUPPORTED_ANDROID_SDK
public static final String STATIC_INITIALIZER_METHOD_NAME
public static final String CONSTRUCTOR_METHOD_NAME
public ImplementsValidator(RobolectricModel.Builder modelBuilder, ProcessingEnvironment env, ImplementsValidator.SdkCheckMode sdkCheckMode, SdkStore sdkStore)
public Void visitType(TypeElement shadowType, Element parent)