final AttributeName key = newAttribute.getAttributeName();
final PositionalNodeType currentEntry = variables.get(key);
final NodeType type = newAttribute.getType();
if (type instanceof PositionalNodeType) {
if (!currentEntry.getClass().equals(type.getClass())) {
variables.put(key, currentEntry.upgrade((PositionalNodeType) type));
}
}
}
private void addNewEntry(final Attribute attribute) {