parameter types now being formed correctly for java