}
private static DisabledFacet createFromAnnotationIfPossible(final ProcessMethodContext processMethodContext) {
final Disabled annotation = Annotations.getAnnotation(processMethodContext.getMethod(), Disabled.class);
return annotation != null
? new DisabledFacetAnnotation(annotation.when(), annotation.where(), annotation.reason(), processMethodContext.getFacetHolder())
: null;
}
private static DisabledFacet createFromMetadataPropertiesIfPossible(
final ProcessContextWithMetadataProperties<? extends FacetHolder> pcwmp) {