Interface SecureASTCustomizer.StatementChecker
- Enclosing class:
- SecureASTCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This interface allows the user to provide a custom statement checker if the dis/allowed statement lists are not
sufficient
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisAuthorized(Statement expression) Determines whether the supplied statement is authorized.
-
Method Details
-
isAuthorized
Determines whether the supplied statement is authorized.- Parameters:
expression- the statement to inspect- Returns:
trueif the statement is allowed
-