ProtocolLib/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html
Kristian S. Stangeland e8f5bce3d5 Update JavaDoc for 2.3.0
2013-03-05 17:07:09 +01:00

837 lines
57 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_13) on Tue Mar 05 17:05:45 CET 2013 -->
<title>FuzzyMethodContract.Builder</title>
<meta name="date" content="2013-03-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="FuzzyMethodContract.Builder";
}
//-->
</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/FuzzyMethodContract.Builder.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/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" target="_top">Frames</a></li>
<li><a href="FuzzyMethodContract.Builder.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="#fields_inherited_from_class_com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder">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>Field&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.fuzzy</div>
<h2 title="Class FuzzyMethodContract.Builder" class="title">Class FuzzyMethodContract.Builder</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&gt;</li>
<li>
<ul class="inheritance">
<li>com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a></dd>
</dl>
<hr>
<br>
<pre>public static class <span class="strong">FuzzyMethodContract.Builder</span>
extends <a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMember.Builder</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&gt;</pre>
<div class="block">Represents a builder for a fuzzy method contract.</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>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;com.comphenix.protocol.reflect.fuzzy.<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMember.Builder</a></h3>
<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#member">member</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/fuzzy/FuzzyMethodContract.Builder.html#FuzzyMethodContract.Builder()">FuzzyMethodContract.Builder</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><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#banModifier(int)">banModifier</a></strong>(int&nbsp;modifier)</code>
<div class="block">Add a given bit-field of modifers that will skip or ignore members.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#build()">build</a></strong>()</code>
<div class="block">Build a new instance of this type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#declaringClassDerivedOf(java.lang.Class)">declaringClassDerivedOf</a></strong>(java.lang.Class&lt;?&gt;&nbsp;declaringClass)</code>
<div class="block">Require that a member is defined by this exact class, or any super class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#declaringClassExactType(java.lang.Class)">declaringClassExactType</a></strong>(java.lang.Class&lt;?&gt;&nbsp;declaringClass)</code>
<div class="block">Require that a member is defined by this exact class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#declaringClassMatching(com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher)">declaringClassMatching</a></strong>(<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMatcher</a>&lt;java.lang.Class&lt;?&gt;&gt;&nbsp;classMatcher)</code>
<div class="block">Require that a member is defined by a class that matches the given matcher.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#declaringClassSuperOf(java.lang.Class)">declaringClassSuperOf</a></strong>(java.lang.Class&lt;?&gt;&nbsp;declaringClass)</code>
<div class="block">Require that a member is defined by this exact class, or any super class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#exceptionExactType(java.lang.Class)">exceptionExactType</a></strong>(java.lang.Class&lt;?&gt;&nbsp;type)</code>
<div class="block">Add a throwable exception that must match the given type exactly.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#exceptionExactType(java.lang.Class, int)">exceptionExactType</a></strong>(java.lang.Class&lt;?&gt;&nbsp;type,
int&nbsp;index)</code>
<div class="block">Add a throwable exception that must match the given type exactly and index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#exceptionMatches(com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher)">exceptionMatches</a></strong>(<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMatcher</a>&lt;java.lang.Class&lt;?&gt;&gt;&nbsp;classMatcher)</code>
<div class="block">Add a throwable exception that must match the given matcher,</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#exceptionMatches(com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher, int)">exceptionMatches</a></strong>(<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMatcher</a>&lt;java.lang.Class&lt;?&gt;&gt;&nbsp;classMatcher,
int&nbsp;index)</code>
<div class="block">Add a throwable exception that must match the given matcher and index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#exceptionSuperOf(java.lang.Class)">exceptionSuperOf</a></strong>(java.lang.Class&lt;?&gt;&nbsp;type)</code>
<div class="block">Add a throwable exception that must match the given type or be derived.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#exceptionSuperOf(java.lang.Class, int)">exceptionSuperOf</a></strong>(java.lang.Class&lt;?&gt;&nbsp;type,
int&nbsp;index)</code>
<div class="block">Add a throwable exception that must match the given type or be derived and index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#initialMember()">initialMember</a></strong>()</code>
<div class="block">Construct a new instance of the current type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#nameExact(java.lang.String)">nameExact</a></strong>(java.lang.String&nbsp;name)</code>
<div class="block">Set the exact name of the member we are matching.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#nameRegex(java.util.regex.Pattern)">nameRegex</a></strong>(java.util.regex.Pattern&nbsp;pattern)</code>
<div class="block">Set the regular expression pattern that matches a members name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#nameRegex(java.lang.String)">nameRegex</a></strong>(java.lang.String&nbsp;regex)</code>
<div class="block">Set the regular expresson that matches a members name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#parameterCount(int)">parameterCount</a></strong>(int&nbsp;expectedCount)</code>
<div class="block">Set the expected number of parameters in the matching method.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#parameterExactType(java.lang.Class)">parameterExactType</a></strong>(java.lang.Class&lt;?&gt;&nbsp;type)</code>
<div class="block">Add a new required parameter by type for any matching method.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#parameterExactType(java.lang.Class, int)">parameterExactType</a></strong>(java.lang.Class&lt;?&gt;&nbsp;type,
int&nbsp;index)</code>
<div class="block">Add a new required parameter by type and position for any matching method.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#parameterMatches(com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher)">parameterMatches</a></strong>(<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMatcher</a>&lt;java.lang.Class&lt;?&gt;&gt;&nbsp;classMatcher)</code>
<div class="block">Add a new required parameter whose type must match the given class matcher.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#parameterMatches(com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher, int)">parameterMatches</a></strong>(<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMatcher</a>&lt;java.lang.Class&lt;?&gt;&gt;&nbsp;classMatcher,
int&nbsp;index)</code>
<div class="block">Add a new required parameter whose type must match the given class matcher and index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#parameterSuperOf(java.lang.Class)">parameterSuperOf</a></strong>(java.lang.Class&lt;?&gt;&nbsp;type)</code>
<div class="block">Add a new required parameter whose type must be a superclass of the given type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#parameterSuperOf(java.lang.Class, int)">parameterSuperOf</a></strong>(java.lang.Class&lt;?&gt;&nbsp;type,
int&nbsp;index)</code>
<div class="block">Add a new required parameter whose type must be a superclass of the given type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#requireModifier(int)">requireModifier</a></strong>(int&nbsp;modifier)</code>
<div class="block">Add a given bit-field of required modifiers for every matching member.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#returnDerivedOf(java.lang.Class)">returnDerivedOf</a></strong>(java.lang.Class&lt;?&gt;&nbsp;type)</code>
<div class="block">Set the expected super class of the return type for every matching method.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#returnTypeExact(java.lang.Class)">returnTypeExact</a></strong>(java.lang.Class&lt;?&gt;&nbsp;type)</code>
<div class="block">Set the return type of a matching method exactly.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#returnTypeMatches(com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher)">returnTypeMatches</a></strong>(<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMatcher</a>&lt;java.lang.Class&lt;?&gt;&gt;&nbsp;classMatcher)</code>
<div class="block">Set a matcher that must match the return type of a matching method.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html#returnTypeVoid()">returnTypeVoid</a></strong>()</code>
<div class="block">Require a void method.</div>
</td>
</tr>
</table>
<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">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="FuzzyMethodContract.Builder()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FuzzyMethodContract.Builder</h4>
<pre>public&nbsp;FuzzyMethodContract.Builder()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="requireModifier(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>requireModifier</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;requireModifier(int&nbsp;modifier)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#requireModifier(int)">AbstractFuzzyMember.Builder</a></code></strong></div>
<div class="block">Add a given bit-field of required modifiers for every matching member.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#requireModifier(int)">requireModifier</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMember.Builder</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>modifier</code> - - bit-field of modifiers that are required.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="banModifier(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>banModifier</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;banModifier(int&nbsp;modifier)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#banModifier(int)">AbstractFuzzyMember.Builder</a></code></strong></div>
<div class="block">Add a given bit-field of modifers that will skip or ignore members.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#banModifier(int)">banModifier</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMember.Builder</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>modifier</code> - - bit-field of modifiers to skip or ignore.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="nameRegex(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nameRegex</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;nameRegex(java.lang.String&nbsp;regex)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#nameRegex(java.lang.String)">AbstractFuzzyMember.Builder</a></code></strong></div>
<div class="block">Set the regular expresson that matches a members name.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#nameRegex(java.lang.String)">nameRegex</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMember.Builder</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>regex</code> - - new regular expression of valid names.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="nameRegex(java.util.regex.Pattern)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nameRegex</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;nameRegex(java.util.regex.Pattern&nbsp;pattern)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#nameRegex(java.util.regex.Pattern)">AbstractFuzzyMember.Builder</a></code></strong></div>
<div class="block">Set the regular expression pattern that matches a members name.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#nameRegex(java.util.regex.Pattern)">nameRegex</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMember.Builder</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>pattern</code> - - regular expression pattern for a valid name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="nameExact(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nameExact</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;nameExact(java.lang.String&nbsp;name)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#nameExact(java.lang.String)">AbstractFuzzyMember.Builder</a></code></strong></div>
<div class="block">Set the exact name of the member we are matching.
<p<
This will overwrite the regular expression rule.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#nameExact(java.lang.String)">nameExact</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMember.Builder</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - - exact name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="declaringClassExactType(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>declaringClassExactType</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;declaringClassExactType(java.lang.Class&lt;?&gt;&nbsp;declaringClass)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#declaringClassExactType(java.lang.Class)">AbstractFuzzyMember.Builder</a></code></strong></div>
<div class="block">Require that a member is defined by this exact class.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#declaringClassExactType(java.lang.Class)">declaringClassExactType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMember.Builder</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>declaringClass</code> - - the declaring class of any matching member.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="declaringClassSuperOf(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>declaringClassSuperOf</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;declaringClassSuperOf(java.lang.Class&lt;?&gt;&nbsp;declaringClass)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#declaringClassSuperOf(java.lang.Class)">AbstractFuzzyMember.Builder</a></code></strong></div>
<div class="block">Require that a member is defined by this exact class, or any super class.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#declaringClassSuperOf(java.lang.Class)">declaringClassSuperOf</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMember.Builder</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>declaringClass</code> - - the declaring class.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="declaringClassDerivedOf(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>declaringClassDerivedOf</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;declaringClassDerivedOf(java.lang.Class&lt;?&gt;&nbsp;declaringClass)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#declaringClassDerivedOf(java.lang.Class)">AbstractFuzzyMember.Builder</a></code></strong></div>
<div class="block">Require that a member is defined by this exact class, or any super class.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#declaringClassDerivedOf(java.lang.Class)">declaringClassDerivedOf</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMember.Builder</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>declaringClass</code> - - the declaring class.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="declaringClassMatching(com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>declaringClassMatching</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;declaringClassMatching(<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMatcher</a>&lt;java.lang.Class&lt;?&gt;&gt;&nbsp;classMatcher)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#declaringClassMatching(com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher)">AbstractFuzzyMember.Builder</a></code></strong></div>
<div class="block">Require that a member is defined by a class that matches the given matcher.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#declaringClassMatching(com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher)">declaringClassMatching</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMember.Builder</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>classMatcher</code> - - class matcher.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="parameterExactType(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parameterExactType</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;parameterExactType(java.lang.Class&lt;?&gt;&nbsp;type)</pre>
<div class="block">Add a new required parameter by type for any matching method.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - - the exact type this parameter must match.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="parameterSuperOf(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parameterSuperOf</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;parameterSuperOf(java.lang.Class&lt;?&gt;&nbsp;type)</pre>
<div class="block">Add a new required parameter whose type must be a superclass of the given type.
<p>
If a parameter is of type Number, any derived class (Integer, Long, etc.) will match it.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - - a type or derived type of the matching parameter.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="parameterMatches(com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parameterMatches</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;parameterMatches(<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMatcher</a>&lt;java.lang.Class&lt;?&gt;&gt;&nbsp;classMatcher)</pre>
<div class="block">Add a new required parameter whose type must match the given class matcher.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classMatcher</code> - - the class matcher.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="parameterExactType(java.lang.Class, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parameterExactType</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;parameterExactType(java.lang.Class&lt;?&gt;&nbsp;type,
int&nbsp;index)</pre>
<div class="block">Add a new required parameter by type and position for any matching method.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - - the exact type this parameter must match.</dd><dd><code>index</code> - - the expected position in the parameter list.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="parameterSuperOf(java.lang.Class, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parameterSuperOf</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;parameterSuperOf(java.lang.Class&lt;?&gt;&nbsp;type,
int&nbsp;index)</pre>
<div class="block">Add a new required parameter whose type must be a superclass of the given type.
<p>
If a parameter is of type Number, any derived class (Integer, Long, etc.) will match it.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - - a type or derived type of the matching parameter.</dd><dd><code>index</code> - - the expected position in the parameter list.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="parameterMatches(com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parameterMatches</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;parameterMatches(<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMatcher</a>&lt;java.lang.Class&lt;?&gt;&gt;&nbsp;classMatcher,
int&nbsp;index)</pre>
<div class="block">Add a new required parameter whose type must match the given class matcher and index.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classMatcher</code> - - the class matcher.</dd><dd><code>index</code> - - the expected position in the parameter list.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="parameterCount(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parameterCount</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;parameterCount(int&nbsp;expectedCount)</pre>
<div class="block">Set the expected number of parameters in the matching method.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>expectedCount</code> - - the number of parameters to expect.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="returnTypeVoid()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>returnTypeVoid</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;returnTypeVoid()</pre>
<div class="block">Require a void method.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="returnTypeExact(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>returnTypeExact</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;returnTypeExact(java.lang.Class&lt;?&gt;&nbsp;type)</pre>
<div class="block">Set the return type of a matching method exactly.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - - the exact return type.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="returnDerivedOf(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>returnDerivedOf</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;returnDerivedOf(java.lang.Class&lt;?&gt;&nbsp;type)</pre>
<div class="block">Set the expected super class of the return type for every matching method.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - - the return type, or a super class of it.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="returnTypeMatches(com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>returnTypeMatches</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;returnTypeMatches(<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMatcher</a>&lt;java.lang.Class&lt;?&gt;&gt;&nbsp;classMatcher)</pre>
<div class="block">Set a matcher that must match the return type of a matching method.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classMatcher</code> - - the exact return type.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="exceptionExactType(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exceptionExactType</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;exceptionExactType(java.lang.Class&lt;?&gt;&nbsp;type)</pre>
<div class="block">Add a throwable exception that must match the given type exactly.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - - exception type.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="exceptionSuperOf(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exceptionSuperOf</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;exceptionSuperOf(java.lang.Class&lt;?&gt;&nbsp;type)</pre>
<div class="block">Add a throwable exception that must match the given type or be derived.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - - exception type.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="exceptionMatches(com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exceptionMatches</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;exceptionMatches(<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMatcher</a>&lt;java.lang.Class&lt;?&gt;&gt;&nbsp;classMatcher)</pre>
<div class="block">Add a throwable exception that must match the given matcher,</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classMatcher</code> - - the class matcher that must match.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="exceptionExactType(java.lang.Class, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exceptionExactType</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;exceptionExactType(java.lang.Class&lt;?&gt;&nbsp;type,
int&nbsp;index)</pre>
<div class="block">Add a throwable exception that must match the given type exactly and index.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - - exception type.</dd><dd><code>index</code> - - the position in the throwable list.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="exceptionSuperOf(java.lang.Class, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exceptionSuperOf</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;exceptionSuperOf(java.lang.Class&lt;?&gt;&nbsp;type,
int&nbsp;index)</pre>
<div class="block">Add a throwable exception that must match the given type or be derived and index.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - - exception type.</dd><dd><code>index</code> - - the position in the throwable list.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="exceptionMatches(com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exceptionMatches</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract.Builder</a>&nbsp;exceptionMatches(<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMatcher</a>&lt;java.lang.Class&lt;?&gt;&gt;&nbsp;classMatcher,
int&nbsp;index)</pre>
<div class="block">Add a throwable exception that must match the given matcher and index.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classMatcher</code> - - the class matcher that must match.</dd><dd><code>index</code> - - the position in the throwable list.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This builder, for chaining.</dd></dl>
</li>
</ul>
<a name="initialMember()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initialMember</h4>
<pre>@Nonnull
protected&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&nbsp;initialMember()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#initialMember()">AbstractFuzzyMember.Builder</a></code></strong></div>
<div class="block">Construct a new instance of the current type.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#initialMember()">initialMember</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMember.Builder</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>New instance.</dd></dl>
</li>
</ul>
<a name="build()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>build</h4>
<pre>public&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&nbsp;build()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#build()">AbstractFuzzyMember.Builder</a></code></strong></div>
<div class="block">Build a new instance of this type.
<p>
Builders should call <a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.html#prepareBuild()"><code>AbstractFuzzyMember.prepareBuild()</code></a> when constructing new objects.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html#build()">build</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html" title="class in com.comphenix.protocol.reflect.fuzzy">AbstractFuzzyMember.Builder</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy">FuzzyMethodContract</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>New instance of this type.</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/FuzzyMethodContract.Builder.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/fuzzy/FuzzyMethodContract.html" title="class in com.comphenix.protocol.reflect.fuzzy"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html" target="_top">Frames</a></li>
<li><a href="FuzzyMethodContract.Builder.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="#fields_inherited_from_class_com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder">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>Field&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>