/** * Creates a new {@link Unit} instance with the {@link Unit.Kind#INVALID} kind * and adds * it to this {@link UnitDefinition}. * * @return a new {@link Unit} instance with the {@link Unit.Kind#INVALID} * kind. * @see #createInvalidUnit() */ public Unit createUnit() { return createInvalidUnit(); }
createInvalidUnit(); return this;