/** @apilevel low-level */ @SuppressWarnings({"unchecked", "cast"}) public RawMethodDecl fullCopy() { RawMethodDecl res = (RawMethodDecl) copy(); for (int i = 0; i < getNumChildNoTransform(); i++) { ASTNode node = getChildNoTransform(i); if (node != null) node = node.fullCopy(); res.setChild(node, i); } return res; }