ReplaceWithSingleMapOperation (String methodName, PsiMethodCallExpression call, PsiExpression value) { PsiStatement result = PsiTreeUtil.getParentOfType(call, PsiStatement.class); LOG.assertTrue(result != null); return new ReplaceWithSingleMapOperation(methodName, call, value, result); }