void (String defaultValueString) { if (defaultValueString != null) { String normalizedValue = defaultValueString; boolean shouldQuote = myWalker.requiresValueQuotes(); boolean isQuoted = StringUtil.isQuotedString(normalizedValue); if (shouldQuote && !isQuoted) { normalizedValue = StringUtil.wrapWithDoubleQuote(normalizedValue); } else if (!shouldQuote && isQuoted) { normalizedValue = StringUtil.unquoteString(normalizedValue); } addValueVariant(normalizedValue, null); } }