final Bookmarkable annotation = Annotations.getAnnotation(processMethodContext.getMethod(), Bookmarkable.class);
FacetUtil.addFacet(create(annotation, processMethodContext.getFacetHolder()));
}
private BookmarkPolicyFacet create(final Bookmarkable annotation, final FacetHolder holder) {
return annotation == null ? new BookmarkPolicyFacetFallback(holder) : new BookmarkPolicyFacetViaBookmarkableAnnotation(holder, annotation.value());
}