1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_10-ea) on Mon Apr 22 19:50:38 PDT 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>AnnotatedParameter (jackson-databind 2.2.0 API)</title> 8<meta name="date" content="2013-04-22"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="AnnotatedParameter (jackson-databind 2.2.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/AnnotatedParameter.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../../index-all.html">Index</a></li> 35<li><a href="../../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethodMap.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedWithParams.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html" target="_top">Frames</a></li> 45<li><a href="AnnotatedParameter.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li><a href="#field_summary">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#field_detail">Field</a> | </li> 73<li><a href="#constructor_detail">Constr</a> | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind.introspect</div> 84<h2 title="Class AnnotatedParameter" class="title">Class AnnotatedParameter</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 89<li> 90<ul class="inheritance"> 91<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">com.fasterxml.jackson.databind.introspect.Annotated</a></li> 92<li> 93<ul class="inheritance"> 94<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">com.fasterxml.jackson.databind.introspect.AnnotatedMember</a></li> 95<li> 96<ul class="inheritance"> 97<li>com.fasterxml.jackson.databind.introspect.AnnotatedParameter</li> 98</ul> 99</li> 100</ul> 101</li> 102</ul> 103</li> 104</ul> 105<div class="description"> 106<ul class="blockList"> 107<li class="blockList"> 108<dl> 109<dt>All Implemented Interfaces:</dt> 110<dd><a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 111</dl> 112<hr> 113<br> 114<pre>public final class <span class="strong">AnnotatedParameter</span> 115extends <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a></pre> 116<div class="block">Object that represents method parameters, mostly so that associated 117 annotations can be processed conveniently. Note that many of accessors 118 can not return meaningful values since parameters do not have stand-alone 119 JDK objects associated; so access should mostly be limited to checking 120 annotation values which are properly aggregated and included. 121<p> 122 Note: as of version 1.7, this type extends <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect"><code>AnnotatedMember</code></a>, since 123 it behaves like a member for the most part, but earlier it just extended 124 <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect"><code>Annotated</code></a></div> 125<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.introspect.AnnotatedParameter">Serialized Form</a></dd></dl> 126</li> 127</ul> 128</div> 129<div class="summary"> 130<ul class="blockList"> 131<li class="blockList"> 132<!-- =========== FIELD SUMMARY =========== --> 133<ul class="blockList"> 134<li class="blockList"><a name="field_summary"> 135<!-- --> 136</a> 137<h3>Field Summary</h3> 138<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 139<caption><span>Fields</span><span class="tabEnd"> </span></caption> 140<tr> 141<th class="colFirst" scope="col">Modifier and Type</th> 142<th class="colLast" scope="col">Field and Description</th> 143</tr> 144<tr class="altColor"> 145<td class="colFirst"><code>protected int</code></td> 146<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#_index">_index</a></strong></code> 147<div class="block">Index of the parameter within argument list</div> 148</td> 149</tr> 150<tr class="rowColor"> 151<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedWithParams.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedWithParams</a></code></td> 152<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#_owner">_owner</a></strong></code> 153<div class="block">Member (method, constructor) that this parameter belongs to</div> 154</td> 155</tr> 156<tr class="altColor"> 157<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a></code></td> 158<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#_type">_type</a></strong></code> 159<div class="block">JDK type of the parameter, possibly contains generic type information</div> 160</td> 161</tr> 162</table> 163<ul class="blockList"> 164<li class="blockList"><a name="fields_inherited_from_class_com.fasterxml.jackson.databind.introspect.AnnotatedMember"> 165<!-- --> 166</a> 167<h3>Fields inherited from class com.fasterxml.jackson.databind.introspect.<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a></h3> 168<code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#_annotations">_annotations</a></code></li> 169</ul> 170</li> 171</ul> 172<!-- ======== CONSTRUCTOR SUMMARY ======== --> 173<ul class="blockList"> 174<li class="blockList"><a name="constructor_summary"> 175<!-- --> 176</a> 177<h3>Constructor Summary</h3> 178<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 179<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 180<tr> 181<th class="colOne" scope="col">Constructor and Description</th> 182</tr> 183<tr class="altColor"> 184<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#AnnotatedParameter(com.fasterxml.jackson.databind.introspect.AnnotatedWithParams, java.lang.reflect.Type, com.fasterxml.jackson.databind.introspect.AnnotationMap, int)">AnnotatedParameter</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedWithParams.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedWithParams</a> owner, 185 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type, 186 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> annotations, 187 int index)</code> </td> 188</tr> 189</table> 190</li> 191</ul> 192<!-- ========== METHOD SUMMARY =========== --> 193<ul class="blockList"> 194<li class="blockList"><a name="method_summary"> 195<!-- --> 196</a> 197<h3>Method Summary</h3> 198<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 199<caption><span>Methods</span><span class="tabEnd"> </span></caption> 200<tr> 201<th class="colFirst" scope="col">Modifier and Type</th> 202<th class="colLast" scope="col">Method and Description</th> 203</tr> 204<tr class="altColor"> 205<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/AnnotatedElement.html?is-external=true" title="class or interface in java.lang.reflect">AnnotatedElement</a></code></td> 206<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#getAnnotated()">getAnnotated</a></strong>()</code> 207<div class="block">Since there is no matching JDK element, this method will 208 always return null</div> 209</td> 210</tr> 211<tr class="rowColor"> 212<td class="colFirst"><code><A extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> <br>A</code></td> 213<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#getAnnotation(java.lang.Class)">getAnnotation</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><A> acls)</code> 214<div class="block">Accessor for annotations; all annotations associated with parameters 215 are properly passed and accessible.</div> 216</td> 217</tr> 218<tr class="altColor"> 219<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> 220<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#getDeclaringClass()">getDeclaringClass</a></strong>()</code> </td> 221</tr> 222<tr class="rowColor"> 223<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a></code></td> 224<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#getGenericType()">getGenericType</a></strong>()</code> 225<div class="block">Full generic type of the annotated element; definition 226 of what exactly this means depends on sub-class.</div> 227</td> 228</tr> 229<tr class="altColor"> 230<td class="colFirst"><code>int</code></td> 231<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#getIndex()">getIndex</a></strong>()</code> 232<div class="block">Accessor for index of this parameter within argument list</div> 233</td> 234</tr> 235<tr class="rowColor"> 236<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a></code></td> 237<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#getMember()">getMember</a></strong>()</code> </td> 238</tr> 239<tr class="altColor"> 240<td class="colFirst"><code>int</code></td> 241<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#getModifiers()">getModifiers</a></strong>()</code> 242<div class="block">Returns modifiers of the constructor, as parameters do not 243 have independent modifiers.</div> 244</td> 245</tr> 246<tr class="rowColor"> 247<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 248<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#getName()">getName</a></strong>()</code> 249<div class="block">Parameters have no names in bytecode (unlike in source code), 250 will always return empty String ("").</div> 251</td> 252</tr> 253<tr class="altColor"> 254<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedWithParams.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedWithParams</a></code></td> 255<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#getOwner()">getOwner</a></strong>()</code> 256<div class="block">Accessor for 'owner' of this parameter; method or constructor that 257 has this parameter as member of its argument list.</div> 258</td> 259</tr> 260<tr class="rowColor"> 261<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a></code></td> 262<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#getParameterType()">getParameterType</a></strong>()</code> </td> 263</tr> 264<tr class="altColor"> 265<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> 266<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#getRawType()">getRawType</a></strong>()</code> 267<div class="block">"Raw" type (type-erased class) of the annotated element; definition 268 of what exactly this means depends on sub-class.</div> 269</td> 270</tr> 271<tr class="rowColor"> 272<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 273<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#getValue(java.lang.Object)">getValue</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo)</code> 274<div class="block">Optional method that can be used to access the value of 275 this member on given object, if this is a supported 276 operation for member type.</div> 277</td> 278</tr> 279<tr class="altColor"> 280<td class="colFirst"><code>void</code></td> 281<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#setValue(java.lang.Object, java.lang.Object)">setValue</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, 282 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 283<div class="block">Optional method that can be used to assign value of 284 this member on given object, if this is a supported 285 operation for member type.</div> 286</td> 287</tr> 288<tr class="rowColor"> 289<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 290<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#toString()">toString</a></strong>()</code> </td> 291</tr> 292<tr class="altColor"> 293<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedParameter</a></code></td> 294<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html#withAnnotations(com.fasterxml.jackson.databind.introspect.AnnotationMap)">withAnnotations</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> ann)</code> 295<div class="block">Fluent factory method that will construct a new instance that uses specified 296 instance annotations instead of currently configured ones.</div> 297</td> 298</tr> 299</table> 300<ul class="blockList"> 301<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.introspect.AnnotatedMember"> 302<!-- --> 303</a> 304<h3>Methods inherited from class com.fasterxml.jackson.databind.introspect.<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a></h3> 305<code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#addIfNotPresent(java.lang.annotation.Annotation)">addIfNotPresent</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#addOrOverride(java.lang.annotation.Annotation)">addOrOverride</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#fixAccess()">fixAccess</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getAllAnnotations()">getAllAnnotations</a></code></li> 306</ul> 307<ul class="blockList"> 308<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.introspect.Annotated"> 309<!-- --> 310</a> 311<h3>Methods inherited from class com.fasterxml.jackson.databind.introspect.<a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a></h3> 312<code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getType(com.fasterxml.jackson.databind.type.TypeBindings)">getType</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#hasAnnotation(java.lang.Class)">hasAnnotation</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#isPublic()">isPublic</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#withFallBackAnnotationsFrom(com.fasterxml.jackson.databind.introspect.Annotated)">withFallBackAnnotationsFrom</a></code></li> 313</ul> 314<ul class="blockList"> 315<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 316<!-- --> 317</a> 318<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 319<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> 320</ul> 321</li> 322</ul> 323</li> 324</ul> 325</div> 326<div class="details"> 327<ul class="blockList"> 328<li class="blockList"> 329<!-- ============ FIELD DETAIL =========== --> 330<ul class="blockList"> 331<li class="blockList"><a name="field_detail"> 332<!-- --> 333</a> 334<h3>Field Detail</h3> 335<a name="_owner"> 336<!-- --> 337</a> 338<ul class="blockList"> 339<li class="blockList"> 340<h4>_owner</h4> 341<pre>protected final <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedWithParams.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedWithParams</a> _owner</pre> 342<div class="block">Member (method, constructor) that this parameter belongs to</div> 343</li> 344</ul> 345<a name="_type"> 346<!-- --> 347</a> 348<ul class="blockList"> 349<li class="blockList"> 350<h4>_type</h4> 351<pre>protected final <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> _type</pre> 352<div class="block">JDK type of the parameter, possibly contains generic type information</div> 353</li> 354</ul> 355<a name="_index"> 356<!-- --> 357</a> 358<ul class="blockListLast"> 359<li class="blockList"> 360<h4>_index</h4> 361<pre>protected final int _index</pre> 362<div class="block">Index of the parameter within argument list</div> 363</li> 364</ul> 365</li> 366</ul> 367<!-- ========= CONSTRUCTOR DETAIL ======== --> 368<ul class="blockList"> 369<li class="blockList"><a name="constructor_detail"> 370<!-- --> 371</a> 372<h3>Constructor Detail</h3> 373<a name="AnnotatedParameter(com.fasterxml.jackson.databind.introspect.AnnotatedWithParams, java.lang.reflect.Type, com.fasterxml.jackson.databind.introspect.AnnotationMap, int)"> 374<!-- --> 375</a> 376<ul class="blockListLast"> 377<li class="blockList"> 378<h4>AnnotatedParameter</h4> 379<pre>public AnnotatedParameter(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedWithParams.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedWithParams</a> owner, 380 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type, 381 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> annotations, 382 int index)</pre> 383</li> 384</ul> 385</li> 386</ul> 387<!-- ============ METHOD DETAIL ========== --> 388<ul class="blockList"> 389<li class="blockList"><a name="method_detail"> 390<!-- --> 391</a> 392<h3>Method Detail</h3> 393<a name="withAnnotations(com.fasterxml.jackson.databind.introspect.AnnotationMap)"> 394<!-- --> 395</a> 396<ul class="blockList"> 397<li class="blockList"> 398<h4>withAnnotations</h4> 399<pre>public <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedParameter</a> withAnnotations(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> ann)</pre> 400<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#withAnnotations(com.fasterxml.jackson.databind.introspect.AnnotationMap)">Annotated</a></code></strong></div> 401<div class="block">Fluent factory method that will construct a new instance that uses specified 402 instance annotations instead of currently configured ones.</div> 403<dl> 404<dt><strong>Specified by:</strong></dt> 405<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#withAnnotations(com.fasterxml.jackson.databind.introspect.AnnotationMap)">withAnnotations</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a></code></dd> 406</dl> 407</li> 408</ul> 409<a name="getAnnotated()"> 410<!-- --> 411</a> 412<ul class="blockList"> 413<li class="blockList"> 414<h4>getAnnotated</h4> 415<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/AnnotatedElement.html?is-external=true" title="class or interface in java.lang.reflect">AnnotatedElement</a> getAnnotated()</pre> 416<div class="block">Since there is no matching JDK element, this method will 417 always return null</div> 418<dl> 419<dt><strong>Specified by:</strong></dt> 420<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getAnnotated()">getAnnotated</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a></code></dd> 421</dl> 422</li> 423</ul> 424<a name="getModifiers()"> 425<!-- --> 426</a> 427<ul class="blockList"> 428<li class="blockList"> 429<h4>getModifiers</h4> 430<pre>public int getModifiers()</pre> 431<div class="block">Returns modifiers of the constructor, as parameters do not 432 have independent modifiers.</div> 433<dl> 434<dt><strong>Specified by:</strong></dt> 435<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getModifiers()">getModifiers</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a></code></dd> 436</dl> 437</li> 438</ul> 439<a name="getName()"> 440<!-- --> 441</a> 442<ul class="blockList"> 443<li class="blockList"> 444<h4>getName</h4> 445<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getName()</pre> 446<div class="block">Parameters have no names in bytecode (unlike in source code), 447 will always return empty String ("").</div> 448<dl> 449<dt><strong>Specified by:</strong></dt> 450<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getName()">getName</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a></code></dd> 451</dl> 452</li> 453</ul> 454<a name="getAnnotation(java.lang.Class)"> 455<!-- --> 456</a> 457<ul class="blockList"> 458<li class="blockList"> 459<h4>getAnnotation</h4> 460<pre>public <A extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> A getAnnotation(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><A> acls)</pre> 461<div class="block">Accessor for annotations; all annotations associated with parameters 462 are properly passed and accessible.</div> 463<dl> 464<dt><strong>Specified by:</strong></dt> 465<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getAnnotation(java.lang.Class)">getAnnotation</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a></code></dd> 466</dl> 467</li> 468</ul> 469<a name="getGenericType()"> 470<!-- --> 471</a> 472<ul class="blockList"> 473<li class="blockList"> 474<h4>getGenericType</h4> 475<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> getGenericType()</pre> 476<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getGenericType()">Annotated</a></code></strong></div> 477<div class="block">Full generic type of the annotated element; definition 478 of what exactly this means depends on sub-class.</div> 479<dl> 480<dt><strong>Specified by:</strong></dt> 481<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getGenericType()">getGenericType</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a></code></dd> 482</dl> 483</li> 484</ul> 485<a name="getRawType()"> 486<!-- --> 487</a> 488<ul class="blockList"> 489<li class="blockList"> 490<h4>getRawType</h4> 491<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> getRawType()</pre> 492<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getRawType()">Annotated</a></code></strong></div> 493<div class="block">"Raw" type (type-erased class) of the annotated element; definition 494 of what exactly this means depends on sub-class.</div> 495<dl> 496<dt><strong>Specified by:</strong></dt> 497<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getRawType()">getRawType</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a></code></dd> 498</dl> 499</li> 500</ul> 501<a name="getDeclaringClass()"> 502<!-- --> 503</a> 504<ul class="blockList"> 505<li class="blockList"> 506<h4>getDeclaringClass</h4> 507<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> getDeclaringClass()</pre> 508<dl> 509<dt><strong>Specified by:</strong></dt> 510<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getDeclaringClass()">getDeclaringClass</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a></code></dd> 511</dl> 512</li> 513</ul> 514<a name="getMember()"> 515<!-- --> 516</a> 517<ul class="blockList"> 518<li class="blockList"> 519<h4>getMember</h4> 520<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a> getMember()</pre> 521<dl> 522<dt><strong>Specified by:</strong></dt> 523<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getMember()">getMember</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a></code></dd> 524</dl> 525</li> 526</ul> 527<a name="setValue(java.lang.Object, java.lang.Object)"> 528<!-- --> 529</a> 530<ul class="blockList"> 531<li class="blockList"> 532<h4>setValue</h4> 533<pre>public void setValue(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, 534 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 535 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></pre> 536<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#setValue(java.lang.Object, java.lang.Object)">AnnotatedMember</a></code></strong></div> 537<div class="block">Optional method that can be used to assign value of 538 this member on given object, if this is a supported 539 operation for member type. 540<p> 541 This is implemented for fields and single-argument 542 member methods; but not for constructor parameters or 543 other types of methods (like static methods)</div> 544<dl> 545<dt><strong>Specified by:</strong></dt> 546<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#setValue(java.lang.Object, java.lang.Object)">setValue</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a></code></dd> 547<dt><span class="strong">Throws:</span></dt> 548<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code></dd></dl> 549</li> 550</ul> 551<a name="getValue(java.lang.Object)"> 552<!-- --> 553</a> 554<ul class="blockList"> 555<li class="blockList"> 556<h4>getValue</h4> 557<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getValue(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo) 558 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></pre> 559<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getValue(java.lang.Object)">AnnotatedMember</a></code></strong></div> 560<div class="block">Optional method that can be used to access the value of 561 this member on given object, if this is a supported 562 operation for member type. 563<p> 564 This is implemented for fields and no-argument 565 member methods; but not for constructor parameters or 566 other types of methods (like static methods)</div> 567<dl> 568<dt><strong>Specified by:</strong></dt> 569<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getValue(java.lang.Object)">getValue</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a></code></dd> 570<dt><span class="strong">Throws:</span></dt> 571<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code></dd></dl> 572</li> 573</ul> 574<a name="getParameterType()"> 575<!-- --> 576</a> 577<ul class="blockList"> 578<li class="blockList"> 579<h4>getParameterType</h4> 580<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> getParameterType()</pre> 581</li> 582</ul> 583<a name="getOwner()"> 584<!-- --> 585</a> 586<ul class="blockList"> 587<li class="blockList"> 588<h4>getOwner</h4> 589<pre>public <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedWithParams.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedWithParams</a> getOwner()</pre> 590<div class="block">Accessor for 'owner' of this parameter; method or constructor that 591 has this parameter as member of its argument list.</div> 592<dl><dt><span class="strong">Returns:</span></dt><dd>Owner (member or creator) object of this parameter</dd></dl> 593</li> 594</ul> 595<a name="getIndex()"> 596<!-- --> 597</a> 598<ul class="blockList"> 599<li class="blockList"> 600<h4>getIndex</h4> 601<pre>public int getIndex()</pre> 602<div class="block">Accessor for index of this parameter within argument list</div> 603<dl><dt><span class="strong">Returns:</span></dt><dd>Index of this parameter within argument list</dd></dl> 604</li> 605</ul> 606<a name="toString()"> 607<!-- --> 608</a> 609<ul class="blockListLast"> 610<li class="blockList"> 611<h4>toString</h4> 612<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> 613<dl> 614<dt><strong>Overrides:</strong></dt> 615<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> 616</dl> 617</li> 618</ul> 619</li> 620</ul> 621</li> 622</ul> 623</div> 624</div> 625<!-- ========= END OF CLASS DATA ========= --> 626<!-- ======= START OF BOTTOM NAVBAR ====== --> 627<div class="bottomNav"><a name="navbar_bottom"> 628<!-- --> 629</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 630<!-- --> 631</a> 632<ul class="navList" title="Navigation"> 633<li><a href="../../../../../overview-summary.html">Overview</a></li> 634<li><a href="package-summary.html">Package</a></li> 635<li class="navBarCell1Rev">Class</li> 636<li><a href="class-use/AnnotatedParameter.html">Use</a></li> 637<li><a href="package-tree.html">Tree</a></li> 638<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 639<li><a href="../../../../../index-all.html">Index</a></li> 640<li><a href="../../../../../help-doc.html">Help</a></li> 641</ul> 642</div> 643<div class="subNav"> 644<ul class="navList"> 645<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethodMap.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="strong">Prev Class</span></a></li> 646<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedWithParams.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="strong">Next Class</span></a></li> 647</ul> 648<ul class="navList"> 649<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html" target="_top">Frames</a></li> 650<li><a href="AnnotatedParameter.html" target="_top">No Frames</a></li> 651</ul> 652<ul class="navList" id="allclasses_navbar_bottom"> 653<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 654</ul> 655<div> 656<script type="text/javascript"><!-- 657 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 658 if(window==top) { 659 allClassesLink.style.display = "block"; 660 } 661 else { 662 allClassesLink.style.display = "none"; 663 } 664 //--> 665</script> 666</div> 667<div> 668<ul class="subNavList"> 669<li>Summary: </li> 670<li>Nested | </li> 671<li><a href="#field_summary">Field</a> | </li> 672<li><a href="#constructor_summary">Constr</a> | </li> 673<li><a href="#method_summary">Method</a></li> 674</ul> 675<ul class="subNavList"> 676<li>Detail: </li> 677<li><a href="#field_detail">Field</a> | </li> 678<li><a href="#constructor_detail">Constr</a> | </li> 679<li><a href="#method_detail">Method</a></li> 680</ul> 681</div> 682<a name="skip-navbar_bottom"> 683<!-- --> 684</a></div> 685<!-- ======== END OF BOTTOM NAVBAR ======= --> 686<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 687</body> 688</html> 689