endpointsVar = servCls.field(JMod.PRIVATE, hashMapType, "endpoints", JExpr._new(hashMapType));
/**
* getEndpoint(Endpoint)
*/
JClass objectType = model.ref(Object.class);
getEndpoint = servCls.method(JMod.PUBLIC, objectType, "getEndpoint");
JVar epVar = getEndpoint.param(Endpoint.class, "endpoint");
JBlock geBody = getEndpoint.body();
JTryBlock tryBlock = geBody._try();