private static void replaceMixinNode(MixinNode mixinNode,
MixinDefNode mixinDef) {
MixinDefNode defClone = (MixinDefNode) DeepCopy.copy(mixinDef);
defClone.traverse();
defClone.replaceContentDirective(mixinNode);
if (mixinDef.getArglist().isEmpty()) {
mixinNode.getParentNode().appendChildrenAfter(
new ArrayList<Node>(defClone.getChildren()), mixinNode);
} else {