<li><ahref="../../../../../com/comphenix/protocol/reflect/instances/CollectionGenerator.html"title="class in com.comphenix.protocol.reflect.instances"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../../com/comphenix/protocol/reflect/instances/ExistingGenerator.html"title="class in com.comphenix.protocol.reflect.instances"><spanclass="strong">Next Class</span></a></li>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html"title="class in com.comphenix.protocol.reflect.instances">DefaultInstances</a></code></td>
<tdclass="colOne"><code><strong><ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html#DefaultInstances(com.comphenix.protocol.reflect.instances.DefaultInstances)">DefaultInstances</a></strong>(<ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html"title="class in com.comphenix.protocol.reflect.instances">DefaultInstances</a> other)</code>
<divclass="block">Copy a given instance provider.</div>
<tdclass="colOne"><code><strong><ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html#DefaultInstances(com.google.common.collect.ImmutableList)">DefaultInstances</a></strong>(com.google.common.collect.ImmutableList<<ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances">InstanceProvider</a>> registered)</code>
<divclass="block">Construct a default instance generator using the given instance providers.</div>
<tdclass="colOne"><code><strong><ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html#DefaultInstances(com.comphenix.protocol.reflect.instances.InstanceProvider...)">DefaultInstances</a></strong>(<ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances">InstanceProvider</a>... instaceProviders)</code>
<divclass="block">Construct a default instance generator using the given instance providers.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method_summary">
<!---->
</a>
<h3>Method Summary</h3>
<tableclass="overviewSummary"border="0"cellpadding="3"cellspacing="0"summary="Method Summary table, listing methods, and an explanation">
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html"title="class in com.comphenix.protocol.reflect.instances">DefaultInstances</a></code></td>
<tdclass="colFirst"><code>static <ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html"title="class in com.comphenix.protocol.reflect.instances">DefaultInstances</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html#fromArray(com.comphenix.protocol.reflect.instances.InstanceProvider...)">fromArray</a></strong>(<ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances">InstanceProvider</a>... instaceProviders)</code>
<divclass="block">Construct a default instance generator using the given instance providers.</div>
java.util.List<<ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances">InstanceProvider</a>> providers)</code>
<divclass="block">Retrieves a default instance or value that is assignable to this type.</div>
<tdclass="colFirst"><code>com.google.common.collect.ImmutableList<<ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances">InstanceProvider</a>></code></td>
<pre>public static <ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html"title="class in com.comphenix.protocol.reflect.instances">DefaultInstances</a> DEFAULT</pre>
<pre>public DefaultInstances(com.google.common.collect.ImmutableList<<ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances">InstanceProvider</a>> registered)</pre>
<divclass="block">Construct a default instance generator using the given instance providers.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>registered</code> - - list of instance providers.</dd></dl>
<pre>public DefaultInstances(<ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html"title="class in com.comphenix.protocol.reflect.instances">DefaultInstances</a> other)</pre>
<divclass="block">Copy a given instance provider.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>other</code> - - instance provider to copy.</dd></dl>
<pre>public DefaultInstances(<ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances">InstanceProvider</a>... instaceProviders)</pre>
<divclass="block">Construct a default instance generator using the given instance providers.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>instaceProviders</code> - - array of instance providers.</dd></dl>
<pre>public static <ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html"title="class in com.comphenix.protocol.reflect.instances">DefaultInstances</a> fromArray(<ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances">InstanceProvider</a>... instaceProviders)</pre>
<divclass="block">Construct a default instance generator using the given instance providers.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>instaceProviders</code> - - array of instance providers.</dd>
<pre>public com.google.common.collect.ImmutableList<<ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances">InstanceProvider</a>> getRegistered()</pre>
<divclass="block">Retrieves a immutable list of every default object providers that generates instances.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Table of instance providers.</dd></dl>
java.util.List<<ahref="../../../../../com/comphenix/protocol/reflect/instances/InstanceProvider.html"title="interface in com.comphenix.protocol.reflect.instances">InstanceProvider</a>> providers)</pre>
<divclass="block">Retrieves a default instance or value that is assignable to this type.
<p>
This includes, but isn't limited too:
<ul>
<li>Primitive types. Returns either zero or null.</li>
<li>Primitive wrappers.</li>
<li>String types. Returns an empty string.</li>
<li>Arrays. Returns a zero-length array of the same type.</li>
<li>Enums. Returns the first declared element.</li>
<li>Collection interfaces, such as List and Set. Returns the most appropriate empty container.</li>
<li>Any type with a public constructor that has parameters with defaults.</li>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>type</code> - - the type to construct a default value.</dd><dd><code>providers</code> - - instance providers used during the construction.</dd>
<pre>public <ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html"title="class in com.comphenix.protocol.reflect.instances">DefaultInstances</a> forEnhancer(net.sf.cglib.proxy.Enhancer enhancer)</pre>
<divclass="block">Construct default instances using the CGLIB enhancer object instead.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>enhancer</code> - - a CGLIB enhancer to use.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>A default instance generator that uses the CGLIB enhancer.</dd></dl>
<divclass="block">Used by the default instance provider to create a class from a given constructor.
The default method uses reflection.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>type</code> - - the type to create.</dd><dd><code>constructor</code> - - the constructor to use.</dd><dd><code>types</code> - - type of each parameter in order.</dd><dd><code>params</code> - - value of each parameter in order.</dd>
<li><ahref="../../../../../com/comphenix/protocol/reflect/instances/CollectionGenerator.html"title="class in com.comphenix.protocol.reflect.instances"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../../com/comphenix/protocol/reflect/instances/ExistingGenerator.html"title="class in com.comphenix.protocol.reflect.instances"><spanclass="strong">Next Class</span></a></li>