span class="type">T</span></code></h3><div class="doc"><p>Creates an instance of enum <code>e</code> by calling its constructor <code>constr</code> with
arguments <code>params</code>.</p>
<p>If <code>e</code> or <code>constr</code> is <code>null</code>, or if enum <code>e</code> has no constructor named
<code>constr</code>, or if the number of elements in <code>params</code> does not match the
expected number of constructor arguments, or if any argument has an
invalid type, the result is unspecified.</p></d