diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt b/src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt index c1809f7..fcba558 100644 --- a/src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt +++ b/src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt @@ -89,6 +89,10 @@ internal class PsiPattern( && match(pattern.operand, expr.operand) is PsiParenthesizedExpression -> expr is PsiParenthesizedExpression && match(pattern.expression, expr.expression) + is PsiBinaryExpression -> expr is PsiBinaryExpression + && pattern.operationTokenType == expr.operationTokenType + && match(pattern.lOperand, expr.lOperand) + && match(pattern.rOperand, expr.rOperand) is PsiNewExpression -> expr is PsiNewExpression && pattern.classReference?.resolve() == expr.classReference?.resolve() && match(pattern.qualifier, expr.qualifier) |