El operador ternario ?: está entre paréntesis. El retorno será "this.name" + (el resultado del operador ternario)
Código
// return this.name + (name.getValueArg() > 0 ? (" " + param) : ""); if(name.getValueArg() > 0) return this.name + " " + param; else return this.name;