default T generic(final String name, final Type type) {
        return add(Generic.of(name).add(type));
    }
Created a new {@link Generic} with the specified name and type and adds
it to this model. The {@link Generic#getBoundType() bound type} of the
new {@link Generic} will be {@link Generic.BoundType#EXTENDS}.

@param name  the name of the new generic
@param type  the upper bound of the new generic
@return      a reference to this

@since 2.5
common-parent/codegen/src/main/java/com/speedment/common/codegen/model/trait/HasGenerics.java