void (PsiMethodCallExpression callExpression, PsiExpression qualifierExpression) { if (qualifierExpression instanceof PsiTypeCastExpression) { final PsiExpression element = PsiUtil.skipParenthesizedExprDown(((PsiTypeCastExpression)qualifierExpression).getOperand()); if (element instanceof PsiLambdaExpression) { replaceWithLambdaBody((PsiLambdaExpression)element); } } }