void (@NotNull GrMethodCallExpression methodCall) { final GrExpression invokedExpression = methodCall.getInvokedExpression(); if (!(invokedExpression instanceof GrReferenceExpression referenceExpression)) return; if (referenceExpression.getDotTokenType() != GroovyTokenTypes.mDOT) return; final PsiElement highlightElement = referenceExpression.getReferenceNameElement(); if (highlightElement == null) return; final String methodName = getMethodName(methodCall); if (methodName == null) return; Transformation transformation = TRANSFORMATIONS.get(methodName); if (transformation == null) return; if (transformation.couldApply(methodCall, getOptions())) { registerError( highlightElement, GroovyBundle.message("replace.with.operator.message", methodName), new LocalQuickFix[]{new OperatorToMethodFix(transformation, methodName, getOptions())}, GENERIC_ERROR_OR_WARNING ); } }