Archiviert
13
0
Dieses Repository wurde am 2021-01-06 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
ProtocolLib/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html
2013-01-10 00:58:34 +01:00

506 Zeilen
30 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_07) on Thu Jan 10 00:56:15 CET 2013 -->
<title>CompiledStructureModifier</title>
<meta name="date" content="2013-01-10">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="CompiledStructureModifier";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/CompiledStructureModifier.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html" title="class in com.comphenix.protocol.reflect.compiler"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompileListener.html" title="interface in com.comphenix.protocol.reflect.compiler"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html" target="_top">Frames</a></li>
<li><a href="CompiledStructureModifier.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.comphenix.protocol.reflect.compiler</div>
<h2 title="Class CompiledStructureModifier" class="title">Class CompiledStructureModifier</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">com.comphenix.protocol.reflect.StructureModifier</a>&lt;java.lang.Object&gt;</li>
<li>
<ul class="inheritance">
<li>com.comphenix.protocol.reflect.compiler.CompiledStructureModifier</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public abstract class <span class="strong">CompiledStructureModifier</span>
extends <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;</pre>
<div class="block">Represents a compiled structure modifier.</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>Kristian</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../com/comphenix/protocol/reflect/compiler/StructureCompiler.html" title="class in com.comphenix.protocol.reflect.compiler">StructureCompiler</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#compiler">compiler</a></strong></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_com.comphenix.protocol.reflect.StructureModifier">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;com.comphenix.protocol.reflect.<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a></h3>
<code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#converter">converter</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#customConvertHandling">customConvertHandling</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#data">data</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#defaultFields">defaultFields</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#fieldType">fieldType</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#subtypeCache">subtypeCache</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#target">target</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#targetType">targetType</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#useStructureCompiler">useStructureCompiler</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#CompiledStructureModifier()">CompiledStructureModifier</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#read(int)">read</a></strong>(int&nbsp;fieldIndex)</code>
<div class="block">Reads the value of a field given its index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected abstract java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#readGenerated(int)">readGenerated</a></strong>(int&nbsp;fieldIndex)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#readReflected(int)">readReflected</a></strong>(int&nbsp;index)</code>
<div class="block">Read the given field index using reflection.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#setReadOnly(int, boolean)">setReadOnly</a></strong>(int&nbsp;fieldIndex,
boolean&nbsp;value)</code>
<div class="block">Set whether or not a field should be treated as read only.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#withTarget(java.lang.Object)">withTarget</a></strong>(java.lang.Object&nbsp;target)</code>
<div class="block">Retrieves a structure modifier of the same type for a different object target.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#write(int, java.lang.Object)">write</a></strong>(int&nbsp;index,
java.lang.Object&nbsp;value)</code>
<div class="block">Writes the value of a field given its index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#writeDefaults()">writeDefaults</a></strong>()</code>
<div class="block">Sets all non-primitive fields to a more fitting default value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected abstract <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#writeGenerated(int, java.lang.Object)">writeGenerated</a></strong>(int&nbsp;index,
java.lang.Object&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#writeReflected(int, java.lang.Object)">writeReflected</a></strong>(int&nbsp;index,
java.lang.Object&nbsp;value)</code>
<div class="block">Write the given field using reflection.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_com.comphenix.protocol.reflect.StructureModifier">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.comphenix.protocol.reflect.<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a></h3>
<code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#getField(int)">getField</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#getFields()">getFields</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#getFieldType()">getFieldType</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#getFieldType(int)">getFieldType</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#getTarget()">getTarget</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#getTargetType()">getTargetType</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#getValues()">getValues</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#initialize(java.lang.Class, java.lang.Class, java.util.List, java.util.Map, com.comphenix.protocol.reflect.EquivalentConverter, java.util.Map)">initialize</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#initialize(java.lang.Class, java.lang.Class, java.util.List, java.util.Map, com.comphenix.protocol.reflect.EquivalentConverter, java.util.Map, boolean)">initialize</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#initialize(com.comphenix.protocol.reflect.StructureModifier)">initialize</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#isPublic(int)">isPublic</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#isReadOnly(int)">isReadOnly</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#modify(int, com.google.common.base.Function)">modify</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#readSafely(int)">readSafely</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#setConverter(com.comphenix.protocol.reflect.EquivalentConverter)">setConverter</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#setFinalState(java.lang.reflect.Field, boolean)">setFinalState</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#size()">size</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#withFieldType(java.lang.Class, java.util.List, java.util.Map, com.comphenix.protocol.reflect.EquivalentConverter)">withFieldType</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#withType(java.lang.Class)">withType</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#withType(java.lang.Class, com.comphenix.protocol.reflect.EquivalentConverter)">withType</a>, <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#writeSafely(int, TField)">writeSafely</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="compiler">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>compiler</h4>
<pre>protected&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/compiler/StructureCompiler.html" title="class in com.comphenix.protocol.reflect.compiler">StructureCompiler</a> compiler</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="CompiledStructureModifier()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>CompiledStructureModifier</h4>
<pre>public&nbsp;CompiledStructureModifier()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setReadOnly(int, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setReadOnly</h4>
<pre>public&nbsp;void&nbsp;setReadOnly(int&nbsp;fieldIndex,
boolean&nbsp;value)
throws <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#setReadOnly(int, boolean)">StructureModifier</a></code></strong></div>
<div class="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>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#setReadOnly(int, boolean)">setReadOnly</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;</code></dd>
<dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../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>
</li>
</ul>
<a name="writeDefaults()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeDefaults</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;&nbsp;writeDefaults()
throws <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#writeDefaults()">StructureModifier</a></code></strong></div>
<div class="block">Sets all non-primitive fields to a more fitting default value. See <a href="../../../../../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><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#writeDefaults()">writeDefaults</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The current structure modifier - for chaining.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../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>
<a name="read(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>read</h4>
<pre>public final&nbsp;java.lang.Object&nbsp;read(int&nbsp;fieldIndex)
throws <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#read(int)">StructureModifier</a></code></strong></div>
<div class="block">Reads the value of a field given its index.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#read(int)">read</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>fieldIndex</code> - - index of the field.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Value of the field.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../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>
</li>
</ul>
<a name="readReflected(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readReflected</h4>
<pre>protected&nbsp;java.lang.Object&nbsp;readReflected(int&nbsp;index)
throws <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<div class="block">Read the given field index using reflection.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - - index of field.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Resulting value.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../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>
</li>
</ul>
<a name="readGenerated(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readGenerated</h4>
<pre>protected abstract&nbsp;java.lang.Object&nbsp;readGenerated(int&nbsp;fieldIndex)
throws <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code></dd></dl>
</li>
</ul>
<a name="write(int, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>write</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;&nbsp;write(int&nbsp;index,
java.lang.Object&nbsp;value)
throws <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#write(int, TField)">StructureModifier</a></code></strong></div>
<div class="block">Writes the value of a field given its index.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#write(int, TField)">write</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - - index of the field.</dd><dd><code>value</code> - - new value of the field.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This structure modifier - for chaining.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../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>
</li>
</ul>
<a name="writeReflected(int, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeReflected</h4>
<pre>protected&nbsp;void&nbsp;writeReflected(int&nbsp;index,
java.lang.Object&nbsp;value)
throws <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<div class="block">Write the given field using reflection.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - - index of field.</dd><dd><code>value</code> - - new value.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../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>
</li>
</ul>
<a name="writeGenerated(int, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeGenerated</h4>
<pre>protected abstract&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;&nbsp;writeGenerated(int&nbsp;index,
java.lang.Object&nbsp;value)
throws <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code></dd></dl>
</li>
</ul>
<a name="withTarget(java.lang.Object)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>withTarget</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;&nbsp;withTarget(java.lang.Object&nbsp;target)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#withTarget(java.lang.Object)">StructureModifier</a></code></strong></div>
<div class="block">Retrieves a structure modifier of the same type for a different object target.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#withTarget(java.lang.Object)">withTarget</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>target</code> - - different target of the same type.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Structure modifier with the new target.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/CompiledStructureModifier.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html" title="class in com.comphenix.protocol.reflect.compiler"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompileListener.html" title="interface in com.comphenix.protocol.reflect.compiler"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html" target="_top">Frames</a></li>
<li><a href="CompiledStructureModifier.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>