Fast search of contains operator

This commit is contained in:
Valentin Kipyatkov
2016-09-02 16:22:16 +03:00
parent 5ce780cafc
commit f6fbd0b623
6 changed files with 79 additions and 6 deletions
@@ -63,8 +63,8 @@ public class KtBinaryExpression extends KtExpressionImpl implements KtOperationE
@Override
@NotNull
public KtSimpleNameExpression getOperationReference() {
return (KtSimpleNameExpression) findChildByType(KtNodeTypes.OPERATION_REFERENCE);
public KtOperationReferenceExpression getOperationReference() {
return (KtOperationReferenceExpression) findChildByType(KtNodeTypes.OPERATION_REFERENCE);
}
@NotNull
@@ -53,7 +53,7 @@ public class KtWhenConditionInRange extends KtWhenCondition {
}
@NotNull
public KtSimpleNameExpression getOperationReference() {
return (KtSimpleNameExpression) findChildByType(KtNodeTypes.OPERATION_REFERENCE);
public KtOperationReferenceExpression getOperationReference() {
return (KtOperationReferenceExpression) findChildByType(KtNodeTypes.OPERATION_REFERENCE);
}
}