<li><ahref="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html"title="class in com.comphenix.protocol.reflect.compiler"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompileListener.html"title="interface in com.comphenix.protocol.reflect.compiler"><spanclass="strong">Next Class</span></a></li>
<li><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">com.comphenix.protocol.reflect.StructureModifier</a><TField></li>
<dl><dt><spanclass="strong">Type Parameters:</span></dt><dd><code>TField</code> - Field type.</dd></dl>
<hr>
<br>
<pre>public abstract class <spanclass="strong">CompiledStructureModifier<TField></span>
extends <ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><TField></pre>
<divclass="block">Represents a compiled structure modifier.</div>
<dl><dt><spanclass="strong">Author:</span></dt>
<dd>Kristian</dd></dl>
</li>
</ul>
</div>
<divclass="summary">
<ulclass="blockList">
<liclass="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="field_summary">
<!---->
</a>
<h3>Field Summary</h3>
<tableclass="overviewSummary"border="0"cellpadding="3"cellspacing="0"summary="Field Summary table, listing fields, and an explanation">
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="../../../../../com/comphenix/protocol/reflect/compiler/StructureCompiler.html"title="class in com.comphenix.protocol.reflect.compiler">StructureCompiler</a></code></td>
<h3>Fields inherited from class com.comphenix.protocol.reflect.<ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a></h3>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="type parameter in CompiledStructureModifier">TField</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="type parameter in CompiledStructureModifier">TField</a>></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="type parameter in CompiledStructureModifier">TField</a>></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="type parameter in CompiledStructureModifier">TField</a>></code></td>
<tdclass="colFirst"><code>protected abstract <ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="type parameter in CompiledStructureModifier">TField</a>></code></td>
<h3>Methods inherited from class com.comphenix.protocol.reflect.<ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a></h3>
<pre>protected <ahref="../../../../../com/comphenix/protocol/reflect/compiler/StructureCompiler.html"title="class in com.comphenix.protocol.reflect.compiler">StructureCompiler</a> compiler</pre>
<pre>public <ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="type parameter in CompiledStructureModifier">TField</a>> writeDefaults()
throws <ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block"><strong>Description copied from class: <code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#writeDefaults()">StructureModifier</a></code></strong></div>
<divclass="block">Sets all non-primitive fields to a more fitting default value. See <ahref="../../../../../com/comphenix/protocol/reflect/instances/DefaultInstances.html#getDefault(java.lang.Class)"><code>DefaultInstances.getDefault(Class)</code></a>.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#writeDefaults()">writeDefaults</a></code> in class <code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="type parameter in CompiledStructureModifier">TField</a>></code></dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The current structure modifier - for chaining.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - If we're unable to write to the fields due to a security limitation.</dd></dl>
</li>
</ul>
<aname="read(int)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>read</h4>
<pre>public final <ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="type parameter in CompiledStructureModifier">TField</a> read(int fieldIndex)
throws <ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block"><strong>Description copied from class: <code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#read(int)">StructureModifier</a></code></strong></div>
<divclass="block">Reads the value of a field given its index.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#read(int)">read</a></code> in class <code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="type parameter in CompiledStructureModifier">TField</a>></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>fieldIndex</code> - - index of the field.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Value of the field.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - The field doesn't exist, or it cannot be accessed under the current security contraints.</dd></dl>
throws <ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Read the given field index using reflection.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>index</code> - - index of field.</dd>
<dd><code><ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - The field doesn't exist, or it cannot be accessed under the current security contraints.</dd></dl>
throws <ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<dl><dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code></dd></dl>
</li>
</ul>
<aname="write(int, java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>write</h4>
<pre>public <ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="type parameter in CompiledStructureModifier">TField</a>> write(int index,
java.lang.Object value)
throws <ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block"><strong>Description copied from class: <code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#write(int, TField)">StructureModifier</a></code></strong></div>
<divclass="block">Writes the value of a field given its index.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#write(int, TField)">write</a></code> in class <code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="type parameter in CompiledStructureModifier">TField</a>></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>index</code> - - index of the field.</dd><dd><code>value</code> - - new value of the field.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This structure modifier - for chaining.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - The field doesn't exist, or it cannot be accessed under the current security contraints.</dd></dl>
throws <ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Write the given field using reflection.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>index</code> - - index of field.</dd><dd><code>value</code> - - new value.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - The field doesn't exist, or it cannot be accessed under the current security contraints.</dd></dl>
<pre>protected abstract <ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="type parameter in CompiledStructureModifier">TField</a>> writeGenerated(int index,
java.lang.Object value)
throws <ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<dl><dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code></dd></dl>
</li>
</ul>
<aname="withTarget(java.lang.Object)">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>withTarget</h4>
<pre>public <ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="type parameter in CompiledStructureModifier">TField</a>> withTarget(java.lang.Object target)</pre>
<divclass="block"><strong>Description copied from class: <code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#withTarget(java.lang.Object)">StructureModifier</a></code></strong></div>
<divclass="block">Retrieves a structure modifier of the same type for a different object target.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#withTarget(java.lang.Object)">withTarget</a></code> in class <code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="type parameter in CompiledStructureModifier">TField</a>></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>target</code> - - different target of the same type.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Structure modifier with the new target.</dd></dl>
<li><ahref="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html"title="class in com.comphenix.protocol.reflect.compiler"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompileListener.html"title="interface in com.comphenix.protocol.reflect.compiler"><spanclass="strong">Next Class</span></a></li>