469 Zeilen
35 KiB
HTML
469 Zeilen
35 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 Wed Oct 17 08:05:08 CEST 2012 -->
|
|
<title>Uses of Class com.comphenix.protocol.reflect.StructureModifier</title>
|
|
<meta name="date" content="2012-10-17">
|
|
<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.StructureModifier";
|
|
}
|
|
//-->
|
|
</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/StructureModifier.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/StructureModifier.html" target="_top">Frames</a></li>
|
|
<li><a href="StructureModifier.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.StructureModifier" class="title">Uses of Class<br>com.comphenix.protocol.reflect.StructureModifier</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/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a></span><span class="tabEnd"> </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.events">com.comphenix.protocol.events</a></td>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="#com.comphenix.protocol.injector">com.comphenix.protocol.injector</a></td>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="#com.comphenix.protocol.reflect">com.comphenix.protocol.reflect</a></td>
|
|
<td class="colLast"> </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"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="com.comphenix.protocol.events">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a> in <a href="../../../../../com/comphenix/protocol/events/package-summary.html">com.comphenix.protocol.events</a></h3>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
|
|
<caption><span>Fields in <a href="../../../../../com/comphenix/protocol/events/package-summary.html">com.comphenix.protocol.events</a> declared as <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Field and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object></code></td>
|
|
<td class="colLast"><span class="strong">PacketContainer.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketContainer.html#structureModifier">structureModifier</a></strong></code> </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/events/package-summary.html">com.comphenix.protocol.events</a> that return <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a></span><span class="tabEnd"> </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/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.entity.Entity></code></td>
|
|
<td class="colLast"><span class="strong">PacketContainer.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketContainer.html#getEntityModifier(org.bukkit.World)">getEntityModifier</a></strong>(org.bukkit.World world)</code>
|
|
<div class="block">Retrieves a read/write structure for entity objects.</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><org.bukkit.inventory.ItemStack[]></code></td>
|
|
<td class="colLast"><span class="strong">PacketContainer.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketContainer.html#getItemArrayModifier()">getItemArrayModifier</a></strong>()</code>
|
|
<div class="block">Retrieves a read/write structure for arrays of ItemStacks.</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><org.bukkit.inventory.ItemStack></code></td>
|
|
<td class="colLast"><span class="strong">PacketContainer.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketContainer.html#getItemModifier()">getItemModifier</a></strong>()</code>
|
|
<div class="block">Retrieves a read/write structure for ItemStack.</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><java.lang.Object></code></td>
|
|
<td class="colLast"><span class="strong">PacketContainer.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketContainer.html#getModifier()">getModifier</a></strong>()</code>
|
|
<div class="block">Retrieves the generic structure modifier for this packet.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><T> <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><T></code></td>
|
|
<td class="colLast"><span class="strong">PacketContainer.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketContainer.html#getSpecificModifier(java.lang.Class)">getSpecificModifier</a></strong>(java.lang.Class<T> primitiveType)</code>
|
|
<div class="block">Retrieves a read/write structure for every field with the given 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><org.bukkit.WorldType></code></td>
|
|
<td class="colLast"><span class="strong">PacketContainer.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketContainer.html#getWorldTypeModifier()">getWorldTypeModifier</a></strong>()</code>
|
|
<div class="block">Retrieves a read/write structure for the world type enum.</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/events/package-summary.html">com.comphenix.protocol.events</a> with parameters of type <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a></span><span class="tabEnd"> </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/events/PacketContainer.html#PacketContainer(int, net.minecraft.server.Packet, com.comphenix.protocol.reflect.StructureModifier)">PacketContainer</a></strong>(int id,
|
|
net.minecraft.server.Packet handle,
|
|
<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object> structure)</code>
|
|
<div class="block">Creates a packet container for an existing 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/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</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 return <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a></span><span class="tabEnd"> </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/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object></code></td>
|
|
<td class="colLast"><span class="strong">StructureCache.</span><code><strong><a href="../../../../../com/comphenix/protocol/injector/StructureCache.html#getStructure(int)">getStructure</a></strong>(int id)</code>
|
|
<div class="block">Retrieve a cached structure modifier for the given packet id.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object></code></td>
|
|
<td class="colLast"><span class="strong">StructureCache.</span><code><strong><a href="../../../../../com/comphenix/protocol/injector/StructureCache.html#getStructure(int, boolean)">getStructure</a></strong>(int id,
|
|
boolean compile)</code>
|
|
<div class="block">Retrieve a cached structure modifier for the given packet id.</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/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</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 fields, and an explanation">
|
|
<caption><span>Fields in <a href="../../../../../com/comphenix/protocol/reflect/package-summary.html">com.comphenix.protocol.reflect</a> with type parameters of type <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Field and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected java.util.Map<java.lang.Class,<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>></code></td>
|
|
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#subtypeCache">subtypeCache</a></strong></code> </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 return <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a></span><span class="tabEnd"> </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/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><<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#modify(int, com.google.common.base.Function)">modify</a></strong>(int fieldIndex,
|
|
com.google.common.base.Function<<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>> select)</code>
|
|
<div class="block">Correctly modifies the value of a field.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <T> <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><T></code></td>
|
|
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><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></strong>(java.lang.Class fieldType,
|
|
java.util.List<java.lang.reflect.Field> filtered,
|
|
java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaults,
|
|
<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a><T> converter)</code>
|
|
<div class="block">Create a new structure modifier for the new field type.</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><<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#withTarget(java.lang.Object)">withTarget</a></strong>(java.lang.Object 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><T> <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><T></code></td>
|
|
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#withType(java.lang.Class)">withType</a></strong>(java.lang.Class fieldType)</code>
|
|
<div class="block">Retrieves a structure modifier that only reads and writes fields of a given type.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><T> <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><T></code></td>
|
|
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#withType(java.lang.Class, com.comphenix.protocol.reflect.EquivalentConverter)">withType</a></strong>(java.lang.Class fieldType,
|
|
<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a><T> converter)</code>
|
|
<div class="block">Retrieves a structure modifier that only reads and writes fields of a given 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><<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#write(int, TField)">write</a></strong>(int fieldIndex,
|
|
<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a> 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><<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#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><<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#writeSafely(int, TField)">writeSafely</a></strong>(int fieldIndex,
|
|
<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a> value)</code>
|
|
<div class="block">Writes the value of a given field IF and ONLY if it exists.</div>
|
|
</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> with parameters of type <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a></span><span class="tabEnd"> </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>protected void</code></td>
|
|
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#initialize(com.comphenix.protocol.reflect.StructureModifier)">initialize</a></strong>(<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>> other)</code>
|
|
<div class="block">Initialize using the same field types.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Method parameters in <a href="../../../../../com/comphenix/protocol/reflect/package-summary.html">com.comphenix.protocol.reflect</a> with type arguments of type <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a></span><span class="tabEnd"> </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>protected void</code></td>
|
|
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><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></strong>(java.lang.Class targetType,
|
|
java.lang.Class fieldType,
|
|
java.util.List<java.lang.reflect.Field> data,
|
|
java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaultFields,
|
|
<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a><<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>> converter,
|
|
java.util.Map<java.lang.Class,<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>> subTypeCache)</code>
|
|
<div class="block">Initialize every field of this class.</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/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</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 subclasses, and an explanation">
|
|
<caption><span>Subclasses of <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a> in <a href="../../../../../com/comphenix/protocol/reflect/compiler/package-summary.html">com.comphenix.protocol.reflect.compiler</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Class and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html" title="class in com.comphenix.protocol.reflect.compiler">CompiledStructureModifier</a><TField></strong></code>
|
|
<div class="block">Represents a compiled structure modifier.</div>
|
|
</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/compiler/package-summary.html">com.comphenix.protocol.reflect.compiler</a> that return <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a></span><span class="tabEnd"> </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><TField> <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><TField></code></td>
|
|
<td class="colLast"><span class="strong">StructureCompiler.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/StructureCompiler.html#compile(com.comphenix.protocol.reflect.StructureModifier)">compile</a></strong>(<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><TField> source)</code>
|
|
<div class="block">Compiles the given structure modifier.</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><<a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html" title="type parameter in CompiledStructureModifier">TField</a>></code></td>
|
|
<td class="colLast"><span class="strong">CompiledStructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html#withTarget(java.lang.Object)">withTarget</a></strong>(java.lang.Object target)</code> </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><<a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html" title="type parameter in CompiledStructureModifier">TField</a>></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 index,
|
|
java.lang.Object value)</code> </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><<a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html" title="type parameter in CompiledStructureModifier">TField</a>></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> </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><<a href="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html" title="type parameter in CompiledStructureModifier">TField</a>></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 index,
|
|
java.lang.Object value)</code> </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/compiler/package-summary.html">com.comphenix.protocol.reflect.compiler</a> with parameters of type <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a></span><span class="tabEnd"> </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><TField> <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><TField></code></td>
|
|
<td class="colLast"><span class="strong">StructureCompiler.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/StructureCompiler.html#compile(com.comphenix.protocol.reflect.StructureModifier)">compile</a></strong>(<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><TField> source)</code>
|
|
<div class="block">Compiles the given structure modifier.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="strong">CompileListener.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/CompileListener.html#onCompiled(com.comphenix.protocol.reflect.StructureModifier)">onCompiled</a></strong>(<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><<a href="../../../../../com/comphenix/protocol/reflect/compiler/CompileListener.html" title="type parameter in CompileListener">TKey</a>> compiledModifier)</code>
|
|
<div class="block">Invoked when a structure modifier has been successfully compiled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><TKey> void</code></td>
|
|
<td class="colLast"><span class="strong">BackgroundCompiler.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html#scheduleCompilation(com.comphenix.protocol.reflect.StructureModifier, com.comphenix.protocol.reflect.compiler.CompileListener)">scheduleCompilation</a></strong>(<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a><TKey> uncompiled,
|
|
<a href="../../../../../com/comphenix/protocol/reflect/compiler/CompileListener.html" title="interface in com.comphenix.protocol.reflect.compiler">CompileListener</a><TKey> listener)</code>
|
|
<div class="block">Ensure that the given structure modifier is eventually compiled.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Method parameters in <a href="../../../../../com/comphenix/protocol/reflect/compiler/package-summary.html">com.comphenix.protocol.reflect.compiler</a> with type arguments of type <a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a></span><span class="tabEnd"> </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>void</code></td>
|
|
<td class="colLast"><span class="strong">BackgroundCompiler.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html#scheduleCompilation(java.util.Map, java.lang.Class)">scheduleCompilation</a></strong>(java.util.Map<java.lang.Class,<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>> cache,
|
|
java.lang.Class key)</code>
|
|
<div class="block">Ensure that the indirectly given structure modifier is eventually compiled.</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/StructureModifier.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/StructureModifier.html" target="_top">Frames</a></li>
|
|
<li><a href="StructureModifier.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>
|