ProtocolLib/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html
2013-02-05 23:35:15 +01:00

653 lines
44 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 Tue Feb 05 23:33:36 CET 2013 -->
<title>Uses of Class com.comphenix.protocol.reflect.FieldAccessException</title>
<meta name="date" content="2013-02-05">
<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="Uses of Class com.comphenix.protocol.reflect.FieldAccessException";
}
//-->
</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><a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/comphenix/protocol/reflect/class-use/FieldAccessException.html" target="_top">Frames</a></li>
<li><a href="FieldAccessException.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>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.comphenix.protocol.reflect.FieldAccessException" class="title">Uses of Class<br>com.comphenix.protocol.reflect.FieldAccessException</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#com.comphenix.protocol">com.comphenix.protocol</a></td>
<td class="colLast">
<div class="block">Contains classes for retrieving the main <code>ProtocolMananger</code> object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.comphenix.protocol.async">com.comphenix.protocol.async</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#com.comphenix.protocol.injector">com.comphenix.protocol.injector</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.comphenix.protocol.injector.packet">com.comphenix.protocol.injector.packet</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#com.comphenix.protocol.reflect">com.comphenix.protocol.reflect</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.comphenix.protocol.reflect.compiler">com.comphenix.protocol.reflect.compiler</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#com.comphenix.protocol.wrappers">com.comphenix.protocol.wrappers</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.comphenix.protocol">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a> in <a href="../../../../../com/comphenix/protocol/package-summary.html">com.comphenix.protocol</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/package-summary.html">com.comphenix.protocol</a> that throw <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="http://jd.bukkit.org/apidocs/org/bukkit/entity/Entity.html?is-external=true" title="class or interface in org.bukkit.entity">Entity</a></code></td>
<td class="colLast"><span class="strong">ProtocolManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/ProtocolManager.html#getEntityFromID(org.bukkit.World, int)">getEntityFromID</a></strong>(<a href="http://jd.bukkit.org/apidocs/org/bukkit/World.html?is-external=true" title="class or interface in org.bukkit">World</a>&nbsp;container,
int&nbsp;id)</code>
<div class="block">Retrieve the associated entity.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true" title="class or interface in org.bukkit.entity">Player</a>&gt;</code></td>
<td class="colLast"><span class="strong">ProtocolManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/ProtocolManager.html#getEntityTrackers(org.bukkit.entity.Entity)">getEntityTrackers</a></strong>(<a href="http://jd.bukkit.org/apidocs/org/bukkit/entity/Entity.html?is-external=true" title="class or interface in org.bukkit.entity">Entity</a>&nbsp;entity)</code>
<div class="block">Retrieve every client that is receiving information about a given entity.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.Set&lt;java.lang.Integer&gt;</code></td>
<td class="colLast"><span class="strong">Packets.Server.</span><code><strong><a href="../../../../../com/comphenix/protocol/Packets.Server.html#getSupported()">getSupported</a></strong>()</code>
<div class="block">Retrieve every client packet the current version of Minecraft is aware of.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.Set&lt;java.lang.Integer&gt;</code></td>
<td class="colLast"><span class="strong">Packets.Client.</span><code><strong><a href="../../../../../com/comphenix/protocol/Packets.Client.html#getSupported()">getSupported</a></strong>()</code>
<div class="block">Retrieve every client packet the current version of Minecraft is aware of.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><span class="strong">Packets.Server.</span><code><strong><a href="../../../../../com/comphenix/protocol/Packets.Server.html#isSupported(int)">isSupported</a></strong>(int&nbsp;packetID)</code>
<div class="block">Determine if the given packet is a valid server packet in the current version of Minecraft.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><span class="strong">Packets.Client.</span><code><strong><a href="../../../../../com/comphenix/protocol/Packets.Client.html#isSupported(int)">isSupported</a></strong>(int&nbsp;packetID)</code>
<div class="block">Determine if the given packet is a valid client packet in the current version of Minecraft.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">ProtocolManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/ProtocolManager.html#updateEntity(org.bukkit.entity.Entity, java.util.List)">updateEntity</a></strong>(<a href="http://jd.bukkit.org/apidocs/org/bukkit/entity/Entity.html?is-external=true" title="class or interface in org.bukkit.entity">Entity</a>&nbsp;entity,
java.util.List&lt;<a href="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true" title="class or interface in org.bukkit.entity">Player</a>&gt;&nbsp;observers)</code>
<div class="block">Completely resend an entity to a list of clients.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.comphenix.protocol.async">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a> in <a href="../../../../../com/comphenix/protocol/async/package-summary.html">com.comphenix.protocol.async</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/async/package-summary.html">com.comphenix.protocol.async</a> that throw <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="strong">AsyncMarker.</span><code><strong><a href="../../../../../com/comphenix/protocol/async/AsyncMarker.html#isMinecraftAsync(com.comphenix.protocol.events.PacketEvent)">isMinecraftAsync</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;event)</code>
<div class="block">Determine if Minecraft allows asynchronous processing of this packet.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.comphenix.protocol.injector">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a> in <a href="../../../../../com/comphenix/protocol/injector/package-summary.html">com.comphenix.protocol.injector</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/injector/package-summary.html">com.comphenix.protocol.injector</a> that throw <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/events/PacketContainer.html" title="class in com.comphenix.protocol.events">PacketContainer</a></code></td>
<td class="colLast"><span class="strong">PacketConstructor.</span><code><strong><a href="../../../../../com/comphenix/protocol/injector/PacketConstructor.html#createPacket(java.lang.Object...)">createPacket</a></strong>(java.lang.Object...&nbsp;values)</code>
<div class="block">Construct a packet using the special builtin Minecraft constructors.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.Set&lt;java.lang.Integer&gt;</code></td>
<td class="colLast"><span class="strong">PacketFilterManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/injector/PacketFilterManager.html#getClientPackets()">getClientPackets</a></strong>()</code>
<div class="block">Retrieve every known and supported client packet.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://jd.bukkit.org/apidocs/org/bukkit/entity/Entity.html?is-external=true" title="class or interface in org.bukkit.entity">Entity</a></code></td>
<td class="colLast"><span class="strong">PacketFilterManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/injector/PacketFilterManager.html#getEntityFromID(org.bukkit.World, int)">getEntityFromID</a></strong>(<a href="http://jd.bukkit.org/apidocs/org/bukkit/World.html?is-external=true" title="class or interface in org.bukkit">World</a>&nbsp;container,
int&nbsp;id)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true" title="class or interface in org.bukkit.entity">Player</a>&gt;</code></td>
<td class="colLast"><span class="strong">PacketFilterManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/injector/PacketFilterManager.html#getEntityTrackers(org.bukkit.entity.Entity)">getEntityTrackers</a></strong>(<a href="http://jd.bukkit.org/apidocs/org/bukkit/entity/Entity.html?is-external=true" title="class or interface in org.bukkit.entity">Entity</a>&nbsp;entity)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.Set&lt;java.lang.Integer&gt;</code></td>
<td class="colLast"><span class="strong">PacketFilterManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/injector/PacketFilterManager.html#getServerPackets()">getServerPackets</a></strong>()</code>
<div class="block">Retrieve every known and supported server packet.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">PacketFilterManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/injector/PacketFilterManager.html#updateEntity(org.bukkit.entity.Entity, java.util.List)">updateEntity</a></strong>(<a href="http://jd.bukkit.org/apidocs/org/bukkit/entity/Entity.html?is-external=true" title="class or interface in org.bukkit.entity">Entity</a>&nbsp;entity,
java.util.List&lt;<a href="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true" title="class or interface in org.bukkit.entity">Player</a>&gt;&nbsp;observers)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.comphenix.protocol.injector.packet">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a> in <a href="../../../../../com/comphenix/protocol/injector/packet/package-summary.html">com.comphenix.protocol.injector.packet</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/injector/packet/package-summary.html">com.comphenix.protocol.injector.packet</a> that throw <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static java.util.Set&lt;java.lang.Integer&gt;</code></td>
<td class="colLast"><span class="strong">PacketRegistry.</span><code><strong><a href="../../../../../com/comphenix/protocol/injector/packet/PacketRegistry.html#getClientPackets()">getClientPackets</a></strong>()</code>
<div class="block">Retrieve every known and supported client packet.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.Set&lt;java.lang.Integer&gt;</code></td>
<td class="colLast"><span class="strong">PacketRegistry.</span><code><strong><a href="../../../../../com/comphenix/protocol/injector/packet/PacketRegistry.html#getServerPackets()">getServerPackets</a></strong>()</code>
<div class="block">Retrieve every known and supported server packet.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.comphenix.protocol.reflect">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a> in <a href="../../../../../com/comphenix/protocol/reflect/package-summary.html">com.comphenix.protocol.reflect</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/reflect/package-summary.html">com.comphenix.protocol.reflect</a> that return <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code></td>
<td class="colLast"><span class="strong">FieldAccessException.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html#fromFormat(java.lang.String, java.lang.Object...)">fromFormat</a></strong>(java.lang.String&nbsp;message,
java.lang.Object...&nbsp;params)</code>&nbsp;</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/reflect/package-summary.html">com.comphenix.protocol.reflect</a> that throw <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>&gt;</code></td>
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#getValues()">getValues</a></strong>()</code>
<div class="block">Retrieve every value stored in the fields of the current type.</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;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>&gt;</code></td>
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#modify(int, com.google.common.base.Function)">modify</a></strong>(int&nbsp;fieldIndex,
com.google.common.base.Function&lt;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>,<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>&gt;&nbsp;select)</code>
<div class="block">Correctly modifies the value of a field.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a></code></td>
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.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><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a></code></td>
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#readSafely(int)">readSafely</a></strong>(int&nbsp;fieldIndex)</code>
<div class="block">Reads the value of a field if and ONLY IF it exists.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.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="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>&gt;</code></td>
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#write(int, TField)">write</a></strong>(int&nbsp;fieldIndex,
<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>&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;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>&gt;</code></td>
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.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><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>&gt;</code></td>
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#writeSafely(int, TField)">writeSafely</a></strong>(int&nbsp;fieldIndex,
<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>&nbsp;value)</code>
<div class="block">Writes the value of a given field IF and ONLY if it exists.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.comphenix.protocol.reflect.compiler">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a> in <a href="../../../../../com/comphenix/protocol/reflect/compiler/package-summary.html">com.comphenix.protocol.reflect.compiler</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/reflect/compiler/package-summary.html">com.comphenix.protocol.reflect.compiler</a> that throw <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><span class="strong">CompiledStructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#read(int)">read</a></strong>(int&nbsp;fieldIndex)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected abstract java.lang.Object</code></td>
<td class="colLast"><span class="strong">CompiledStructureModifier.</span><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"><span class="strong">CompiledStructureModifier.</span><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"><span class="strong">CompiledStructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#setReadOnly(int, boolean)">setReadOnly</a></strong>(int&nbsp;fieldIndex,
boolean&nbsp;value)</code>&nbsp;</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"><span class="strong">CompiledStructureModifier.</span><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>&nbsp;</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"><span class="strong">CompiledStructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#writeDefaults()">writeDefaults</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<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"><span class="strong">CompiledStructureModifier.</span><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="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><span class="strong">CompiledStructureModifier.</span><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>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.comphenix.protocol.wrappers">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a> in <a href="../../../../../com/comphenix/protocol/wrappers/package-summary.html">com.comphenix.protocol.wrappers</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/wrappers/package-summary.html">com.comphenix.protocol.wrappers</a> that throw <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html" title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a></code></td>
<td class="colLast"><span class="strong">WrappedWatchableObject.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html#deepClone()">deepClone</a></strong>()</code>
<div class="block">Clone the current wrapped watchable object, along with any contained objects.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Byte</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#getByte(int)">getByte</a></strong>(int&nbsp;index)</code>
<div class="block">Get a watched byte.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html" title="class in com.comphenix.protocol.wrappers">WrappedChunkCoordinate</a></code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#getChunkCoordinate(int)">getChunkCoordinate</a></strong>(int&nbsp;index)</code>
<div class="block">Get a watched string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="strong">WrappedWatchableObject.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html#getDirtyState()">getDirtyState</a></strong>()</code>
<div class="block">Retrieve whether or not the value must be synchronized with the client.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html" title="class in com.comphenix.protocol.wrappers">WrappedDataWatcher</a></code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#getEntityWatcher(org.bukkit.entity.Entity)">getEntityWatcher</a></strong>(<a href="http://jd.bukkit.org/apidocs/org/bukkit/entity/Entity.html?is-external=true" title="class or interface in org.bukkit.entity">Entity</a>&nbsp;entity)</code>
<div class="block">Retrieve the data watcher associated with an entity.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Float</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#getFloat(int)">getFloat</a></strong>(int&nbsp;index)</code>
<div class="block">Get a watched float.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><span class="strong">WrappedWatchableObject.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html#getIndex()">getIndex</a></strong>()</code>
<div class="block">Retrieve the index of this watchable object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Integer</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#getInteger(int)">getInteger</a></strong>(int&nbsp;index)</code>
<div class="block">Get a watched integer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://jd.bukkit.org/apidocs/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a></code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#getItemStack(int)">getItemStack</a></strong>(int&nbsp;index)</code>
<div class="block">Get a watched string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#getObject(int)">getObject</a></strong>(int&nbsp;index)</code>
<div class="block">Retrieve a watchable object by index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.util.concurrent.locks.ReadWriteLock</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#getReadWriteLock()">getReadWriteLock</a></strong>()</code>
<div class="block">Retrieve the current read write lock.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Short</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#getShort(int)">getShort</a></strong>(int&nbsp;index)</code>
<div class="block">Get a watched short.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#getString(int)">getString</a></strong>(int&nbsp;index)</code>
<div class="block">Get a watched string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Class&lt;?&gt;</code></td>
<td class="colLast"><span class="strong">WrappedWatchableObject.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html#getType()">getType</a></strong>()</code>
<div class="block">Retrieve the correct super type of the current value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.Class&lt;?&gt;</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#getTypeClass(int)">getTypeClass</a></strong>(int&nbsp;id)</code>
<div class="block">Retrieve the type of a given ID, if it's allowed to be watched.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><span class="strong">WrappedWatchableObject.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html#getTypeID()">getTypeID</a></strong>()</code>
<div class="block">Retrieve the type ID of a watchable object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.Integer</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#getTypeID(java.lang.Class)">getTypeID</a></strong>(java.lang.Class&lt;?&gt;&nbsp;clazz)</code>
<div class="block">Retrieve the ID of a given type, if it's allowed to be watched.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><span class="strong">WrappedWatchableObject.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html#getValue()">getValue</a></strong>()</code>
<div class="block">Read the value field.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.util.Map&lt;java.lang.Integer,java.lang.Object&gt;</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#getWatchableObjectMap()">getWatchableObjectMap</a></strong>()</code>
<div class="block">Retrieve the underlying map of key values that stores watchable objects.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html" title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>&gt;</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#getWatchableObjects()">getWatchableObjects</a></strong>()</code>
<div class="block">Retrieve every watchable object in this watcher.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Set&lt;java.lang.Integer&gt;</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#indexSet()">indexSet</a></strong>()</code>
<div class="block">Retrieve a copy of every index associated with a watched object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">WrappedWatchableObject.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html#setDirtyState(boolean)">setDirtyState</a></strong>(boolean&nbsp;dirty)</code>
<div class="block">Set whether or not the value must be synchronized with the client.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">WrappedWatchableObject.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html#setIndex(int)">setIndex</a></strong>(int&nbsp;index)</code>
<div class="block">Set the the index of this watchable object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#setObject(int, java.lang.Object)">setObject</a></strong>(int&nbsp;index,
java.lang.Object&nbsp;newValue)</code>
<div class="block">Set a watched byte.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#setObject(int, java.lang.Object, boolean)">setObject</a></strong>(int&nbsp;index,
java.lang.Object&nbsp;newValue,
boolean&nbsp;update)</code>
<div class="block">Set a watched byte.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">WrappedWatchableObject.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html#setTypeID(int)">setTypeID</a></strong>(int&nbsp;id)</code>
<div class="block">Set the type ID of a watchable object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">WrappedWatchableObject.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html#setValue(java.lang.Object)">setValue</a></strong>(java.lang.Object&nbsp;newValue)</code>
<div class="block">Update the value field.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">WrappedWatchableObject.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html#setValue(java.lang.Object, boolean)">setValue</a></strong>(java.lang.Object&nbsp;newValue,
boolean&nbsp;updateClient)</code>
<div class="block">Update the value field.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><span class="strong">WrappedDataWatcher.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#size()">size</a></strong>()</code>
<div class="block">Retrieve the number of watched objects.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../../com/comphenix/protocol/wrappers/package-summary.html">com.comphenix.protocol.wrappers</a> that throw <a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">FieldAccessException</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#WrappedDataWatcher(java.util.List)">WrappedDataWatcher</a></strong>(java.util.List&lt;<a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html" title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>&gt;&nbsp;watchableObjects)</code>
<div class="block">Create a new data watcher for a list of watchable objects.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= 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><a href="../../../../../com/comphenix/protocol/reflect/FieldAccessException.html" title="class in com.comphenix.protocol.reflect">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/comphenix/protocol/reflect/class-use/FieldAccessException.html" target="_top">Frames</a></li>
<li><a href="FieldAccessException.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>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>