Package: org.codehaus.groovy.control.customizers

## [Java] Interface SecureASTCustomizer.ExpressionChecker

-     @FunctionalInterface
      public interface SecureASTCustomizer.ExpressionChecker

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

- - ### Methods Summary

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

- - ### Method Detail

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

      Determines whether the supplied expression is authorized.

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