Class DeclaresAnyRule
java.lang.Object
org.ek9lang.compiler.support.retention.DeclaresAnyRule
- All Implemented Interfaces:
BiPredicate<ScopedSymbol, Predicate<org.ek9lang.tooling.construct.RetentionRule>>
final class DeclaresAnyRule
extends Object
implements BiPredicate<ScopedSymbol, Predicate<org.ek9lang.tooling.construct.RetentionRule>>
Does the callee (or, for a member of a parameterised type, the generic's own member) declare a rule matching
wanted - or the unknown opt-out, under which nothing may be assumed.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(ScopedSymbol callee, Predicate<org.ek9lang.tooling.construct.RetentionRule> wanted) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiPredicate
and, negate, or
-
Constructor Details
-
DeclaresAnyRule
DeclaresAnyRule()
-
-
Method Details
-
test
public boolean test(ScopedSymbol callee, Predicate<org.ek9lang.tooling.construct.RetentionRule> wanted) - Specified by:
testin interfaceBiPredicate<ScopedSymbol, Predicate<org.ek9lang.tooling.construct.RetentionRule>>
-