/guava/guava/src/com/google/common/collect/ImmutableList.java
this.contents = Arrays.copyOf( contents, expandedCapacity( size, minCapacity) ) ;
this.contents = Arrays.copyOf ( contents, expandedCapacity ( contents.length, minCapacity ) ) ;
Builder(int capacity) { this.contents = new @Nullable Object[capacity]; this.size = 0; } private void getReadyToExpandTo(int minCapacity) { if (contents.length < minCapacity) { <extra_id_0> forceCopy = false; } else if (forceCopy) { contents = Arrays.copyOf(contents, contents.length); forceCopy = false; } }