Package: org.codehaus.groovy.control.customizers

## [Java] Interface SecureASTCustomizer.StatementChecker

-     @FunctionalInterface
      public interface SecureASTCustomizer.StatementChecker

  This interface allows the user to provide a custom statement checker if the dis/allowed statement lists are not sufficient

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public boolean` | `isAuthorized(Statement expression)` Determines whether the supplied statement is authorized.

- - ### Method Detail

    - #### public boolean isAuthorized(Statement expression)

      Determines whether the supplied statement is authorized.

      Parameters:
        `expression` - the statement to inspect
      Returns:
        `true` if the statement is allowed