Class BslStatementFilter


  • public class BslStatementFilter
    extends Object
    Special class for filtering statements collection in Bsl module
    • Constructor Detail

      • BslStatementFilter

        public BslStatementFilter​(Collection<Statement> allStatement,
                                  com.google.common.base.Predicate<Statement> filter)
        Constructor
        Parameters:
        allStatement - all filtering statements, can't be null
        filter - statement filter, can't be null
      • BslStatementFilter

        public BslStatementFilter​(Block block,
                                  com.google.common.base.Predicate<Statement> filter)
        Constructor
        Parameters:
        block - Block for filtering statements in it, can't be null
        filter - statement filter, can't be null
    • Method Detail

      • filtering

        public Collection<Statement> filtering()
        Gets list of statements corresponding to filter
        Returns:
        list of statements corresponding to filter, never null