void () { configure(); Collection<PsiParameter> parameters = PsiTreeUtil.findChildrenOfType(getFile(), PsiParameter.class); for (PsiParameter parameter : parameters) { if (parameter.getTypeElement() == null) { //lambda parameter assertNotNull(parameter.getType()); Collection<PsiCallExpression> expressions = PsiTreeUtil.findChildrenOfType(getFile(), PsiCallExpression.class); for (PsiCallExpression expression : expressions) { assertNotNull(expression.getText(), expression.resolveMethod()); } dropCaches(); } } }