void (@NotNull MultiMap<PsiElement, @DialogMessage String> conflicts, @NotNull PsiMethodReferenceExpression methodReferenceExpression) { final PsiExpression qualifierExpression = methodReferenceExpression.getQualifierExpression(); if (qualifierExpression != null) { final List<PsiElement> sideEffects = new ArrayList<>(); SideEffectChecker.checkSideEffects(qualifierExpression, sideEffects); if (!sideEffects.isEmpty()) { conflicts.putValue(methodReferenceExpression, JavaRefactoringBundle.message("inline.method.qualifier.usage.side.effect")); } } }