protected class SecureASTCustomizer.SecuringCodeVisitor
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.
Checks that a given expression is either in the whitelist or not in the blacklist.
expression
- the expression to be checkedChecks that a given statement is either in the whitelist or not in the blacklist.
statement
- the statement to be checkedChecks that a given token is either in the whitelist or not in the blacklist.
token
- the token to be checked