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 Mar 24 11:44:37 PDT 2020 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>AnnotatedMember (jackson-databind 2.11.0.rc1 API)</title> 8<meta name="date" content="2020-03-24"> 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="AnnotatedMember (jackson-databind 2.11.0.rc1 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":42,"i1":10,"i2":10,"i3":10,"i4":6,"i5":10,"i6":6,"i7":42,"i8":6,"i9":10,"i10":10,"i11":6,"i12":6}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/AnnotatedMember.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/AnnotatedFieldCollector.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/AnnotatedMethod.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/AnnotatedMember.html" target="_top">Frames</a></li> 58<li><a href="AnnotatedMember.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 AnnotatedMember" class="title">Class AnnotatedMember</h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<li><a href="https://docs.oracle.com/javase/8/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>com.fasterxml.jackson.databind.introspect.AnnotatedMember</li> 108</ul> 109</li> 110</ul> 111</li> 112</ul> 113<div class="description"> 114<ul class="blockList"> 115<li class="blockList"> 116<dl> 117<dt>All Implemented Interfaces:</dt> 118<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 119</dl> 120<dl> 121<dt>Direct Known Subclasses:</dt> 122<dd><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedParameter</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedWithParams.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedWithParams</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/VirtualAnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">VirtualAnnotatedMember</a></dd> 123</dl> 124<hr> 125<br> 126<pre>public abstract class <span class="typeNameLabel">AnnotatedMember</span> 127extends <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> 128implements <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> 129<div class="block">Intermediate base class for annotated entities that are members of 130 a class; fields, methods and constructors. This is a superset 131 of things that can represent logical properties as it contains 132 constructors in addition to fields and methods.</div> 133<dl> 134<dt><span class="seeLabel">See Also:</span></dt> 135<dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.introspect.AnnotatedMember">Serialized Form</a></dd> 136</dl> 137</li> 138</ul> 139</div> 140<div class="summary"> 141<ul class="blockList"> 142<li class="blockList"> 143<!-- =========== FIELD SUMMARY =========== --> 144<ul class="blockList"> 145<li class="blockList"><a name="field.summary"> 146<!-- --> 147</a> 148<h3>Field Summary</h3> 149<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 150<caption><span>Fields</span><span class="tabEnd"> </span></caption> 151<tr> 152<th class="colFirst" scope="col">Modifier and Type</th> 153<th class="colLast" scope="col">Field and Description</th> 154</tr> 155<tr class="altColor"> 156<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a></code></td> 157<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#Z:Z_annotations">_annotations</a></span></code> </td> 158</tr> 159<tr class="rowColor"> 160<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/introspect/TypeResolutionContext.html" title="interface in com.fasterxml.jackson.databind.introspect">TypeResolutionContext</a></code></td> 161<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#Z:Z_typeContext">_typeContext</a></span></code> 162<div class="block">Context object needed for resolving generic type associated with this 163 member (method parameter or return value, or field type).</div> 164</td> 165</tr> 166</table> 167</li> 168</ul> 169<!-- ======== CONSTRUCTOR SUMMARY ======== --> 170<ul class="blockList"> 171<li class="blockList"><a name="constructor.summary"> 172<!-- --> 173</a> 174<h3>Constructor Summary</h3> 175<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 176<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 177<tr> 178<th class="colFirst" scope="col">Modifier</th> 179<th class="colLast" scope="col">Constructor and Description</th> 180</tr> 181<tr class="altColor"> 182<td class="colFirst"><code>protected </code></td> 183<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#AnnotatedMember-com.fasterxml.jackson.databind.introspect.AnnotatedMember-">AnnotatedMember</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> base)</code> 184<div class="block">Copy-constructor.</div> 185</td> 186</tr> 187<tr class="rowColor"> 188<td class="colFirst"><code>protected </code></td> 189<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#AnnotatedMember-com.fasterxml.jackson.databind.introspect.TypeResolutionContext-com.fasterxml.jackson.databind.introspect.AnnotationMap-">AnnotatedMember</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/TypeResolutionContext.html" title="interface in com.fasterxml.jackson.databind.introspect">TypeResolutionContext</a> ctxt, 190 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> annotations)</code> </td> 191</tr> 192</table> 193</li> 194</ul> 195<!-- ========== METHOD SUMMARY =========== --> 196<ul class="blockList"> 197<li class="blockList"><a name="method.summary"> 198<!-- --> 199</a> 200<h3>Method Summary</h3> 201<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 202<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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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> 203<tr> 204<th class="colFirst" scope="col">Modifier and Type</th> 205<th class="colLast" scope="col">Method and Description</th> 206</tr> 207<tr id="i0" class="altColor"> 208<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>></code></td> 209<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#annotations--">annotations</a></span>()</code> 210<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> 211</td> 212</tr> 213<tr id="i1" class="rowColor"> 214<td class="colFirst"><code>void</code></td> 215<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#fixAccess-boolean-">fixAccess</a></span>(boolean force)</code> 216<div class="block">Method that can be called to modify access rights, by calling 217 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible-java.lang.reflect.AccessibleObject:A-boolean-" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)</code></a> on 218 the underlying annotated element.</div> 219</td> 220</tr> 221<tr id="i2" class="altColor"> 222<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a></code></td> 223<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getAllAnnotations--">getAllAnnotations</a></span>()</code> 224<div class="block"> 225 NOTE: promoted in 2.9 from `Annotated` up</div> 226</td> 227</tr> 228<tr id="i3" class="rowColor"> 229<td class="colFirst"><code><A extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>><br>A</code></td> 230<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getAnnotation-java.lang.Class-">getAnnotation</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><A> acls)</code> </td> 231</tr> 232<tr id="i4" class="altColor"> 233<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> 234<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getDeclaringClass--">getDeclaringClass</a></span>()</code> 235<div class="block">Actual physical class in which this memmber was declared.</div> 236</td> 237</tr> 238<tr id="i5" class="rowColor"> 239<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 240<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getFullName--">getFullName</a></span>()</code> </td> 241</tr> 242<tr id="i6" class="altColor"> 243<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/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/AnnotatedMember.html#getMember--">getMember</a></span>()</code> </td> 245</tr> 246<tr id="i7" class="rowColor"> 247<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/TypeResolutionContext.html" title="interface in com.fasterxml.jackson.databind.introspect">TypeResolutionContext</a></code></td> 248<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getTypeContext--">getTypeContext</a></span>()</code> 249<div class="block"><span class="deprecatedLabel">Deprecated.</span> 250<div class="block"><span class="deprecationComment">Since 2.9</span></div> 251</div> 252</td> 253</tr> 254<tr id="i8" class="altColor"> 255<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 256<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getValue-java.lang.Object-">getValue</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo)</code> 257<div class="block">Optional method that can be used to access the value of 258 this member on given object, if this is a supported 259 operation for member type.</div> 260</td> 261</tr> 262<tr id="i9" class="rowColor"> 263<td class="colFirst"><code>boolean</code></td> 264<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#hasAnnotation-java.lang.Class-">hasAnnotation</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> acls)</code> </td> 265</tr> 266<tr id="i10" class="altColor"> 267<td class="colFirst"><code>boolean</code></td> 268<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#hasOneOf-java.lang.Class:A-">hasOneOf</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>>[] annoClasses)</code> </td> 269</tr> 270<tr id="i11" class="rowColor"> 271<td class="colFirst"><code>abstract void</code></td> 272<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#setValue-java.lang.Object-java.lang.Object-">setValue</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, 273 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 274<div class="block">Optional method that can be used to assign 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 id="i12" class="altColor"> 280<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a></code></td> 281<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.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> fallback)</code> 282<div class="block">Fluent factory method that will construct a new instance that uses specified 283 instance annotations instead of currently configured ones.</div> 284</td> 285</tr> 286</table> 287<ul class="blockList"> 288<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.introspect.Annotated"> 289<!-- --> 290</a> 291<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> 292<code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#equals-java.lang.Object-">equals</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getAnnotated--">getAnnotated</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getModifiers--">getModifiers</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getName--">getName</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getRawType--">getRawType</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getType--">getType</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#hashCode--">hashCode</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#isPublic--">isPublic</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#toString--">toString</a></code></li> 293</ul> 294<ul class="blockList"> 295<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 296<!-- --> 297</a> 298<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 299<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 300</ul> 301</li> 302</ul> 303</li> 304</ul> 305</div> 306<div class="details"> 307<ul class="blockList"> 308<li class="blockList"> 309<!-- ============ FIELD DETAIL =========== --> 310<ul class="blockList"> 311<li class="blockList"><a name="field.detail"> 312<!-- --> 313</a> 314<h3>Field Detail</h3> 315<a name="Z:Z_typeContext"> 316<!-- --> 317</a> 318<ul class="blockList"> 319<li class="blockList"> 320<h4>_typeContext</h4> 321<pre>protected final transient <a href="../../../../../com/fasterxml/jackson/databind/introspect/TypeResolutionContext.html" title="interface in com.fasterxml.jackson.databind.introspect">TypeResolutionContext</a> _typeContext</pre> 322<div class="block">Context object needed for resolving generic type associated with this 323 member (method parameter or return value, or field type).</div> 324<dl> 325<dt><span class="simpleTagLabel">Since:</span></dt> 326<dd>2.7</dd> 327</dl> 328</li> 329</ul> 330<a name="Z:Z_annotations"> 331<!-- --> 332</a> 333<ul class="blockListLast"> 334<li class="blockList"> 335<h4>_annotations</h4> 336<pre>protected final transient <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> _annotations</pre> 337</li> 338</ul> 339</li> 340</ul> 341<!-- ========= CONSTRUCTOR DETAIL ======== --> 342<ul class="blockList"> 343<li class="blockList"><a name="constructor.detail"> 344<!-- --> 345</a> 346<h3>Constructor Detail</h3> 347<a name="AnnotatedMember-com.fasterxml.jackson.databind.introspect.TypeResolutionContext-com.fasterxml.jackson.databind.introspect.AnnotationMap-"> 348<!-- --> 349</a> 350<ul class="blockList"> 351<li class="blockList"> 352<h4>AnnotatedMember</h4> 353<pre>protected AnnotatedMember(<a href="../../../../../com/fasterxml/jackson/databind/introspect/TypeResolutionContext.html" title="interface in com.fasterxml.jackson.databind.introspect">TypeResolutionContext</a> ctxt, 354 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> annotations)</pre> 355</li> 356</ul> 357<a name="AnnotatedMember-com.fasterxml.jackson.databind.introspect.AnnotatedMember-"> 358<!-- --> 359</a> 360<ul class="blockListLast"> 361<li class="blockList"> 362<h4>AnnotatedMember</h4> 363<pre>protected AnnotatedMember(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> base)</pre> 364<div class="block">Copy-constructor.</div> 365<dl> 366<dt><span class="simpleTagLabel">Since:</span></dt> 367<dd>2.5</dd> 368</dl> 369</li> 370</ul> 371</li> 372</ul> 373<!-- ============ METHOD DETAIL ========== --> 374<ul class="blockList"> 375<li class="blockList"><a name="method.detail"> 376<!-- --> 377</a> 378<h3>Method Detail</h3> 379<a name="withAnnotations-com.fasterxml.jackson.databind.introspect.AnnotationMap-"> 380<!-- --> 381</a> 382<ul class="blockList"> 383<li class="blockList"> 384<h4>withAnnotations</h4> 385<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> withAnnotations(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> fallback)</pre> 386<div class="block">Fluent factory method that will construct a new instance that uses specified 387 instance annotations instead of currently configured ones.</div> 388<dl> 389<dt><span class="simpleTagLabel">Since:</span></dt> 390<dd>2.9 (promoted from `Annotated`)</dd> 391</dl> 392</li> 393</ul> 394<a name="getDeclaringClass--"> 395<!-- --> 396</a> 397<ul class="blockList"> 398<li class="blockList"> 399<h4>getDeclaringClass</h4> 400<pre>public abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> getDeclaringClass()</pre> 401<div class="block">Actual physical class in which this memmber was declared.</div> 402</li> 403</ul> 404<a name="getMember--"> 405<!-- --> 406</a> 407<ul class="blockList"> 408<li class="blockList"> 409<h4>getMember</h4> 410<pre>public abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a> getMember()</pre> 411</li> 412</ul> 413<a name="getFullName--"> 414<!-- --> 415</a> 416<ul class="blockList"> 417<li class="blockList"> 418<h4>getFullName</h4> 419<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getFullName()</pre> 420</li> 421</ul> 422<a name="getTypeContext--"> 423<!-- --> 424</a> 425<ul class="blockList"> 426<li class="blockList"> 427<h4>getTypeContext</h4> 428<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 429public <a href="../../../../../com/fasterxml/jackson/databind/introspect/TypeResolutionContext.html" title="interface in com.fasterxml.jackson.databind.introspect">TypeResolutionContext</a> getTypeContext()</pre> 430<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since 2.9</span></div> 431<div class="block">Accessor for <a href="../../../../../com/fasterxml/jackson/databind/introspect/TypeResolutionContext.html" title="interface in com.fasterxml.jackson.databind.introspect"><code>TypeResolutionContext</code></a> that is used for resolving 432 full generic type of this member.</div> 433<dl> 434<dt><span class="simpleTagLabel">Since:</span></dt> 435<dd>2.7</dd> 436</dl> 437</li> 438</ul> 439<a name="getAnnotation-java.lang.Class-"> 440<!-- --> 441</a> 442<ul class="blockList"> 443<li class="blockList"> 444<h4>getAnnotation</h4> 445<pre>public final <A extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> A getAnnotation(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><A> acls)</pre> 446<dl> 447<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 448<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> 449</dl> 450</li> 451</ul> 452<a name="hasAnnotation-java.lang.Class-"> 453<!-- --> 454</a> 455<ul class="blockList"> 456<li class="blockList"> 457<h4>hasAnnotation</h4> 458<pre>public final boolean hasAnnotation(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> acls)</pre> 459<dl> 460<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 461<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#hasAnnotation-java.lang.Class-">hasAnnotation</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> 462</dl> 463</li> 464</ul> 465<a name="hasOneOf-java.lang.Class:A-"> 466<!-- --> 467</a> 468<ul class="blockList"> 469<li class="blockList"> 470<h4>hasOneOf</h4> 471<pre>public boolean hasOneOf(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>>[] annoClasses)</pre> 472<dl> 473<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 474<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#hasOneOf-java.lang.Class:A-">hasOneOf</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> 475</dl> 476</li> 477</ul> 478<a name="annotations--"> 479<!-- --> 480</a> 481<ul class="blockList"> 482<li class="blockList"> 483<h4>annotations</h4> 484<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 485public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> annotations()</pre> 486<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> 487<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#annotations--">Annotated</a></code></span></div> 488<div class="block">Accessor that can be used to iterate over all the annotations 489 associated with annotated component.</div> 490<dl> 491<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 492<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#annotations--">annotations</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="getAllAnnotations--"> 497<!-- --> 498</a> 499<ul class="blockList"> 500<li class="blockList"> 501<h4>getAllAnnotations</h4> 502<pre>public <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> getAllAnnotations()</pre> 503<div class="block"><p> 504 NOTE: promoted in 2.9 from `Annotated` up</div> 505</li> 506</ul> 507<a name="fixAccess-boolean-"> 508<!-- --> 509</a> 510<ul class="blockList"> 511<li class="blockList"> 512<h4>fixAccess</h4> 513<pre>public final void fixAccess(boolean force)</pre> 514<div class="block">Method that can be called to modify access rights, by calling 515 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible-java.lang.reflect.AccessibleObject:A-boolean-" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)</code></a> on 516 the underlying annotated element. 517<p> 518 Note that caller should verify that 519 <a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html#CAN_OVERRIDE_ACCESS_MODIFIERS"><code>MapperFeature.CAN_OVERRIDE_ACCESS_MODIFIERS</code></a> 520 is enabled before calling this method; as well as pass 521 <code>force</code> flag appropriately.</div> 522<dl> 523<dt><span class="simpleTagLabel">Since:</span></dt> 524<dd>2.7</dd> 525</dl> 526</li> 527</ul> 528<a name="setValue-java.lang.Object-java.lang.Object-"> 529<!-- --> 530</a> 531<ul class="blockList"> 532<li class="blockList"> 533<h4>setValue</h4> 534<pre>public abstract void setValue(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, 535 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 536 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a>, 537 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre> 538<div class="block">Optional method that can be used to assign value of 539 this member on given object, if this is a supported 540 operation for member type. 541<p> 542 This is implemented for fields and single-argument 543 member methods; but not for constructor parameters or 544 other types of methods (like static methods)</div> 545<dl> 546<dt><span class="throwsLabel">Throws:</span></dt> 547<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code></dd> 548<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code></dd> 549</dl> 550</li> 551</ul> 552<a name="getValue-java.lang.Object-"> 553<!-- --> 554</a> 555<ul class="blockListLast"> 556<li class="blockList"> 557<h4>getValue</h4> 558<pre>public abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getValue(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo) 559 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a>, 560 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre> 561<div class="block">Optional method that can be used to access the value of 562 this member on given object, if this is a supported 563 operation for member type. 564<p> 565 This is implemented for fields and no-argument 566 member methods; but not for constructor parameters or 567 other types of methods (like static methods)</div> 568<dl> 569<dt><span class="throwsLabel">Throws:</span></dt> 570<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code></dd> 571<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code></dd> 572</dl> 573</li> 574</ul> 575</li> 576</ul> 577</li> 578</ul> 579</div> 580</div> 581<!-- ========= END OF CLASS DATA ========= --> 582<!-- ======= START OF BOTTOM NAVBAR ====== --> 583<div class="bottomNav"><a name="navbar.bottom"> 584<!-- --> 585</a> 586<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 587<a name="navbar.bottom.firstrow"> 588<!-- --> 589</a> 590<ul class="navList" title="Navigation"> 591<li><a href="../../../../../overview-summary.html">Overview</a></li> 592<li><a href="package-summary.html">Package</a></li> 593<li class="navBarCell1Rev">Class</li> 594<li><a href="class-use/AnnotatedMember.html">Use</a></li> 595<li><a href="package-tree.html">Tree</a></li> 596<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 597<li><a href="../../../../../index-all.html">Index</a></li> 598<li><a href="../../../../../help-doc.html">Help</a></li> 599</ul> 600</div> 601<div class="subNav"> 602<ul class="navList"> 603<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedFieldCollector.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="typeNameLink">Prev Class</span></a></li> 604<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="typeNameLink">Next Class</span></a></li> 605</ul> 606<ul class="navList"> 607<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" target="_top">Frames</a></li> 608<li><a href="AnnotatedMember.html" target="_top">No Frames</a></li> 609</ul> 610<ul class="navList" id="allclasses_navbar_bottom"> 611<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 612</ul> 613<div> 614<script type="text/javascript"><!-- 615 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 616 if(window==top) { 617 allClassesLink.style.display = "block"; 618 } 619 else { 620 allClassesLink.style.display = "none"; 621 } 622 //--> 623</script> 624</div> 625<div> 626<ul class="subNavList"> 627<li>Summary: </li> 628<li>Nested | </li> 629<li><a href="#field.summary">Field</a> | </li> 630<li><a href="#constructor.summary">Constr</a> | </li> 631<li><a href="#method.summary">Method</a></li> 632</ul> 633<ul class="subNavList"> 634<li>Detail: </li> 635<li><a href="#field.detail">Field</a> | </li> 636<li><a href="#constructor.detail">Constr</a> | </li> 637<li><a href="#method.detail">Method</a></li> 638</ul> 639</div> 640<a name="skip.navbar.bottom"> 641<!-- --> 642</a></div> 643<!-- ======== END OF BOTTOM NAVBAR ======= --> 644<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 645</body> 646</html> 647