Class DeepCopier


  • public class DeepCopier
    extends Object
    Creates deep copies of AST elements.

    The main purpose of this class is to extend it, and modify the AST while it is being copied. For an example, see org.codehaus.janino.tests.AstTest.testMethodToLabeledStatement().