JAnnotationArrayMember listValue = list.paramArray("value");
for (XSFacet xsFacet : patternList)
// If corresponds to <xsd:restriction base="xsd:string">.
if ("String".equals(fieldType.name()))
a.put(listValue.annotate(patternAnn).param("regexp", eliminateShorthands(xsFacet.getValue().value)), FacetType.pattern);
else Logger.getLogger(this.getClass().getName()).log(Level.WARNING, PATTERN_ANNOTATION_NOT_APPLICABLE);
}
} else if ((facet = simpleType.getFacet(FACET_PATTERN)) != null)
if ("String".equals(fieldType.name())) { // <xsd:restriction base="xsd:string">
if (notAnnotated(fieldVar, patternAnn))