Will throw NPE if x was null. Same in methods below. Better to have explicit `checkNotNull(x, "object")` in componentType above? Fail-fast...