// no-op if null
FacetUtil.addFacet(hiddenFacet);
}
private static HiddenFacet createFromAnnotationIfPossible(final ProcessMethodContext processMethodContext) {
final Hidden hiddenAnnotation = Annotations.getAnnotation(processMethodContext.getMethod(), Hidden.class);
return hiddenAnnotation != null
? new HiddenFacetOnMemberAnnotation(hiddenAnnotation.when(), hiddenAnnotation.where(), processMethodContext.getFacetHolder())
: null;
}