boolean (PsiMethodReferenceExpression methodRef) { if (myMember.getContainingClass() instanceof PsiAnonymousClass) { return true; } if (mySettings.isMakeFieldParameters()) { return true; } if (PsiMethodReferenceUtil.isResolvedBySecondSearch(methodRef)) { return myMember.getParameters().length != 0 || !mySettings.isMakeClassParameter(); } return mySettings.isMakeClassParameter(); }