return args[0];
}
log.debug("Template: {}", template);
AJCExpressionTree templateCopy = treeCopier.copy(template);
for (int i = 0; i < substitutionPoints.length; i++) {
List<AJCExpressionTree> argRefs = substitutionPoints[i];
for (AJCExpressionTree argRef : argRefs) {
AJCExpressionTree argCopy = treeCopier.copy(args[i]);
argRef.swapFor(argCopy);
log.debug("Swapped {} for {}", argRef, argCopy);
}
}
AJCExpressionTree ret = template;
template = templateCopy;
rebuildSubstitutionPoints();
log.debug("Yields: {}", ret);
log.debug("Fixed: {}", template);