/** * Builds a new {@link ImmutableContainer ImmutableContainer}. * @return An immutable instance of Container * @throws java.lang.IllegalStateException if any required attributes are missing */ public ImmutableContainer build() { if (initBits != 0) { throw new IllegalStateException(formatRequiredAttributesMessage()); } return new ImmutableContainer(this); }