private static PsiType @Nullable [] typeArguments(@NotNull PsiType type) {
    PsiClassType unwrappedType = getComponentType(type);
    return unwrappedType == null ? null : unwrappedType.getParameters();
  }
private static PsiType @Nullable [] typeArguments(@NotNull PsiType type)