void (boolean shouldBeWrapped) { KtNamedFunction ktNamedFunction = getPreparedElement(KtNamedFunction.class); // Should not fail! PsiMethod psiMethod = LightClassUtil.INSTANCE.getLightClassMethod(ktNamedFunction); checkDeclarationMethodWrapped(shouldBeWrapped, ktNamedFunction, psiMethod); }