private static @Nullable PsiClassType getComponentType (PsiType type) {
    type = type.getDeepComponentType();
    if (type instanceof PsiClassType) return (PsiClassType)type;

    return null;
  }
private static @Nullable PsiClassType getComponentType (PsiType type)