if (newName != null) {
renames.put(attributeName, newName);
}
ModelNode added = description.addAttribute(context);
if (added != null) {
<BUG>modelOrOp.get(attributeName).set(added);
}</BUG>
}
if (renames.size() > 0) {
for (Map.Entry<String, String> entry : renames.entrySet()) {

if (newName != null) {
renames.put(attributeName, newName);
}
ModelNode added = description.addAttribute(context);
if (added != null) {
adds.put(attributeName, added);
}
}
if (renames.size() > 0) {
for (Map.Entry<String, String> entry : renames.entrySet()) {
