private String generateConnectionClassCommandDelegationStatement(JDefinedClass jClusterClass, JDefinedClass jInterfaceClass,
			JMethod jMethod) {
		jMethod.listVarParamType();

		JType[] jTypes = jMethod.listParamTypes();
		JVar[] jVars = jMethod.listParams();

		String invocation = "";

		String a = jMethod.type().name();
		if (!a.equals("void"))
			invocation = "return ";

		invocation += "((" + jInterfaceClass.name() + ")clusterEndPoint)." + jMethod.name() + "(getRequestContext()";
		for (int i = 0; i < jTypes.length; i++) {
			String name = jVars[i].name();
			invocation += ", " + name;
		}

		invocation += ");";

		return invocation;
	}