final TypeOfFacet actionTypeOfFacet = objectAction.getFacet(TypeOfFacet.class);
SpecificationLoader specificationLookup = objectMemberContext.getSpecificationLookup();
// TODO: a bit of a hack; ought really to set up a fallback TypeOfFacetDefault which ensures that there is always
// a TypeOfFacet for any contributee associations created from contributed actions.
Class<? extends Object> cls = actionTypeOfFacet != null? actionTypeOfFacet.value(): Object.class;
return specificationLookup.loadSpecification(cls);
}
public OneToManyAssociationContributee(
final ObjectAdapter serviceAdapter,
final ObjectActionImpl serviceAction,