• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 Nov 05 19:39:10 PST 2019 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>Annotations (jackson-databind 2.10.0 API)</title>
8<meta name="date" content="2019-11-05">
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="Annotations (jackson-databind 2.10.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":6,"i1":6,"i2":6,"i3":6};
23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/Annotations.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/util/AccessPattern.html" title="enum in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
55</ul>
56<ul class="navList">
57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/Annotations.html" target="_top">Frames</a></li>
58<li><a href="Annotations.html" target="_top">No&nbsp;Frames</a></li>
59</ul>
60<ul class="navList" id="allclasses_navbar_top">
61<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
78<li>Nested&nbsp;|&nbsp;</li>
79<li>Field&nbsp;|&nbsp;</li>
80<li>Constr&nbsp;|&nbsp;</li>
81<li><a href="#method.summary">Method</a></li>
82</ul>
83<ul class="subNavList">
84<li>Detail:&nbsp;</li>
85<li>Field&nbsp;|&nbsp;</li>
86<li>Constr&nbsp;|&nbsp;</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.util</div>
97<h2 title="Interface Annotations" class="title">Interface Annotations</h2>
98</div>
99<div class="contentContainer">
100<div class="description">
101<ul class="blockList">
102<li class="blockList">
103<dl>
104<dt>All Known Implementing Classes:</dt>
105<dd><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationCollector.NoAnnotations.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationCollector.NoAnnotations</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationCollector.OneAnnotation.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationCollector.OneAnnotation</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationCollector.TwoAnnotations.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationCollector.TwoAnnotations</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a></dd>
106</dl>
107<hr>
108<br>
109<pre>public interface <span class="typeNameLabel">Annotations</span></pre>
110<div class="block">Interface that defines interface for accessing contents of a
111 collection of annotations. This is needed when introspecting
112 annotation-based features from different kinds of things, not
113 just objects that Java Reflection interface exposes.
114<p>
115 Standard mutable implementation is <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect"><code>AnnotationMap</code></a></div>
116</li>
117</ul>
118</div>
119<div class="summary">
120<ul class="blockList">
121<li class="blockList">
122<!-- ========== METHOD SUMMARY =========== -->
123<ul class="blockList">
124<li class="blockList"><a name="method.summary">
125<!--   -->
126</a>
127<h3>Method Summary</h3>
128<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
129<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
130<tr>
131<th class="colFirst" scope="col">Modifier and Type</th>
132<th class="colLast" scope="col">Method and Description</th>
133</tr>
134<tr id="i0" class="altColor">
135<td class="colFirst"><code>&lt;A extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>&gt;<br>A</code></td>
136<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html#get-java.lang.Class-">get</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;A&gt;&nbsp;cls)</code>
137<div class="block">Main access method used to find value for given annotation.</div>
138</td>
139</tr>
140<tr id="i1" class="rowColor">
141<td class="colFirst"><code>boolean</code></td>
142<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html#has-java.lang.Class-">has</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
143</tr>
144<tr id="i2" class="altColor">
145<td class="colFirst"><code>boolean</code></td>
146<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html#hasOneOf-java.lang.Class:A-">hasOneOf</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>&gt;[]&nbsp;annoClasses)</code>&nbsp;</td>
147</tr>
148<tr id="i3" class="rowColor">
149<td class="colFirst"><code>int</code></td>
150<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html#size--">size</a></span>()</code>
151<div class="block">Returns number of annotation entries in this collection.</div>
152</td>
153</tr>
154</table>
155</li>
156</ul>
157</li>
158</ul>
159</div>
160<div class="details">
161<ul class="blockList">
162<li class="blockList">
163<!-- ============ METHOD DETAIL ========== -->
164<ul class="blockList">
165<li class="blockList"><a name="method.detail">
166<!--   -->
167</a>
168<h3>Method Detail</h3>
169<a name="get-java.lang.Class-">
170<!--   -->
171</a>
172<ul class="blockList">
173<li class="blockList">
174<h4>get</h4>
175<pre>&lt;A extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>&gt;&nbsp;A&nbsp;get(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;A&gt;&nbsp;cls)</pre>
176<div class="block">Main access method used to find value for given annotation.</div>
177</li>
178</ul>
179<a name="has-java.lang.Class-">
180<!--   -->
181</a>
182<ul class="blockList">
183<li class="blockList">
184<h4>has</h4>
185<pre>boolean&nbsp;has(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</pre>
186<dl>
187<dt><span class="simpleTagLabel">Since:</span></dt>
188<dd>2.9</dd>
189</dl>
190</li>
191</ul>
192<a name="hasOneOf-java.lang.Class:A-">
193<!--   -->
194</a>
195<ul class="blockList">
196<li class="blockList">
197<h4>hasOneOf</h4>
198<pre>boolean&nbsp;hasOneOf(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>&gt;[]&nbsp;annoClasses)</pre>
199<dl>
200<dt><span class="simpleTagLabel">Since:</span></dt>
201<dd>2.9</dd>
202</dl>
203</li>
204</ul>
205<a name="size--">
206<!--   -->
207</a>
208<ul class="blockListLast">
209<li class="blockList">
210<h4>size</h4>
211<pre>int&nbsp;size()</pre>
212<div class="block">Returns number of annotation entries in this collection.</div>
213</li>
214</ul>
215</li>
216</ul>
217</li>
218</ul>
219</div>
220</div>
221<!-- ========= END OF CLASS DATA ========= -->
222<!-- ======= START OF BOTTOM NAVBAR ====== -->
223<div class="bottomNav"><a name="navbar.bottom">
224<!--   -->
225</a>
226<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
227<a name="navbar.bottom.firstrow">
228<!--   -->
229</a>
230<ul class="navList" title="Navigation">
231<li><a href="../../../../../overview-summary.html">Overview</a></li>
232<li><a href="package-summary.html">Package</a></li>
233<li class="navBarCell1Rev">Class</li>
234<li><a href="class-use/Annotations.html">Use</a></li>
235<li><a href="package-tree.html">Tree</a></li>
236<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
237<li><a href="../../../../../index-all.html">Index</a></li>
238<li><a href="../../../../../help-doc.html">Help</a></li>
239</ul>
240</div>
241<div class="subNav">
242<ul class="navList">
243<li><a href="../../../../../com/fasterxml/jackson/databind/util/AccessPattern.html" title="enum in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
244<li><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
245</ul>
246<ul class="navList">
247<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/Annotations.html" target="_top">Frames</a></li>
248<li><a href="Annotations.html" target="_top">No&nbsp;Frames</a></li>
249</ul>
250<ul class="navList" id="allclasses_navbar_bottom">
251<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
252</ul>
253<div>
254<script type="text/javascript"><!--
255  allClassesLink = document.getElementById("allclasses_navbar_bottom");
256  if(window==top) {
257    allClassesLink.style.display = "block";
258  }
259  else {
260    allClassesLink.style.display = "none";
261  }
262  //-->
263</script>
264</div>
265<div>
266<ul class="subNavList">
267<li>Summary:&nbsp;</li>
268<li>Nested&nbsp;|&nbsp;</li>
269<li>Field&nbsp;|&nbsp;</li>
270<li>Constr&nbsp;|&nbsp;</li>
271<li><a href="#method.summary">Method</a></li>
272</ul>
273<ul class="subNavList">
274<li>Detail:&nbsp;</li>
275<li>Field&nbsp;|&nbsp;</li>
276<li>Constr&nbsp;|&nbsp;</li>
277<li><a href="#method.detail">Method</a></li>
278</ul>
279</div>
280<a name="skip.navbar.bottom">
281<!--   -->
282</a></div>
283<!-- ======== END OF BOTTOM NAVBAR ======= -->
284<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2019 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
285</body>
286</html>
287