1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_25) on Thu Jan 01 17:43:57 PST 2015 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>AnnotatedMember (jackson-databind 2.5.0 API)</title> 8<meta name="date" content="2015-01-01"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="AnnotatedMember (jackson-databind 2.5.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/AnnotatedMember.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../../index-all.html">Index</a></li> 35<li><a href="../../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" target="_top">Frames</a></li> 45<li><a href="AnnotatedMember.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li><a href="#field_summary">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#field_detail">Field</a> | </li> 73<li><a href="#constructor_detail">Constr</a> | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind.introspect</div> 84<h2 title="Class AnnotatedMember" class="title">Class AnnotatedMember</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 89<li> 90<ul class="inheritance"> 91<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">com.fasterxml.jackson.databind.introspect.Annotated</a></li> 92<li> 93<ul class="inheritance"> 94<li>com.fasterxml.jackson.databind.introspect.AnnotatedMember</li> 95</ul> 96</li> 97</ul> 98</li> 99</ul> 100<div class="description"> 101<ul class="blockList"> 102<li class="blockList"> 103<dl> 104<dt>All Implemented Interfaces:</dt> 105<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> 106</dl> 107<dl> 108<dt>Direct Known Subclasses:</dt> 109<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> 110</dl> 111<hr> 112<br> 113<pre>public abstract class <span class="strong">AnnotatedMember</span> 114extends <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> 115implements <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> 116<div class="block">Intermediate base class for annotated entities that are members of 117 a class; fields, methods and constructors. This is a superset 118 of things that can represent logical properties as it contains 119 constructors in addition to fields and methods.</div> 120<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.introspect.AnnotatedMember">Serialized Form</a></dd></dl> 121</li> 122</ul> 123</div> 124<div class="summary"> 125<ul class="blockList"> 126<li class="blockList"> 127<!-- =========== FIELD SUMMARY =========== --> 128<ul class="blockList"> 129<li class="blockList"><a name="field_summary"> 130<!-- --> 131</a> 132<h3>Field Summary</h3> 133<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 134<caption><span>Fields</span><span class="tabEnd"> </span></caption> 135<tr> 136<th class="colFirst" scope="col">Modifier and Type</th> 137<th class="colLast" scope="col">Field and Description</th> 138</tr> 139<tr class="altColor"> 140<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> 141<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#_annotations">_annotations</a></strong></code> </td> 142</tr> 143<tr class="rowColor"> 144<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> 145<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#_context">_context</a></strong></code> 146<div class="block">Class that was resolved to produce this member instance; either class that declared 147 the member, or one of its subtypes that inherited it.</div> 148</td> 149</tr> 150</table> 151</li> 152</ul> 153<!-- ======== CONSTRUCTOR SUMMARY ======== --> 154<ul class="blockList"> 155<li class="blockList"><a name="constructor_summary"> 156<!-- --> 157</a> 158<h3>Constructor Summary</h3> 159<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 160<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 161<tr> 162<th class="colFirst" scope="col">Modifier</th> 163<th class="colLast" scope="col">Constructor and Description</th> 164</tr> 165<tr class="altColor"> 166<td class="colFirst"><code>protected </code></td> 167<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#AnnotatedMember(com.fasterxml.jackson.databind.introspect.AnnotatedClass, com.fasterxml.jackson.databind.introspect.AnnotationMap)">AnnotatedMember</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a> ctxt, 168 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> annotations)</code> </td> 169</tr> 170<tr class="rowColor"> 171<td class="colFirst"><code>protected </code></td> 172<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#AnnotatedMember(com.fasterxml.jackson.databind.introspect.AnnotatedMember)">AnnotatedMember</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> base)</code> 173<div class="block">Copy-constructor.</div> 174</td> 175</tr> 176</table> 177</li> 178</ul> 179<!-- ========== METHOD SUMMARY =========== --> 180<ul class="blockList"> 181<li class="blockList"><a name="method_summary"> 182<!-- --> 183</a> 184<h3>Method Summary</h3> 185<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 186<caption><span>Methods</span><span class="tabEnd"> </span></caption> 187<tr> 188<th class="colFirst" scope="col">Modifier and Type</th> 189<th class="colLast" scope="col">Method and Description</th> 190</tr> 191<tr class="altColor"> 192<td class="colFirst"><code>boolean</code></td> 193<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#addIfNotPresent(java.lang.annotation.Annotation)">addIfNotPresent</a></strong>(<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> 194<div class="block">Method called to augment annotations, by adding specified 195 annotation if and only if it is not yet present in the 196 annotation map we have.</div> 197</td> 198</tr> 199<tr class="rowColor"> 200<td class="colFirst"><code>boolean</code></td> 201<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#addOrOverride(java.lang.annotation.Annotation)">addOrOverride</a></strong>(<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> 202<div class="block">Method called to override an annotation, usually due to a mix-in 203 annotation masking or overriding an annotation 'real' constructor 204 has.</div> 205</td> 206</tr> 207<tr class="altColor"> 208<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> 209<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#annotations()">annotations</a></strong>()</code> 210<div class="block">Accessor that can be used to iterate over all the annotations 211 associated with annotated component.</div> 212</td> 213</tr> 214<tr class="rowColor"> 215<td class="colFirst"><code>void</code></td> 216<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#fixAccess()">fixAccess</a></strong>()</code> 217<div class="block">Method that can be called to modify access rights, by calling 218 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible(java.lang.reflect.AccessibleObject[], boolean)" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)</code></a> on 219 the underlying annotated element.</div> 220</td> 221</tr> 222<tr class="altColor"> 223<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> 224<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getAllAnnotations()">getAllAnnotations</a></strong>()</code> 225<div class="block">Internal helper method used to access annotation information; 226 not exposed to developers since instances are mutable.</div> 227</td> 228</tr> 229<tr class="rowColor"> 230<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> 231<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getContextClass()">getContextClass</a></strong>()</code> 232<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 233 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> 234 in which member was declared, or one of its super types.</div> 235</td> 236</tr> 237<tr class="altColor"> 238<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> 239<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getDeclaringClass()">getDeclaringClass</a></strong>()</code> 240<div class="block">Actual physical class in which this memmber was declared.</div> 241</td> 242</tr> 243<tr class="rowColor"> 244<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> 245<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getMember()">getMember</a></strong>()</code> </td> 246</tr> 247<tr class="altColor"> 248<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> 249<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getValue(java.lang.Object)">getValue</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo)</code> 250<div class="block">Optional method that can be used to access the value of 251 this member on given object, if this is a supported 252 operation for member type.</div> 253</td> 254</tr> 255<tr class="rowColor"> 256<td class="colFirst"><code>abstract void</code></td> 257<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#setValue(java.lang.Object, java.lang.Object)">setValue</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, 258 <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> 259<div class="block">Optional method that can be used to assign value of 260 this member on given object, if this is a supported 261 operation for member type.</div> 262</td> 263</tr> 264</table> 265<ul class="blockList"> 266<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.introspect.Annotated"> 267<!-- --> 268</a> 269<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> 270<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> 271</ul> 272<ul class="blockList"> 273<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 274<!-- --> 275</a> 276<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> 277<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> 278</ul> 279</li> 280</ul> 281</li> 282</ul> 283</div> 284<div class="details"> 285<ul class="blockList"> 286<li class="blockList"> 287<!-- ============ FIELD DETAIL =========== --> 288<ul class="blockList"> 289<li class="blockList"><a name="field_detail"> 290<!-- --> 291</a> 292<h3>Field Detail</h3> 293<a name="_context"> 294<!-- --> 295</a> 296<ul class="blockList"> 297<li class="blockList"> 298<h4>_context</h4> 299<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> 300<div class="block">Class that was resolved to produce this member instance; either class that declared 301 the member, or one of its subtypes that inherited it.</div> 302<dl><dt><span class="strong">Since:</span></dt> 303 <dd>2.5</dd></dl> 304</li> 305</ul> 306<a name="_annotations"> 307<!-- --> 308</a> 309<ul class="blockListLast"> 310<li class="blockList"> 311<h4>_annotations</h4> 312<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> 313</li> 314</ul> 315</li> 316</ul> 317<!-- ========= CONSTRUCTOR DETAIL ======== --> 318<ul class="blockList"> 319<li class="blockList"><a name="constructor_detail"> 320<!-- --> 321</a> 322<h3>Constructor Detail</h3> 323<a name="AnnotatedMember(com.fasterxml.jackson.databind.introspect.AnnotatedClass, com.fasterxml.jackson.databind.introspect.AnnotationMap)"> 324<!-- --> 325</a> 326<ul class="blockList"> 327<li class="blockList"> 328<h4>AnnotatedMember</h4> 329<pre>protected AnnotatedMember(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a> ctxt, 330 <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<a name="AnnotatedMember(com.fasterxml.jackson.databind.introspect.AnnotatedMember)"> 334<!-- --> 335</a> 336<ul class="blockListLast"> 337<li class="blockList"> 338<h4>AnnotatedMember</h4> 339<pre>protected AnnotatedMember(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> base)</pre> 340<div class="block">Copy-constructor.</div> 341<dl><dt><span class="strong">Since:</span></dt> 342 <dd>2.5</dd></dl> 343</li> 344</ul> 345</li> 346</ul> 347<!-- ============ METHOD DETAIL ========== --> 348<ul class="blockList"> 349<li class="blockList"><a name="method_detail"> 350<!-- --> 351</a> 352<h3>Method Detail</h3> 353<a name="getDeclaringClass()"> 354<!-- --> 355</a> 356<ul class="blockList"> 357<li class="blockList"> 358<h4>getDeclaringClass</h4> 359<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> 360<div class="block">Actual physical class in which this memmber was declared. 361 Note that this may be different from what <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getContextClass()"><code>getContextClass()</code></a> returns; 362 "owner" may be a sub-type of "declaring class".</div> 363</li> 364</ul> 365<a name="getMember()"> 366<!-- --> 367</a> 368<ul class="blockList"> 369<li class="blockList"> 370<h4>getMember</h4> 371<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> 372</li> 373</ul> 374<a name="getContextClass()"> 375<!-- --> 376</a> 377<ul class="blockList"> 378<li class="blockList"> 379<h4>getContextClass</h4> 380<pre>public <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a> getContextClass()</pre> 381<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 382 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> 383 in which member was declared, or one of its super types. If distinction 384 between result type, and actual class in which declaration was found matters, 385 you can compare return value to that of <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html#getDeclaringClass()"><code>getDeclaringClass()</code></a>. 386 The main use for this accessor is (usually) to access class annotations. 387<p> 388 Also note that owner property is NOT (JDK-)serialized; this should usually not 389 matter, but means that while it is accessible during construction of various 390 (de)serializers, it may not be available on per-call basis, if (but only if) 391 <code>ObjectMapper</code> (etc) has been serialized/deserialized.</div> 392<dl><dt><span class="strong">Since:</span></dt> 393 <dd>2.5</dd></dl> 394</li> 395</ul> 396<a name="annotations()"> 397<!-- --> 398</a> 399<ul class="blockList"> 400<li class="blockList"> 401<h4>annotations</h4> 402<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> 403<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#annotations()">Annotated</a></code></strong></div> 404<div class="block">Accessor that can be used to iterate over all the annotations 405 associated with annotated component.</div> 406<dl> 407<dt><strong>Specified by:</strong></dt> 408<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> 409</dl> 410</li> 411</ul> 412<a name="getAllAnnotations()"> 413<!-- --> 414</a> 415<ul class="blockList"> 416<li class="blockList"> 417<h4>getAllAnnotations</h4> 418<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> getAllAnnotations()</pre> 419<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html#getAllAnnotations()">Annotated</a></code></strong></div> 420<div class="block">Internal helper method used to access annotation information; 421 not exposed to developers since instances are mutable.</div> 422<dl> 423<dt><strong>Specified by:</strong></dt> 424<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> 425</dl> 426</li> 427</ul> 428<a name="addOrOverride(java.lang.annotation.Annotation)"> 429<!-- --> 430</a> 431<ul class="blockList"> 432<li class="blockList"> 433<h4>addOrOverride</h4> 434<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> 435<div class="block">Method called to override an annotation, usually due to a mix-in 436 annotation masking or overriding an annotation 'real' constructor 437 has.</div> 438</li> 439</ul> 440<a name="addIfNotPresent(java.lang.annotation.Annotation)"> 441<!-- --> 442</a> 443<ul class="blockList"> 444<li class="blockList"> 445<h4>addIfNotPresent</h4> 446<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> 447<div class="block">Method called to augment annotations, by adding specified 448 annotation if and only if it is not yet present in the 449 annotation map we have.</div> 450</li> 451</ul> 452<a name="fixAccess()"> 453<!-- --> 454</a> 455<ul class="blockList"> 456<li class="blockList"> 457<h4>fixAccess</h4> 458<pre>public final void fixAccess()</pre> 459<div class="block">Method that can be called to modify access rights, by calling 460 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible(java.lang.reflect.AccessibleObject[], boolean)" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)</code></a> on 461 the underlying annotated element.</div> 462</li> 463</ul> 464<a name="setValue(java.lang.Object, java.lang.Object)"> 465<!-- --> 466</a> 467<ul class="blockList"> 468<li class="blockList"> 469<h4>setValue</h4> 470<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, 471 <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) 472 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>, 473 <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> 474<div class="block">Optional method that can be used to assign value of 475 this member on given object, if this is a supported 476 operation for member type. 477<p> 478 This is implemented for fields and single-argument 479 member methods; but not for constructor parameters or 480 other types of methods (like static methods)</div> 481<dl><dt><span class="strong">Throws:</span></dt> 482<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> 483<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></dl> 484</li> 485</ul> 486<a name="getValue(java.lang.Object)"> 487<!-- --> 488</a> 489<ul class="blockListLast"> 490<li class="blockList"> 491<h4>getValue</h4> 492<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) 493 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>, 494 <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> 495<div class="block">Optional method that can be used to access the value of 496 this member on given object, if this is a supported 497 operation for member type. 498<p> 499 This is implemented for fields and no-argument 500 member methods; but not for constructor parameters or 501 other types of methods (like static methods)</div> 502<dl><dt><span class="strong">Throws:</span></dt> 503<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> 504<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></dl> 505</li> 506</ul> 507</li> 508</ul> 509</li> 510</ul> 511</div> 512</div> 513<!-- ========= END OF CLASS DATA ========= --> 514<!-- ======= START OF BOTTOM NAVBAR ====== --> 515<div class="bottomNav"><a name="navbar_bottom"> 516<!-- --> 517</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 518<!-- --> 519</a> 520<ul class="navList" title="Navigation"> 521<li><a href="../../../../../overview-summary.html">Overview</a></li> 522<li><a href="package-summary.html">Package</a></li> 523<li class="navBarCell1Rev">Class</li> 524<li><a href="class-use/AnnotatedMember.html">Use</a></li> 525<li><a href="package-tree.html">Tree</a></li> 526<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 527<li><a href="../../../../../index-all.html">Index</a></li> 528<li><a href="../../../../../help-doc.html">Help</a></li> 529</ul> 530</div> 531<div class="subNav"> 532<ul class="navList"> 533<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="strong">Prev Class</span></a></li> 534<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="strong">Next Class</span></a></li> 535</ul> 536<ul class="navList"> 537<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" target="_top">Frames</a></li> 538<li><a href="AnnotatedMember.html" target="_top">No Frames</a></li> 539</ul> 540<ul class="navList" id="allclasses_navbar_bottom"> 541<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 542</ul> 543<div> 544<script type="text/javascript"><!-- 545 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 546 if(window==top) { 547 allClassesLink.style.display = "block"; 548 } 549 else { 550 allClassesLink.style.display = "none"; 551 } 552 //--> 553</script> 554</div> 555<div> 556<ul class="subNavList"> 557<li>Summary: </li> 558<li>Nested | </li> 559<li><a href="#field_summary">Field</a> | </li> 560<li><a href="#constructor_summary">Constr</a> | </li> 561<li><a href="#method_summary">Method</a></li> 562</ul> 563<ul class="subNavList"> 564<li>Detail: </li> 565<li><a href="#field_detail">Field</a> | </li> 566<li><a href="#constructor_detail">Constr</a> | </li> 567<li><a href="#method_detail">Method</a></li> 568</ul> 569</div> 570<a name="skip-navbar_bottom"> 571<!-- --> 572</a></div> 573<!-- ======== END OF BOTTOM NAVBAR ======= --> 574<p class="legalCopy"><small>Copyright © 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 575</body> 576</html> 577