Class ConditionalScope

  • All Implemented Interfaces:
    SearchScope

    public final class ConditionalScope
    extends FilteredScope
    Scope filtered with conditions. XXX perhaps, shall root at BaseScope instead of FilteredScope as with Java8 filtering is easy to accomplish with streams and predicates. The only obstacle is that it's not handy to use predicates from MPS (could not use method references nor invoke Predicate's defaults to construct compound) Perhaps, could extend Predicate in Condition, with default test() implementation to facilitate migration?
    Since:
    3.4