<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><java.lang.Object></li>
<pre>public abstract class <spanclass="strong">CompiledStructureModifier</span>
extends <ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object></pre>
<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>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object></code></td>
<tdclass="colFirst"><code>protected abstract <ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object></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>
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#setReadOnly(int, boolean)">StructureModifier</a></code></strong></div>
<divclass="block">Set whether or not a field should be treated as read only.
<p>
Note that changing the read-only state to TRUE will only work if the current
field was recently read-only or the current structure modifier hasn't been compiled yet.</div>
<dd><code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#setReadOnly(int, boolean)">setReadOnly</a></code> in class <code><ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>fieldIndex</code> - - index of the field.</dd><dd><code>value</code> - - TRUE if this field should be read only, FALSE otherwise.</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 cannot modify the read-only status.</dd></dl>
<pre>public <ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object> 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>
<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><java.lang.Object></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>
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>
<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><java.lang.Object></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>
<pre>public <ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object> 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>
<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><java.lang.Object></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><java.lang.Object> 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>
<dd><code><ahref="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code></dd></dl>
<pre>public <ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object> 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>
<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><java.lang.Object></code></dd>
<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>