PropertyRangeInheritedMatch3(PropertyRangeInheritedMatch2 parent, SubPropertyChainMatch2 firstPremiseMatch) { super(parent); ElkSubObjectPropertyExpression fullSubChainMatch = firstPremiseMatch .getFullSubChainMatch(); int subChainStartPos = firstPremiseMatch.getSubChainStartPos(); if (fullSubChainMatch instanceof ElkObjectProperty && subChainStartPos == 0) { this.subPropertyMatch_ = (ElkObjectProperty) fullSubChainMatch; } else { throw new ElkMatchException( parent.getParent().getParent().getSubProperty(), fullSubChainMatch, subChainStartPos); } checkEquals(firstPremiseMatch, getFirstPremiseMatch(DEBUG_FACTORY)); }
PropertyRangeInheritedMatch3(PropertyRangeInheritedMatch2 parent, SubPropertyChainMatch2 firstPremiseMatch) { super(parent); ElkSubObjectPropertyExpression fullSubChainMatch = firstPremiseMatch .getFullSubChainMatch(); int subChainStartPos = firstPremiseMatch.getSubChainStartPos(); if (fullSubChainMatch instanceof ElkObjectProperty && subChainStartPos == 0) { this.subPropertyMatch_ = (ElkObjectProperty) fullSubChainMatch; } else { throw new ElkMatchException( parent.getParent().getParent().getSubProperty(), fullSubChainMatch, subChainStartPos); } checkEquals(firstPremiseMatch, getFirstPremiseMatch(DEBUG_FACTORY)); }
PropertyRangeInheritedMatch3(PropertyRangeInheritedMatch2 parent, SubPropertyChainMatch2 firstPremiseMatch) { super(parent); ElkSubObjectPropertyExpression fullSubChainMatch = firstPremiseMatch .getFullSubChainMatch(); int subChainStartPos = firstPremiseMatch.getSubChainStartPos(); if (fullSubChainMatch instanceof ElkObjectProperty && subChainStartPos == 0) { this.subPropertyMatch_ = (ElkObjectProperty) fullSubChainMatch; } else { throw new ElkMatchException( parent.getParent().getParent().getSubProperty(), fullSubChainMatch, subChainStartPos); } checkEquals(firstPremiseMatch, getFirstPremiseMatch(DEBUG_FACTORY)); }