public static boolean isProducerStreamCall(@NotNull PsiMethodCallExpression expression) {
    final PsiMethod method = expression.resolveMethod();

    return (method != null && method.hasModifierProperty(PsiModifier.STATIC)) ||
           checkStreamCall(expression, false, true);
  }
public static boolean isProducerStreamCall(@NotNull PsiMethodCallExpression expression)