public class RegexAnnotationConverter extends SimpleQualifierParameterAnnotationConverter<Regex>
BOTTOM, DEFAULT_QUAL, lowerOp, MULTI_ANNO_NAME_PREFIX, POLY_NAME, PRIMARY_TARGET, SOURCE_VALUE_NAME, TARGET_PARAM_NAME, TOP, upperOp, WILDCARD_NAME| Constructor and Description |
|---|
RegexAnnotationConverter() |
| Modifier and Type | Method and Description |
|---|---|
Regex |
getQualifier(AnnotationMirror anno)
Convert @Regex(value) into a Regex qualifier.
|
protected boolean |
hasPolyAnnotationCheck(ExtendedTypeMirror type)
This override sets up a polymorphic qualifier when the old PolyRegex annotation is used.
|
protected QualParams<Regex> |
specialCaseHandle(AnnotationMirror anno)
Process annotations from the old namespace.
|
fromAnnotations, getDeclaredParameters, isAnnotationSupportedpublic Regex getQualifier(AnnotationMirror anno)
getQualifier in class SimpleQualifierParameterAnnotationConverter<Regex>anno - the annotationprotected QualParams<Regex> specialCaseHandle(AnnotationMirror anno)
specialCaseHandle in class SimpleQualifierParameterAnnotationConverter<Regex>protected boolean hasPolyAnnotationCheck(ExtendedTypeMirror type)
hasPolyAnnotationCheck in class SimpleQualifierParameterAnnotationConverter<Regex>