final Properties properties = pcwmp.metadataProperties("typicalLength");
return properties != null ? new TypicalLengthFacetOnPropertyFromProperties(properties, holder) : null;
}
private static TypicalLengthFacet createFromAnnotationIfPossible(final ProcessMethodContext processMethodContext) {
final TypicalLength annotation =
Annotations.getAnnotation(processMethodContext.getMethod(), TypicalLength.class);
return annotation != null
? new TypicalLengthFacetOnPropertyAnnotation(annotation.value(), processMethodContext.getFacetHolder())
: null;
}