}
}
public ReplicateCommand transformReplicateCommand(ReplicateCommand rc)
{
ReplicateCommand clone = rc.clone();
if (rc.isSingleCommand())
{
clone.setSingleModification(transformFqns((VisitableCommand) rc.getSingleModification()));
}
else
{
List<ReplicableCommand> transformed = new ArrayList<ReplicableCommand>(rc.getModifications().size());
for (ReplicableCommand cmd : rc.getModifications())
{
transformed.add(transformFqns((VisitableCommand) cmd));
}
clone.setModifications(transformed);
}
return clone;
}