PsiType (@NotNull PsiMethodCallExpression expression) { final PsiType returnType = expression.getType(); Objects.requireNonNull(returnType, "Method return type must be not null" + expression.getText()); return returnType; }