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 (1.8.0_162) on Tue Jan 23 20:22:15 PST 2018 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>AnnotatedField (jackson-databind 2.9.0 API)</title> 8<meta name="date" content="2018-01-23"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="AnnotatedField (jackson-databind 2.9.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":42,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; 24var altColor = "altColor"; 25var rowColor = "rowColor"; 26var tableTab = "tableTab"; 27var activeTableTab = "activeTableTab"; 28</script> 29<noscript> 30<div>JavaScript is disabled on your browser.</div> 31</noscript> 32<!-- ========= START OF TOP NAVBAR ======= --> 33<div class="topNav"><a name="navbar.top"> 34<!-- --> 35</a> 36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 37<a name="navbar.top.firstrow"> 38<!-- --> 39</a> 40<ul class="navList" title="Navigation"> 41<li><a href="../../../../../overview-summary.html">Overview</a></li> 42<li><a href="package-summary.html">Package</a></li> 43<li class="navBarCell1Rev">Class</li> 44<li><a href="class-use/AnnotatedField.html">Use</a></li> 45<li><a href="package-tree.html">Tree</a></li> 46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 47<li><a href="../../../../../index-all.html">Index</a></li> 48<li><a href="../../../../../help-doc.html">Help</a></li> 49</ul> 50</div> 51<div class="subNav"> 52<ul class="navList"> 53<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedConstructor.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedFieldCollector.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/introspect/AnnotatedField.html" target="_top">Frames</a></li> 58<li><a href="AnnotatedField.html" target="_top">No Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 62</ul> 63<div> 64<script type="text/javascript"><!-- 65 allClassesLink = document.getElementById("allclasses_navbar_top"); 66 if(window==top) { 67 allClassesLink.style.display = "block"; 68 } 69 else { 70 allClassesLink.style.display = "none"; 71 } 72 //--> 73</script> 74</div> 75<div> 76<ul class="subNavList"> 77<li>Summary: </li> 78<li>Nested | </li> 79<li><a href="#field.summary">Field</a> | </li> 80<li><a href="#constructor.summary">Constr</a> | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li><a href="#field.detail">Field</a> | </li> 86<li><a href="#constructor.detail">Constr</a> | </li> 87<li><a href="#method.detail">Method</a></li> 88</ul> 89</div> 90<a name="skip.navbar.top"> 91<!-- --> 92</a></div> 93<!-- ========= END OF TOP NAVBAR ========= --> 94<!-- ======== START OF CLASS DATA ======== --> 95<div class="header"> 96<div class="subTitle">com.fasterxml.jackson.databind.introspect</div> 97<h2 title="Class AnnotatedField" class="title">Class AnnotatedField</h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 102<li> 103<ul class="inheritance"> 104<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> 105<li> 106<ul class="inheritance"> 107<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> 108<li> 109<ul class="inheritance"> 110<li>com.fasterxml.jackson.databind.introspect.AnnotatedField</li> 111</ul> 112</li> 113</ul> 114</li> 115</ul> 116</li> 117</ul> 118<div class="description"> 119<ul class="blockList"> 120<li class="blockList"> 121<dl> 122<dt>All Implemented Interfaces:</dt> 123<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 124</dl> 125<hr> 126<br> 127<pre>public final class <span class="typeNameLabel">AnnotatedField</span> 128extends <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> 129implements <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> 130<div class="block">Object that represents non-static (and usually non-transient/volatile) 131 fields of a class.</div> 132<dl> 133<dt><span class="seeLabel">See Also:</span></dt> 134<dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.introspect.AnnotatedField">Serialized Form</a></dd> 135</dl> 136</li> 137</ul> 138</div> 139<div class="summary"> 140<ul class="blockList"> 141<li class="blockList"> 142<!-- =========== FIELD SUMMARY =========== --> 143<ul class="blockList"> 144<li class="blockList"><a name="field.summary"> 145<!-- --> 146</a> 147<h3>Field Summary</h3> 148<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 149<caption><span>Fields</span><span class="tabEnd"> </span></caption> 150<tr> 151<th class="colFirst" scope="col">Modifier and Type</th> 152<th class="colLast" scope="col">Field and Description</th> 153</tr> 154<tr class="altColor"> 155<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a></code></td> 156<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#Z:Z_field">_field</a></span></code> 157<div class="block">Actual <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect"><code>Field</code></a> used for access.</div> 158</td> 159</tr> 160<tr class="rowColor"> 161<td class="colFirst"><code>protected com.fasterxml.jackson.databind.introspect.AnnotatedField.Serialization</code></td> 162<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#Z:Z_serialization">_serialization</a></span></code> 163<div class="block">Temporary field required for JDK serialization support</div> 164</td> 165</tr> 166</table> 167<ul class="blockList"> 168<li class="blockList"><a name="fields.inherited.from.class.com.fasterxml.jackson.databind.introspect.AnnotatedMember"> 169<!-- --> 170</a> 171<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> 172<code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#Z:Z_annotations">_annotations</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#Z:Z_typeContext">_typeContext</a></code></li> 173</ul> 174</li> 175</ul> 176<!-- ======== CONSTRUCTOR SUMMARY ======== --> 177<ul class="blockList"> 178<li class="blockList"><a name="constructor.summary"> 179<!-- --> 180</a> 181<h3>Constructor Summary</h3> 182<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 183<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 184<tr> 185<th class="colFirst" scope="col">Modifier</th> 186<th class="colLast" scope="col">Constructor and Description</th> 187</tr> 188<tr class="altColor"> 189<td class="colFirst"><code>protected </code></td> 190<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#AnnotatedField-com.fasterxml.jackson.databind.introspect.AnnotatedField.Serialization-">AnnotatedField</a></span>(com.fasterxml.jackson.databind.introspect.AnnotatedField.Serialization ser)</code> 191<div class="block">Method used for JDK serialization support</div> 192</td> 193</tr> 194<tr class="rowColor"> 195<td class="colFirst"><code> </code></td> 196<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#AnnotatedField-com.fasterxml.jackson.databind.introspect.TypeResolutionContext-java.lang.reflect.Field-com.fasterxml.jackson.databind.introspect.AnnotationMap-">AnnotatedField</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/TypeResolutionContext.html" title="interface in com.fasterxml.jackson.databind.introspect">TypeResolutionContext</a> contextClass, 197 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> field, 198 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> annMap)</code> </td> 199</tr> 200</table> 201</li> 202</ul> 203<!-- ========== METHOD SUMMARY =========== --> 204<ul class="blockList"> 205<li class="blockList"><a name="method.summary"> 206<!-- --> 207</a> 208<h3>Method Summary</h3> 209<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 210<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> 211<tr> 212<th class="colFirst" scope="col">Modifier and Type</th> 213<th class="colLast" scope="col">Method and Description</th> 214</tr> 215<tr id="i0" class="altColor"> 216<td class="colFirst"><code>boolean</code></td> 217<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> </td> 218</tr> 219<tr id="i1" class="rowColor"> 220<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a></code></td> 221<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#getAnnotated--">getAnnotated</a></span>()</code> 222<div class="block">Method that can be used to find actual JDK element that this instance 223 represents.</div> 224</td> 225</tr> 226<tr id="i2" class="altColor"> 227<td class="colFirst"><code>int</code></td> 228<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#getAnnotationCount--">getAnnotationCount</a></span>()</code> </td> 229</tr> 230<tr id="i3" class="rowColor"> 231<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> 232<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#getDeclaringClass--">getDeclaringClass</a></span>()</code> 233<div class="block">Actual physical class in which this memmber was declared.</div> 234</td> 235</tr> 236<tr id="i4" class="altColor"> 237<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a></code></td> 238<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#getGenericType--">getGenericType</a></span>()</code> 239<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> 240</td> 241</tr> 242<tr id="i5" class="rowColor"> 243<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a></code></td> 244<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#getMember--">getMember</a></span>()</code> </td> 245</tr> 246<tr id="i6" class="altColor"> 247<td class="colFirst"><code>int</code></td> 248<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#getModifiers--">getModifiers</a></span>()</code> </td> 249</tr> 250<tr id="i7" class="rowColor"> 251<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 252<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#getName--">getName</a></span>()</code> </td> 253</tr> 254<tr id="i8" class="altColor"> 255<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> 256<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#getRawType--">getRawType</a></span>()</code> 257<div class="block">"Raw" type (type-erased class) of the annotated element; definition 258 of what exactly this means depends on sub-class.</div> 259</td> 260</tr> 261<tr id="i9" class="rowColor"> 262<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></code></td> 263<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#getType--">getType</a></span>()</code> 264<div class="block">Full generic type of the annotated element; definition 265 of what exactly this means depends on sub-class.</div> 266</td> 267</tr> 268<tr id="i10" class="altColor"> 269<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 270<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#getValue-java.lang.Object-">getValue</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo)</code> 271<div class="block">Optional method that can be used to access the value of 272 this member on given object, if this is a supported 273 operation for member type.</div> 274</td> 275</tr> 276<tr id="i11" class="rowColor"> 277<td class="colFirst"><code>int</code></td> 278<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#hashCode--">hashCode</a></span>()</code> </td> 279</tr> 280<tr id="i12" class="altColor"> 281<td class="colFirst"><code>boolean</code></td> 282<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#isTransient--">isTransient</a></span>()</code> </td> 283</tr> 284<tr id="i13" class="rowColor"> 285<td class="colFirst"><code>void</code></td> 286<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#setValue-java.lang.Object-java.lang.Object-">setValue</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, 287 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 288<div class="block">Optional method that can be used to assign value of 289 this member on given object, if this is a supported 290 operation for member type.</div> 291</td> 292</tr> 293<tr id="i14" class="altColor"> 294<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 295<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#toString--">toString</a></span>()</code> </td> 296</tr> 297<tr id="i15" class="rowColor"> 298<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</a></code></td> 299<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html#withAnnotations-com.fasterxml.jackson.databind.introspect.AnnotationMap-">withAnnotations</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> ann)</code> 300<div class="block">Fluent factory method that will construct a new instance that uses specified 301 instance annotations instead of currently configured ones.</div> 302</td> 303</tr> 304</table> 305<ul class="blockList"> 306<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.introspect.AnnotatedMember"> 307<!-- --> 308</a> 309<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> 310<code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#annotations--">annotations</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#fixAccess-boolean-">fixAccess</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getAllAnnotations--">getAllAnnotations</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getAnnotation-java.lang.Class-">getAnnotation</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getFullName--">getFullName</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getTypeContext--">getTypeContext</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#hasAnnotation-java.lang.Class-">hasAnnotation</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#hasOneOf-java.lang.Class:A-">hasOneOf</a></code></li> 311</ul> 312<ul class="blockList"> 313<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.introspect.Annotated"> 314<!-- --> 315</a> 316<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> 317<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#isPublic--">isPublic</a></code></li> 318</ul> 319<ul class="blockList"> 320<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 321<!-- --> 322</a> 323<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 324<code><a href="http://docs.oracle.com/javase/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 325</ul> 326</li> 327</ul> 328</li> 329</ul> 330</div> 331<div class="details"> 332<ul class="blockList"> 333<li class="blockList"> 334<!-- ============ FIELD DETAIL =========== --> 335<ul class="blockList"> 336<li class="blockList"><a name="field.detail"> 337<!-- --> 338</a> 339<h3>Field Detail</h3> 340<a name="Z:Z_field"> 341<!-- --> 342</a> 343<ul class="blockList"> 344<li class="blockList"> 345<h4>_field</h4> 346<pre>protected final transient <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> _field</pre> 347<div class="block">Actual <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect"><code>Field</code></a> used for access. 348<p> 349 Transient since it cannot be persisted directly using 350 JDK serialization</div> 351</li> 352</ul> 353<a name="Z:Z_serialization"> 354<!-- --> 355</a> 356<ul class="blockListLast"> 357<li class="blockList"> 358<h4>_serialization</h4> 359<pre>protected com.fasterxml.jackson.databind.introspect.AnnotatedField.Serialization _serialization</pre> 360<div class="block">Temporary field required for JDK serialization support</div> 361</li> 362</ul> 363</li> 364</ul> 365<!-- ========= CONSTRUCTOR DETAIL ======== --> 366<ul class="blockList"> 367<li class="blockList"><a name="constructor.detail"> 368<!-- --> 369</a> 370<h3>Constructor Detail</h3> 371<a name="AnnotatedField-com.fasterxml.jackson.databind.introspect.TypeResolutionContext-java.lang.reflect.Field-com.fasterxml.jackson.databind.introspect.AnnotationMap-"> 372<!-- --> 373</a> 374<ul class="blockList"> 375<li class="blockList"> 376<h4>AnnotatedField</h4> 377<pre>public AnnotatedField(<a href="../../../../../com/fasterxml/jackson/databind/introspect/TypeResolutionContext.html" title="interface in com.fasterxml.jackson.databind.introspect">TypeResolutionContext</a> contextClass, 378 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> field, 379 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> annMap)</pre> 380</li> 381</ul> 382<a name="AnnotatedField-com.fasterxml.jackson.databind.introspect.AnnotatedField.Serialization-"> 383<!-- --> 384</a> 385<ul class="blockListLast"> 386<li class="blockList"> 387<h4>AnnotatedField</h4> 388<pre>protected AnnotatedField(com.fasterxml.jackson.databind.introspect.AnnotatedField.Serialization ser)</pre> 389<div class="block">Method used for JDK serialization support</div> 390</li> 391</ul> 392</li> 393</ul> 394<!-- ============ METHOD DETAIL ========== --> 395<ul class="blockList"> 396<li class="blockList"><a name="method.detail"> 397<!-- --> 398</a> 399<h3>Method Detail</h3> 400<a name="withAnnotations-com.fasterxml.jackson.databind.introspect.AnnotationMap-"> 401<!-- --> 402</a> 403<ul class="blockList"> 404<li class="blockList"> 405<h4>withAnnotations</h4> 406<pre>public <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</a> withAnnotations(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> ann)</pre> 407<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#withAnnotations-com.fasterxml.jackson.databind.introspect.AnnotationMap-">AnnotatedMember</a></code></span></div> 408<div class="block">Fluent factory method that will construct a new instance that uses specified 409 instance annotations instead of currently configured ones.</div> 410<dl> 411<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 412<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#withAnnotations-com.fasterxml.jackson.databind.introspect.AnnotationMap-">withAnnotations</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> 413</dl> 414</li> 415</ul> 416<a name="getAnnotated--"> 417<!-- --> 418</a> 419<ul class="blockList"> 420<li class="blockList"> 421<h4>getAnnotated</h4> 422<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> getAnnotated()</pre> 423<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getAnnotated--">Annotated</a></code></span></div> 424<div class="block">Method that can be used to find actual JDK element that this instance 425 represents. It is non-null, except for method/constructor parameters 426 which do not have a JDK counterpart.</div> 427<dl> 428<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 429<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> 430</dl> 431</li> 432</ul> 433<a name="getModifiers--"> 434<!-- --> 435</a> 436<ul class="blockList"> 437<li class="blockList"> 438<h4>getModifiers</h4> 439<pre>public int getModifiers()</pre> 440<dl> 441<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 442<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> 443</dl> 444</li> 445</ul> 446<a name="getName--"> 447<!-- --> 448</a> 449<ul class="blockList"> 450<li class="blockList"> 451<h4>getName</h4> 452<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getName()</pre> 453<dl> 454<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 455<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> 456</dl> 457</li> 458</ul> 459<a name="getRawType--"> 460<!-- --> 461</a> 462<ul class="blockList"> 463<li class="blockList"> 464<h4>getRawType</h4> 465<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> getRawType()</pre> 466<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getRawType--">Annotated</a></code></span></div> 467<div class="block">"Raw" type (type-erased class) of the annotated element; definition 468 of what exactly this means depends on sub-class.</div> 469<dl> 470<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 471<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> 472</dl> 473</li> 474</ul> 475<a name="getGenericType--"> 476<!-- --> 477</a> 478<ul class="blockList"> 479<li class="blockList"> 480<h4>getGenericType</h4> 481<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 482public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> getGenericType()</pre> 483<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> 484<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getGenericType--">Annotated</a></code></span></div> 485<div class="block">JDK declared generic type of the annotated element; definition 486 of what exactly this means depends on sub-class. Note that such type 487 cannot be reliably resolved without <a href="../../../../../com/fasterxml/jackson/databind/introspect/TypeResolutionContext.html" title="interface in com.fasterxml.jackson.databind.introspect"><code>TypeResolutionContext</code></a>, and 488 as a result use of this method was deprecated in Jackson 2.7: see 489 <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getType--"><code>Annotated.getType()</code></a> for replacement.</div> 490<dl> 491<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 492<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> 493</dl> 494</li> 495</ul> 496<a name="getType--"> 497<!-- --> 498</a> 499<ul class="blockList"> 500<li class="blockList"> 501<h4>getType</h4> 502<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> getType()</pre> 503<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getType--">Annotated</a></code></span></div> 504<div class="block">Full generic type of the annotated element; definition 505 of what exactly this means depends on sub-class.</div> 506<dl> 507<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 508<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getType--">getType</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> 509</dl> 510</li> 511</ul> 512<a name="getDeclaringClass--"> 513<!-- --> 514</a> 515<ul class="blockList"> 516<li class="blockList"> 517<h4>getDeclaringClass</h4> 518<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> getDeclaringClass()</pre> 519<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getDeclaringClass--">AnnotatedMember</a></code></span></div> 520<div class="block">Actual physical class in which this memmber was declared.</div> 521<dl> 522<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 523<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> 524</dl> 525</li> 526</ul> 527<a name="getMember--"> 528<!-- --> 529</a> 530<ul class="blockList"> 531<li class="blockList"> 532<h4>getMember</h4> 533<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a> getMember()</pre> 534<dl> 535<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 536<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> 537</dl> 538</li> 539</ul> 540<a name="setValue-java.lang.Object-java.lang.Object-"> 541<!-- --> 542</a> 543<ul class="blockList"> 544<li class="blockList"> 545<h4>setValue</h4> 546<pre>public void setValue(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, 547 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 548 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre> 549<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#setValue-java.lang.Object-java.lang.Object-">AnnotatedMember</a></code></span></div> 550<div class="block">Optional method that can be used to assign value of 551 this member on given object, if this is a supported 552 operation for member type. 553<p> 554 This is implemented for fields and single-argument 555 member methods; but not for constructor parameters or 556 other types of methods (like static methods)</div> 557<dl> 558<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 559<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> 560<dt><span class="throwsLabel">Throws:</span></dt> 561<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code></dd> 562</dl> 563</li> 564</ul> 565<a name="getValue-java.lang.Object-"> 566<!-- --> 567</a> 568<ul class="blockList"> 569<li class="blockList"> 570<h4>getValue</h4> 571<pre>public <a href="http://docs.oracle.com/javase/7/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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo) 572 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre> 573<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getValue-java.lang.Object-">AnnotatedMember</a></code></span></div> 574<div class="block">Optional method that can be used to access the value of 575 this member on given object, if this is a supported 576 operation for member type. 577<p> 578 This is implemented for fields and no-argument 579 member methods; but not for constructor parameters or 580 other types of methods (like static methods)</div> 581<dl> 582<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 583<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> 584<dt><span class="throwsLabel">Throws:</span></dt> 585<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code></dd> 586</dl> 587</li> 588</ul> 589<a name="getAnnotationCount--"> 590<!-- --> 591</a> 592<ul class="blockList"> 593<li class="blockList"> 594<h4>getAnnotationCount</h4> 595<pre>public int getAnnotationCount()</pre> 596</li> 597</ul> 598<a name="isTransient--"> 599<!-- --> 600</a> 601<ul class="blockList"> 602<li class="blockList"> 603<h4>isTransient</h4> 604<pre>public boolean isTransient()</pre> 605<dl> 606<dt><span class="simpleTagLabel">Since:</span></dt> 607<dd>2.6</dd> 608</dl> 609</li> 610</ul> 611<a name="hashCode--"> 612<!-- --> 613</a> 614<ul class="blockList"> 615<li class="blockList"> 616<h4>hashCode</h4> 617<pre>public int hashCode()</pre> 618<dl> 619<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 620<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#hashCode--">hashCode</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> 621</dl> 622</li> 623</ul> 624<a name="equals-java.lang.Object-"> 625<!-- --> 626</a> 627<ul class="blockList"> 628<li class="blockList"> 629<h4>equals</h4> 630<pre>public boolean equals(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> 631<dl> 632<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 633<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#equals-java.lang.Object-">equals</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> 634</dl> 635</li> 636</ul> 637<a name="toString--"> 638<!-- --> 639</a> 640<ul class="blockListLast"> 641<li class="blockList"> 642<h4>toString</h4> 643<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> 644<dl> 645<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 646<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#toString--">toString</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> 647</dl> 648</li> 649</ul> 650</li> 651</ul> 652</li> 653</ul> 654</div> 655</div> 656<!-- ========= END OF CLASS DATA ========= --> 657<!-- ======= START OF BOTTOM NAVBAR ====== --> 658<div class="bottomNav"><a name="navbar.bottom"> 659<!-- --> 660</a> 661<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 662<a name="navbar.bottom.firstrow"> 663<!-- --> 664</a> 665<ul class="navList" title="Navigation"> 666<li><a href="../../../../../overview-summary.html">Overview</a></li> 667<li><a href="package-summary.html">Package</a></li> 668<li class="navBarCell1Rev">Class</li> 669<li><a href="class-use/AnnotatedField.html">Use</a></li> 670<li><a href="package-tree.html">Tree</a></li> 671<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 672<li><a href="../../../../../index-all.html">Index</a></li> 673<li><a href="../../../../../help-doc.html">Help</a></li> 674</ul> 675</div> 676<div class="subNav"> 677<ul class="navList"> 678<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedConstructor.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="typeNameLink">Prev Class</span></a></li> 679<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedFieldCollector.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="typeNameLink">Next Class</span></a></li> 680</ul> 681<ul class="navList"> 682<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/introspect/AnnotatedField.html" target="_top">Frames</a></li> 683<li><a href="AnnotatedField.html" target="_top">No Frames</a></li> 684</ul> 685<ul class="navList" id="allclasses_navbar_bottom"> 686<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 687</ul> 688<div> 689<script type="text/javascript"><!-- 690 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 691 if(window==top) { 692 allClassesLink.style.display = "block"; 693 } 694 else { 695 allClassesLink.style.display = "none"; 696 } 697 //--> 698</script> 699</div> 700<div> 701<ul class="subNavList"> 702<li>Summary: </li> 703<li>Nested | </li> 704<li><a href="#field.summary">Field</a> | </li> 705<li><a href="#constructor.summary">Constr</a> | </li> 706<li><a href="#method.summary">Method</a></li> 707</ul> 708<ul class="subNavList"> 709<li>Detail: </li> 710<li><a href="#field.detail">Field</a> | </li> 711<li><a href="#constructor.detail">Constr</a> | </li> 712<li><a href="#method.detail">Method</a></li> 713</ul> 714</div> 715<a name="skip.navbar.bottom"> 716<!-- --> 717</a></div> 718<!-- ======== END OF BOTTOM NAVBAR ======= --> 719<p class="legalCopy"><small>Copyright © 2008–2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 720</body> 721</html> 722