for (final Variable v : variables) {
if (v.isGenerated()) {
nv.addExistingName(v.getName());
}
else {
final VariableDefinition originalVariable = v.getOriginalVariable();
if (originalVariable != null) {
/*
if (originalVariable.isFromMetadata() && originalVariable.hasName()) {
v.setName(originalVariable.getName());
continue;
}
*/
final String varName = originalVariable.getName();
if (StringUtilities.isNullOrEmpty(varName) || varName.startsWith("V_") || !isValidName(varName)) {
v.setName(null);
}
else {