static @Nullable PsiType getContentType(PsiType type, String containerClassName) {
    final PsiType parameterType = PsiUtil.substituteTypeParameter(type, containerClassName, 0, true);
    return GenericsUtil.getVariableTypeByExpressionType(parameterType);
  }
static @Nullable PsiType getContentType(PsiType type, String containerClassName)