Class SecureASTCustomizer.SecuringCodeVisitor

  • All Implemented Interfaces:
    GroovyCodeVisitor
    Enclosing class:
    SecureASTCustomizer

    protected class SecureASTCustomizer.SecuringCodeVisitor
    extends Object
    implements GroovyCodeVisitor
    This visitor directly implements the GroovyCodeVisitor interface instead of using the CodeVisitorSupport class to make sure that future features of the language gets managed by this visitor. Thus, adding a new feature would result in a compilation error if this visitor is not updated.