<li><ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html"title="class in com.comphenix.protocol.reflect.instances"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances"><spanclass="strong">Next Class</span></a></li>
<dd><ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances">InstanceProvider</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="strong">ExistingGenerator</span>
extends java.lang.Object
implements <ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances">InstanceProvider</a></pre>
<divclass="block">Create an instance given a type, if possible.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../../../com/comphenix/protocol/reflect/instances/ExistingGenerator.html"title="class in com.comphenix.protocol.reflect.instances">ExistingGenerator</a></code></td>
<divclass="block">Create an instance generator from a pre-defined array of values.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../../../com/comphenix/protocol/reflect/instances/ExistingGenerator.html"title="class in com.comphenix.protocol.reflect.instances">ExistingGenerator</a></code></td>
<tdclass="colFirst"><code>static <ahref="../../../../../com/comphenix/protocol/reflect/instances/ExistingGenerator.html"title="class in com.comphenix.protocol.reflect.instances">ExistingGenerator</a></code></td>
<pre>public static <ahref="../../../../../com/comphenix/protocol/reflect/instances/ExistingGenerator.html"title="class in com.comphenix.protocol.reflect.instances">ExistingGenerator</a> fromObjectFields(java.lang.Object object)</pre>
<pre>public static <ahref="../../../../../com/comphenix/protocol/reflect/instances/ExistingGenerator.html"title="class in com.comphenix.protocol.reflect.instances">ExistingGenerator</a> fromObjectFields(java.lang.Object object,
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>object</code> - - object to create an instance generator from.</dd><dd><code>type</code> - - the type to cast the object.</dd>
<pre>public static <ahref="../../../../../com/comphenix/protocol/reflect/instances/ExistingGenerator.html"title="class in com.comphenix.protocol.reflect.instances">ExistingGenerator</a> fromObjectArray(java.lang.Object[] values)</pre>
<divclass="block">Create an instance generator from a pre-defined array of values.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>values</code> - - values to provide.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>An instance provider that uses these values.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html#create(java.lang.Class)">InstanceProvider</a></code></strong></div>
<divclass="block">Create an instance given a type, if possible.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html#create(java.lang.Class)">create</a></code> in interface <code><ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances">InstanceProvider</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>type</code> - - type to create.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The instance, or NULL if the type cannot be created.</dd></dl>
<li><ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html"title="class in com.comphenix.protocol.reflect.instances"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances"><spanclass="strong">Next Class</span></a></li>