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) on Sun Jul 19 11:36:52 PDT 2015 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>AnnotatedMember (jackson-databind 2.6.0 API)</title> 8<meta name="date" content="2015-07-19"> 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.6.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":6,"i7":6,"i8":6,"i9":6}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete 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/AnnotatedField.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="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> 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="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> 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="http://docs.oracle.com/javase/6/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/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a></code></td> 161<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#Z:Z_context">_context</a></span></code> 162<div class="block">Class that was resolved to produce this member instance; either class that declared 163 the member, or one of its subtypes that inherited it.</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.AnnotatedClass-com.fasterxml.jackson.databind.introspect.AnnotationMap-">AnnotatedMember</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a> ctxt, 184 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> annotations)</code> </td> 185</tr> 186<tr class="rowColor"> 187<td class="colFirst"><code>protected </code></td> 188<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> 189<div class="block">Copy-constructor.</div> 190</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></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>boolean</code></td> 209<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#addIfNotPresent-java.lang.annotation.Annotation-">addIfNotPresent</a></span>(<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)</code> 210<div class="block">Method called to augment annotations, by adding specified 211 annotation if and only if it is not yet present in the 212 annotation map we have.</div> 213</td> 214</tr> 215<tr id="i1" class="rowColor"> 216<td class="colFirst"><code>boolean</code></td> 217<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#addOrOverride-java.lang.annotation.Annotation-">addOrOverride</a></span>(<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)</code> 218<div class="block">Method called to override an annotation, usually due to a mix-in 219 annotation masking or overriding an annotation 'real' constructor 220 has.</div> 221</td> 222</tr> 223<tr id="i2" class="altColor"> 224<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<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>></code></td> 225<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#annotations--">annotations</a></span>()</code> 226<div class="block">Accessor that can be used to iterate over all the annotations 227 associated with annotated component.</div> 228</td> 229</tr> 230<tr id="i3" class="rowColor"> 231<td class="colFirst"><code>void</code></td> 232<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#fixAccess--">fixAccess</a></span>()</code> 233<div class="block">Method that can be called to modify access rights, by calling 234 <a href="http://docs.oracle.com/javase/6/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 235 the underlying annotated element.</div> 236</td> 237</tr> 238<tr id="i4" class="altColor"> 239<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> 240<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getAllAnnotations--">getAllAnnotations</a></span>()</code> 241<div class="block">Internal helper method used to access annotation information; 242 not exposed to developers since instances are mutable.</div> 243</td> 244</tr> 245<tr id="i5" class="rowColor"> 246<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a></code></td> 247<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getContextClass--">getContextClass</a></span>()</code> 248<div class="block">Accessor for <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect"><code>AnnotatedClass</code></a> that was the type that was resolved 249 and that contains this member: this is either the <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> 250 in which member was declared, or one of its super types.</div> 251</td> 252</tr> 253<tr id="i6" class="altColor"> 254<td class="colFirst"><code>abstract <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> 255<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getDeclaringClass--">getDeclaringClass</a></span>()</code> 256<div class="block">Actual physical class in which this memmber was declared.</div> 257</td> 258</tr> 259<tr id="i7" class="rowColor"> 260<td class="colFirst"><code>abstract <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> 261<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getMember--">getMember</a></span>()</code> </td> 262</tr> 263<tr id="i8" class="altColor"> 264<td class="colFirst"><code>abstract <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> 265<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="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> 266<div class="block">Optional method that can be used to access the value of 267 this member on given object, if this is a supported 268 operation for member type.</div> 269</td> 270</tr> 271<tr id="i9" class="rowColor"> 272<td class="colFirst"><code>abstract void</code></td> 273<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="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, 274 <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> 275<div class="block">Optional method that can be used to assign value of 276 this member on given object, if this is a supported 277 operation for member type.</div> 278</td> 279</tr> 280</table> 281<ul class="blockList"> 282<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.introspect.Annotated"> 283<!-- --> 284</a> 285<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> 286<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#getAnnotation-java.lang.Class-">getAnnotation</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getGenericType--">getGenericType</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-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#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>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#withAnnotations-com.fasterxml.jackson.databind.introspect.AnnotationMap-">withAnnotations</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#withFallBackAnnotationsFrom-com.fasterxml.jackson.databind.introspect.Annotated-">withFallBackAnnotationsFrom</a></code></li> 287</ul> 288<ul class="blockList"> 289<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 290<!-- --> 291</a> 292<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> 293<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#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#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> 294</ul> 295</li> 296</ul> 297</li> 298</ul> 299</div> 300<div class="details"> 301<ul class="blockList"> 302<li class="blockList"> 303<!-- ============ FIELD DETAIL =========== --> 304<ul class="blockList"> 305<li class="blockList"><a name="field.detail"> 306<!-- --> 307</a> 308<h3>Field Detail</h3> 309<a name="Z:Z_context"> 310<!-- --> 311</a> 312<ul class="blockList"> 313<li class="blockList"> 314<h4>_context</h4> 315<pre>protected final transient <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a> _context</pre> 316<div class="block">Class that was resolved to produce this member instance; either class that declared 317 the member, or one of its subtypes that inherited it.</div> 318<dl> 319<dt><span class="simpleTagLabel">Since:</span></dt> 320<dd>2.5</dd> 321</dl> 322</li> 323</ul> 324<a name="Z:Z_annotations"> 325<!-- --> 326</a> 327<ul class="blockListLast"> 328<li class="blockList"> 329<h4>_annotations</h4> 330<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> 331</li> 332</ul> 333</li> 334</ul> 335<!-- ========= CONSTRUCTOR DETAIL ======== --> 336<ul class="blockList"> 337<li class="blockList"><a name="constructor.detail"> 338<!-- --> 339</a> 340<h3>Constructor Detail</h3> 341<a name="AnnotatedMember-com.fasterxml.jackson.databind.introspect.AnnotatedClass-com.fasterxml.jackson.databind.introspect.AnnotationMap-"> 342<!-- --> 343</a> 344<ul class="blockList"> 345<li class="blockList"> 346<h4>AnnotatedMember</h4> 347<pre>protected AnnotatedMember(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a> ctxt, 348 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> annotations)</pre> 349</li> 350</ul> 351<a name="AnnotatedMember-com.fasterxml.jackson.databind.introspect.AnnotatedMember-"> 352<!-- --> 353</a> 354<ul class="blockListLast"> 355<li class="blockList"> 356<h4>AnnotatedMember</h4> 357<pre>protected AnnotatedMember(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> base)</pre> 358<div class="block">Copy-constructor.</div> 359<dl> 360<dt><span class="simpleTagLabel">Since:</span></dt> 361<dd>2.5</dd> 362</dl> 363</li> 364</ul> 365</li> 366</ul> 367<!-- ============ METHOD DETAIL ========== --> 368<ul class="blockList"> 369<li class="blockList"><a name="method.detail"> 370<!-- --> 371</a> 372<h3>Method Detail</h3> 373<a name="getDeclaringClass--"> 374<!-- --> 375</a> 376<ul class="blockList"> 377<li class="blockList"> 378<h4>getDeclaringClass</h4> 379<pre>public abstract <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> 380<div class="block">Actual physical class in which this memmber was declared. 381 Note that this may be different from what <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getContextClass--"><code>getContextClass()</code></a> returns; 382 "owner" may be a sub-type of "declaring class".</div> 383</li> 384</ul> 385<a name="getMember--"> 386<!-- --> 387</a> 388<ul class="blockList"> 389<li class="blockList"> 390<h4>getMember</h4> 391<pre>public abstract <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> 392</li> 393</ul> 394<a name="getContextClass--"> 395<!-- --> 396</a> 397<ul class="blockList"> 398<li class="blockList"> 399<h4>getContextClass</h4> 400<pre>public <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a> getContextClass()</pre> 401<div class="block">Accessor for <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect"><code>AnnotatedClass</code></a> that was the type that was resolved 402 and that contains this member: this is either the <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> 403 in which member was declared, or one of its super types. If distinction 404 between result type, and actual class in which declaration was found matters, 405 you can compare return value to that of <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getDeclaringClass--"><code>getDeclaringClass()</code></a>. 406 The main use for this accessor is (usually) to access class annotations. 407<p> 408 Also note that owner property is NOT (JDK-)serialized; this should usually not 409 matter, but means that while it is accessible during construction of various 410 (de)serializers, it may not be available on per-call basis, if (but only if) 411 <code>ObjectMapper</code> (etc) has been serialized/deserialized.</div> 412<dl> 413<dt><span class="simpleTagLabel">Since:</span></dt> 414<dd>2.5</dd> 415</dl> 416</li> 417</ul> 418<a name="annotations--"> 419<!-- --> 420</a> 421<ul class="blockList"> 422<li class="blockList"> 423<h4>annotations</h4> 424<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<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>> annotations()</pre> 425<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> 426<div class="block">Accessor that can be used to iterate over all the annotations 427 associated with annotated component.</div> 428<dl> 429<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 430<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> 431</dl> 432</li> 433</ul> 434<a name="getAllAnnotations--"> 435<!-- --> 436</a> 437<ul class="blockList"> 438<li class="blockList"> 439<h4>getAllAnnotations</h4> 440<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> getAllAnnotations()</pre> 441<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getAllAnnotations--">Annotated</a></code></span></div> 442<div class="block">Internal helper method used to access annotation information; 443 not exposed to developers since instances are mutable.</div> 444<dl> 445<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 446<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getAllAnnotations--">getAllAnnotations</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> 447</dl> 448</li> 449</ul> 450<a name="addOrOverride-java.lang.annotation.Annotation-"> 451<!-- --> 452</a> 453<ul class="blockList"> 454<li class="blockList"> 455<h4>addOrOverride</h4> 456<pre>public final boolean addOrOverride(<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)</pre> 457<div class="block">Method called to override an annotation, usually due to a mix-in 458 annotation masking or overriding an annotation 'real' constructor 459 has.</div> 460</li> 461</ul> 462<a name="addIfNotPresent-java.lang.annotation.Annotation-"> 463<!-- --> 464</a> 465<ul class="blockList"> 466<li class="blockList"> 467<h4>addIfNotPresent</h4> 468<pre>public final boolean addIfNotPresent(<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)</pre> 469<div class="block">Method called to augment annotations, by adding specified 470 annotation if and only if it is not yet present in the 471 annotation map we have.</div> 472</li> 473</ul> 474<a name="fixAccess--"> 475<!-- --> 476</a> 477<ul class="blockList"> 478<li class="blockList"> 479<h4>fixAccess</h4> 480<pre>public final void fixAccess()</pre> 481<div class="block">Method that can be called to modify access rights, by calling 482 <a href="http://docs.oracle.com/javase/6/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 483 the underlying annotated element.</div> 484</li> 485</ul> 486<a name="setValue-java.lang.Object-java.lang.Object-"> 487<!-- --> 488</a> 489<ul class="blockList"> 490<li class="blockList"> 491<h4>setValue</h4> 492<pre>public abstract 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, 493 <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) 494 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>, 495 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre> 496<div class="block">Optional method that can be used to assign value of 497 this member on given object, if this is a supported 498 operation for member type. 499<p> 500 This is implemented for fields and single-argument 501 member methods; but not for constructor parameters or 502 other types of methods (like static methods)</div> 503<dl> 504<dt><span class="throwsLabel">Throws:</span></dt> 505<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> 506<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code></dd> 507</dl> 508</li> 509</ul> 510<a name="getValue-java.lang.Object-"> 511<!-- --> 512</a> 513<ul class="blockListLast"> 514<li class="blockList"> 515<h4>getValue</h4> 516<pre>public abstract <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) 517 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>, 518 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre> 519<div class="block">Optional method that can be used to access the value of 520 this member on given object, if this is a supported 521 operation for member type. 522<p> 523 This is implemented for fields and no-argument 524 member methods; but not for constructor parameters or 525 other types of methods (like static methods)</div> 526<dl> 527<dt><span class="throwsLabel">Throws:</span></dt> 528<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> 529<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code></dd> 530</dl> 531</li> 532</ul> 533</li> 534</ul> 535</li> 536</ul> 537</div> 538</div> 539<!-- ========= END OF CLASS DATA ========= --> 540<!-- ======= START OF BOTTOM NAVBAR ====== --> 541<div class="bottomNav"><a name="navbar.bottom"> 542<!-- --> 543</a> 544<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 545<a name="navbar.bottom.firstrow"> 546<!-- --> 547</a> 548<ul class="navList" title="Navigation"> 549<li><a href="../../../../../overview-summary.html">Overview</a></li> 550<li><a href="package-summary.html">Package</a></li> 551<li class="navBarCell1Rev">Class</li> 552<li><a href="class-use/AnnotatedMember.html">Use</a></li> 553<li><a href="package-tree.html">Tree</a></li> 554<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 555<li><a href="../../../../../index-all.html">Index</a></li> 556<li><a href="../../../../../help-doc.html">Help</a></li> 557</ul> 558</div> 559<div class="subNav"> 560<ul class="navList"> 561<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="typeNameLink">Prev Class</span></a></li> 562<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> 563</ul> 564<ul class="navList"> 565<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" target="_top">Frames</a></li> 566<li><a href="AnnotatedMember.html" target="_top">No Frames</a></li> 567</ul> 568<ul class="navList" id="allclasses_navbar_bottom"> 569<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 570</ul> 571<div> 572<script type="text/javascript"><!-- 573 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 574 if(window==top) { 575 allClassesLink.style.display = "block"; 576 } 577 else { 578 allClassesLink.style.display = "none"; 579 } 580 //--> 581</script> 582</div> 583<div> 584<ul class="subNavList"> 585<li>Summary: </li> 586<li>Nested | </li> 587<li><a href="#field.summary">Field</a> | </li> 588<li><a href="#constructor.summary">Constr</a> | </li> 589<li><a href="#method.summary">Method</a></li> 590</ul> 591<ul class="subNavList"> 592<li>Detail: </li> 593<li><a href="#field.detail">Field</a> | </li> 594<li><a href="#constructor.detail">Constr</a> | </li> 595<li><a href="#method.detail">Method</a></li> 596</ul> 597</div> 598<a name="skip.navbar.bottom"> 599<!-- --> 600</a></div> 601<!-- ======== END OF BOTTOM NAVBAR ======= --> 602<p class="legalCopy"><small>Copyright © 2014–2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 603</body> 604</html> 605