Package org.hibernate.hql.ast.util
Class ASTUtil.IncludePredicate
java.lang.Object
org.hibernate.hql.ast.util.ASTUtil.IncludePredicate
- All Implemented Interfaces:
ASTUtil.FilterPredicate
- Enclosing class:
ASTUtil
public abstract static class ASTUtil.IncludePredicate
extends Object
implements ASTUtil.FilterPredicate
A predicate that uses inclusion, rather than exclusion semantics.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanexclude(antlr.collections.AST node) Returns true if the node should be filtered out.abstract booleaninclude(antlr.collections.AST node)
-
Constructor Details
-
IncludePredicate
public IncludePredicate()
-
-
Method Details
-
exclude
Description copied from interface:ASTUtil.FilterPredicateReturns true if the node should be filtered out.- Specified by:
excludein interfaceASTUtil.FilterPredicate- Parameters:
node- The node.- Returns:
- true if the node should be filtered out, false to keep the node.
-
include
-