private CommandTextInfo buildCommandText() { Preconditions.checkArgument(BaseUtils.isDottedIdentifier(delCalleeName)); String commandText = ""; commandText += delCalleeName; if (dataAttribute.isPassingAllData()) { commandText += " data=\"all\""; } else if (dataAttribute.isPassingData()) { assert dataAttribute.dataExpr() != null; // suppress warnings commandText += " data=\"" + dataAttribute.dataExpr().toSourceString() + '"'; } if (userSuppliedPlaceholderName != null) { commandText += " phname=\"" + userSuppliedPlaceholderName + '"'; } return new CommandTextInfo( commandText, delCalleeName, delCalleeVariantExpr, allowEmptyDefault, dataAttribute, userSuppliedPlaceholderName); }