Class InstanceOfCondition

  • All Implemented Interfaces:
    Condition<SNode>

    public final class InstanceOfCondition
    extends Object
    implements Condition<SNode>
    SNode condition which is satisfied with an instance of specified concept.
    • Method Detail

      • tolerateNulls

        public InstanceOfCondition tolerateNulls()
        Generally, condition doesn't expect null values to come to met(org.jetbrains.mps.openapi.model.SNode), as it's likely a programming error, and there's little reason to hide such. * However, if input sequence might legally contain null values, use this method to switch tolerance to null on - condition simply is not met in this case.
        Returns:
        this for convenience