public ObjectSpecification getReturnType() {
return peer.getReturnType();
}
public Target getTarget() {
ExecutedFacet executedFacet = (ExecutedFacet) peer.getFacet(ExecutedFacet.class);
return executedFacet == null?ObjectAction.DEFAULT:executedFacet.getTarget();
}