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().
org.codehaus.janino.tests.AstTest.testMethodToLabeledStatement()