private MaskFacet createMaskFacet(final Mask annotation, final FacetHolder holder) {
return annotation != null ? new MaskFacetAnnotationForProperty(annotation.value(), null, holder) : null;
}
private boolean addMaskFacetAndCorrespondingTitleFacet(final FacetHolder holder, final Mask annotation, final Class<?> cls) {
final MaskFacet maskFacet = createMaskFacet(annotation, holder);
if (maskFacet == null) {
return false;
}
FacetUtil.addFacet(maskFacet);