1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (1.8.0_162) on Tue Jan 23 20:22:15 PST 2018 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>AnnotationMap (jackson-databind 2.9.0 API)</title> 8<meta name="date" content="2018-01-23"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="AnnotationMap (jackson-databind 2.9.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":9,"i8":9,"i9":10,"i10":10}; 23var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance 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/AnnotationMap.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/AnnotationIntrospectorPair.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/BasicBeanDescription.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/AnnotationMap.html" target="_top">Frames</a></li> 58<li><a href="AnnotationMap.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 AnnotationMap" class="title">Class AnnotationMap</h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 102<li> 103<ul class="inheritance"> 104<li>com.fasterxml.jackson.databind.introspect.AnnotationMap</li> 105</ul> 106</li> 107</ul> 108<div class="description"> 109<ul class="blockList"> 110<li class="blockList"> 111<dl> 112<dt>All Implemented Interfaces:</dt> 113<dd><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a></dd> 114</dl> 115<hr> 116<br> 117<pre>public final class <span class="typeNameLabel">AnnotationMap</span> 118extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 119implements <a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a></pre> 120<div class="block">Simple helper class used to keep track of collection of 121 Jackson Annotations associated with annotatable things 122 (methods, constructors, classes). 123 Note that only Jackson-owned annotations are tracked (for now?).</div> 124</li> 125</ul> 126</div> 127<div class="summary"> 128<ul class="blockList"> 129<li class="blockList"> 130<!-- =========== FIELD SUMMARY =========== --> 131<ul class="blockList"> 132<li class="blockList"><a name="field.summary"> 133<!-- --> 134</a> 135<h3>Field Summary</h3> 136<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 137<caption><span>Fields</span><span class="tabEnd"> </span></caption> 138<tr> 139<th class="colFirst" scope="col">Modifier and Type</th> 140<th class="colLast" scope="col">Field and Description</th> 141</tr> 142<tr class="altColor"> 143<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>></code></td> 144<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html#Z:Z_annotations">_annotations</a></span></code> </td> 145</tr> 146</table> 147</li> 148</ul> 149<!-- ======== CONSTRUCTOR SUMMARY ======== --> 150<ul class="blockList"> 151<li class="blockList"><a name="constructor.summary"> 152<!-- --> 153</a> 154<h3>Constructor Summary</h3> 155<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 156<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 157<tr> 158<th class="colOne" scope="col">Constructor and Description</th> 159</tr> 160<tr class="altColor"> 161<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html#AnnotationMap--">AnnotationMap</a></span>()</code> </td> 162</tr> 163</table> 164</li> 165</ul> 166<!-- ========== METHOD SUMMARY =========== --> 167<ul class="blockList"> 168<li class="blockList"><a name="method.summary"> 169<!-- --> 170</a> 171<h3>Method Summary</h3> 172<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 173<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> 174<tr> 175<th class="colFirst" scope="col">Modifier and Type</th> 176<th class="colLast" scope="col">Method and Description</th> 177</tr> 178<tr id="i0" class="altColor"> 179<td class="colFirst"><code>protected boolean</code></td> 180<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html#Z:Z_add-java.lang.annotation.Annotation-">_add</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a> ann)</code> </td> 181</tr> 182<tr id="i1" class="rowColor"> 183<td class="colFirst"><code>boolean</code></td> 184<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html#add-java.lang.annotation.Annotation-">add</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a> ann)</code> 185<div class="block">Method called to add specified annotation in the Map.</div> 186</td> 187</tr> 188<tr id="i2" class="altColor"> 189<td class="colFirst"><code>boolean</code></td> 190<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html#addIfNotPresent-java.lang.annotation.Annotation-">addIfNotPresent</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a> ann)</code> 191<div class="block">Method called to add specified annotation in the Map, but 192 only if it didn't yet exist.</div> 193</td> 194</tr> 195<tr id="i3" class="rowColor"> 196<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/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/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>></code></td> 197<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html#annotations--">annotations</a></span>()</code> </td> 198</tr> 199<tr id="i4" class="altColor"> 200<td class="colFirst"><code><A extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>><br>A</code></td> 201<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html#get-java.lang.Class-">get</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><A> cls)</code> 202<div class="block">Main access method used to find value for given annotation.</div> 203</td> 204</tr> 205<tr id="i5" class="rowColor"> 206<td class="colFirst"><code>boolean</code></td> 207<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html#has-java.lang.Class-">has</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls)</code> </td> 208</tr> 209<tr id="i6" class="altColor"> 210<td class="colFirst"><code>boolean</code></td> 211<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html#hasOneOf-java.lang.Class:A-">hasOneOf</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>>[] annoClasses)</code> 212<div class="block">Helper method that can be used for a "bulk" check to see if at least 213 one of given annotation types is included within this map.</div> 214</td> 215</tr> 216<tr id="i7" class="rowColor"> 217<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a></code></td> 218<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html#merge-com.fasterxml.jackson.databind.introspect.AnnotationMap-com.fasterxml.jackson.databind.introspect.AnnotationMap-">merge</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> primary, 219 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> secondary)</code> </td> 220</tr> 221<tr id="i8" class="altColor"> 222<td class="colFirst"><code>static <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/AnnotationMap.html#of-java.lang.Class-java.lang.annotation.Annotation-">of</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type, 224 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a> value)</code> </td> 225</tr> 226<tr id="i9" class="rowColor"> 227<td class="colFirst"><code>int</code></td> 228<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html#size--">size</a></span>()</code> 229<div class="block">Returns number of annotation entries in this collection.</div> 230</td> 231</tr> 232<tr id="i10" class="altColor"> 233<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 234<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html#toString--">toString</a></span>()</code> </td> 235</tr> 236</table> 237<ul class="blockList"> 238<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 239<!-- --> 240</a> 241<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 242<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 243</ul> 244</li> 245</ul> 246</li> 247</ul> 248</div> 249<div class="details"> 250<ul class="blockList"> 251<li class="blockList"> 252<!-- ============ FIELD DETAIL =========== --> 253<ul class="blockList"> 254<li class="blockList"><a name="field.detail"> 255<!-- --> 256</a> 257<h3>Field Detail</h3> 258<a name="Z:Z_annotations"> 259<!-- --> 260</a> 261<ul class="blockListLast"> 262<li class="blockList"> 263<h4>_annotations</h4> 264<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> _annotations</pre> 265</li> 266</ul> 267</li> 268</ul> 269<!-- ========= CONSTRUCTOR DETAIL ======== --> 270<ul class="blockList"> 271<li class="blockList"><a name="constructor.detail"> 272<!-- --> 273</a> 274<h3>Constructor Detail</h3> 275<a name="AnnotationMap--"> 276<!-- --> 277</a> 278<ul class="blockListLast"> 279<li class="blockList"> 280<h4>AnnotationMap</h4> 281<pre>public AnnotationMap()</pre> 282</li> 283</ul> 284</li> 285</ul> 286<!-- ============ METHOD DETAIL ========== --> 287<ul class="blockList"> 288<li class="blockList"><a name="method.detail"> 289<!-- --> 290</a> 291<h3>Method Detail</h3> 292<a name="of-java.lang.Class-java.lang.annotation.Annotation-"> 293<!-- --> 294</a> 295<ul class="blockList"> 296<li class="blockList"> 297<h4>of</h4> 298<pre>public static <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> of(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type, 299 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a> value)</pre> 300</li> 301</ul> 302<a name="get-java.lang.Class-"> 303<!-- --> 304</a> 305<ul class="blockList"> 306<li class="blockList"> 307<h4>get</h4> 308<pre>public <A extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> A get(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><A> cls)</pre> 309<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html#get-java.lang.Class-">Annotations</a></code></span></div> 310<div class="block">Main access method used to find value for given annotation.</div> 311<dl> 312<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 313<dd><code><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html#get-java.lang.Class-">get</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a></code></dd> 314</dl> 315</li> 316</ul> 317<a name="has-java.lang.Class-"> 318<!-- --> 319</a> 320<ul class="blockList"> 321<li class="blockList"> 322<h4>has</h4> 323<pre>public boolean has(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls)</pre> 324<dl> 325<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 326<dd><code><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html#has-java.lang.Class-">has</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a></code></dd> 327</dl> 328</li> 329</ul> 330<a name="hasOneOf-java.lang.Class:A-"> 331<!-- --> 332</a> 333<ul class="blockList"> 334<li class="blockList"> 335<h4>hasOneOf</h4> 336<pre>public boolean hasOneOf(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>>[] annoClasses)</pre> 337<div class="block">Helper method that can be used for a "bulk" check to see if at least 338 one of given annotation types is included within this map.</div> 339<dl> 340<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 341<dd><code><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html#hasOneOf-java.lang.Class:A-">hasOneOf</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a></code></dd> 342<dt><span class="simpleTagLabel">Since:</span></dt> 343<dd>2.7</dd> 344</dl> 345</li> 346</ul> 347<a name="annotations--"> 348<!-- --> 349</a> 350<ul class="blockList"> 351<li class="blockList"> 352<h4>annotations</h4> 353<pre>public <a href="http://docs.oracle.com/javase/7/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/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> annotations()</pre> 354<dl> 355<dt><span class="simpleTagLabel">Since:</span></dt> 356<dd>2.3</dd> 357</dl> 358</li> 359</ul> 360<a name="merge-com.fasterxml.jackson.databind.introspect.AnnotationMap-com.fasterxml.jackson.databind.introspect.AnnotationMap-"> 361<!-- --> 362</a> 363<ul class="blockList"> 364<li class="blockList"> 365<h4>merge</h4> 366<pre>public static <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> merge(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> primary, 367 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a> secondary)</pre> 368</li> 369</ul> 370<a name="size--"> 371<!-- --> 372</a> 373<ul class="blockList"> 374<li class="blockList"> 375<h4>size</h4> 376<pre>public int size()</pre> 377<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html#size--">Annotations</a></code></span></div> 378<div class="block">Returns number of annotation entries in this collection.</div> 379<dl> 380<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 381<dd><code><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html#size--">size</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a></code></dd> 382</dl> 383</li> 384</ul> 385<a name="addIfNotPresent-java.lang.annotation.Annotation-"> 386<!-- --> 387</a> 388<ul class="blockList"> 389<li class="blockList"> 390<h4>addIfNotPresent</h4> 391<pre>public boolean addIfNotPresent(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a> ann)</pre> 392<div class="block">Method called to add specified annotation in the Map, but 393 only if it didn't yet exist.</div> 394</li> 395</ul> 396<a name="add-java.lang.annotation.Annotation-"> 397<!-- --> 398</a> 399<ul class="blockList"> 400<li class="blockList"> 401<h4>add</h4> 402<pre>public boolean add(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a> ann)</pre> 403<div class="block">Method called to add specified annotation in the Map.</div> 404<dl> 405<dt><span class="returnLabel">Returns:</span></dt> 406<dd>True if the addition changed the contents, that is, this map did not 407 already have specified annotation</dd> 408</dl> 409</li> 410</ul> 411<a name="toString--"> 412<!-- --> 413</a> 414<ul class="blockList"> 415<li class="blockList"> 416<h4>toString</h4> 417<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> 418<dl> 419<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 420<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> 421</dl> 422</li> 423</ul> 424<a name="Z:Z_add-java.lang.annotation.Annotation-"> 425<!-- --> 426</a> 427<ul class="blockListLast"> 428<li class="blockList"> 429<h4>_add</h4> 430<pre>protected final boolean _add(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a> ann)</pre> 431</li> 432</ul> 433</li> 434</ul> 435</li> 436</ul> 437</div> 438</div> 439<!-- ========= END OF CLASS DATA ========= --> 440<!-- ======= START OF BOTTOM NAVBAR ====== --> 441<div class="bottomNav"><a name="navbar.bottom"> 442<!-- --> 443</a> 444<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 445<a name="navbar.bottom.firstrow"> 446<!-- --> 447</a> 448<ul class="navList" title="Navigation"> 449<li><a href="../../../../../overview-summary.html">Overview</a></li> 450<li><a href="package-summary.html">Package</a></li> 451<li class="navBarCell1Rev">Class</li> 452<li><a href="class-use/AnnotationMap.html">Use</a></li> 453<li><a href="package-tree.html">Tree</a></li> 454<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 455<li><a href="../../../../../index-all.html">Index</a></li> 456<li><a href="../../../../../help-doc.html">Help</a></li> 457</ul> 458</div> 459<div class="subNav"> 460<ul class="navList"> 461<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationIntrospectorPair.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="typeNameLink">Prev Class</span></a></li> 462<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/BasicBeanDescription.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="typeNameLink">Next Class</span></a></li> 463</ul> 464<ul class="navList"> 465<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/introspect/AnnotationMap.html" target="_top">Frames</a></li> 466<li><a href="AnnotationMap.html" target="_top">No Frames</a></li> 467</ul> 468<ul class="navList" id="allclasses_navbar_bottom"> 469<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 470</ul> 471<div> 472<script type="text/javascript"><!-- 473 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 474 if(window==top) { 475 allClassesLink.style.display = "block"; 476 } 477 else { 478 allClassesLink.style.display = "none"; 479 } 480 //--> 481</script> 482</div> 483<div> 484<ul class="subNavList"> 485<li>Summary: </li> 486<li>Nested | </li> 487<li><a href="#field.summary">Field</a> | </li> 488<li><a href="#constructor.summary">Constr</a> | </li> 489<li><a href="#method.summary">Method</a></li> 490</ul> 491<ul class="subNavList"> 492<li>Detail: </li> 493<li><a href="#field.detail">Field</a> | </li> 494<li><a href="#constructor.detail">Constr</a> | </li> 495<li><a href="#method.detail">Method</a></li> 496</ul> 497</div> 498<a name="skip.navbar.bottom"> 499<!-- --> 500</a></div> 501<!-- ======== END OF BOTTOM NAVBAR ======= --> 502<p class="legalCopy"><small>Copyright © 2008–2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 503</body> 504</html> 505