methods.add(method);
final PersistedCallbackFacet facet = facetHolder.getFacet(PersistedCallbackFacet.class);
if (facet == null) {
facets.add(new PersistedCallbackFacetViaMethod(method, facetHolder));
} else {
facet.addMethod(method);
}
}
processClassContext.removeMethods(methods);
FacetUtil.addFacets(facets);