• 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 Jan 23 20:22:17 PST 2018 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>ClassUtil (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="ClassUtil (jackson-databind 2.9.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":9,"i1":9,"i2":41,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":41,"i21":41,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":41,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":9,"i63":9,"i64":9,"i65":9,"i66":9};
23var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
24var altColor = "altColor";
25var rowColor = "rowColor";
26var tableTab = "tableTab";
27var activeTableTab = "activeTableTab";
28</script>
29<noscript>
30<div>JavaScript is disabled on your browser.</div>
31</noscript>
32<!-- ========= START OF TOP NAVBAR ======= -->
33<div class="topNav"><a name="navbar.top">
34<!--   -->
35</a>
36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37<a name="navbar.top.firstrow">
38<!--   -->
39</a>
40<ul class="navList" title="Navigation">
41<li><a href="../../../../../overview-summary.html">Overview</a></li>
42<li><a href="package-summary.html">Package</a></li>
43<li class="navBarCell1Rev">Class</li>
44<li><a href="class-use/ClassUtil.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/ByteBufferBackedOutputStream.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.Ctor.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/ClassUtil.html" target="_top">Frames</a></li>
58<li><a href="ClassUtil.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><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
79<li>Field&nbsp;|&nbsp;</li>
80<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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="Class ClassUtil" class="title">Class ClassUtil</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.util.ClassUtil</li>
105</ul>
106</li>
107</ul>
108<div class="description">
109<ul class="blockList">
110<li class="blockList">
111<hr>
112<br>
113<pre>public final class <span class="typeNameLabel">ClassUtil</span>
114extends <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></pre>
115</li>
116</ul>
117</div>
118<div class="summary">
119<ul class="blockList">
120<li class="blockList">
121<!-- ======== NESTED CLASS SUMMARY ======== -->
122<ul class="blockList">
123<li class="blockList"><a name="nested.class.summary">
124<!--   -->
125</a>
126<h3>Nested Class Summary</h3>
127<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
128<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
129<tr>
130<th class="colFirst" scope="col">Modifier and Type</th>
131<th class="colLast" scope="col">Class and Description</th>
132</tr>
133<tr class="altColor">
134<td class="colFirst"><code>static class&nbsp;</code></td>
135<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.Ctor.html" title="class in com.fasterxml.jackson.databind.util">ClassUtil.Ctor</a></span></code>
136<div class="block">Value class used for caching Constructor declarations; used because
137 caching done by JDK appears to be somewhat inefficient for some use cases.</div>
138</td>
139</tr>
140</table>
141</li>
142</ul>
143<!-- ======== CONSTRUCTOR SUMMARY ======== -->
144<ul class="blockList">
145<li class="blockList"><a name="constructor.summary">
146<!--   -->
147</a>
148<h3>Constructor Summary</h3>
149<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
150<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
151<tr>
152<th class="colOne" scope="col">Constructor and Description</th>
153</tr>
154<tr class="altColor">
155<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#ClassUtil--">ClassUtil</a></span>()</code>&nbsp;</td>
156</tr>
157</table>
158</li>
159</ul>
160<!-- ========== METHOD SUMMARY =========== -->
161<ul class="blockList">
162<li class="blockList"><a name="method.summary">
163<!--   -->
164</a>
165<h3>Method Summary</h3>
166<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
167<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
168<tr>
169<th class="colFirst" scope="col">Modifier and Type</th>
170<th class="colLast" scope="col">Method and Description</th>
171</tr>
172<tr id="i0" class="altColor">
173<td class="colFirst"><code>static <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>
174<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#backticked-java.lang.String-">backticked</a></span>(<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>&nbsp;text)</code>
175<div class="block">Returns either `text` or [null].</div>
176</td>
177</tr>
178<tr id="i1" class="rowColor">
179<td class="colFirst"><code>static <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>
180<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#canBeABeanType-java.lang.Class-">canBeABeanType</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>&lt;?&gt;&nbsp;type)</code>&nbsp;</td>
181</tr>
182<tr id="i2" class="altColor">
183<td class="colFirst"><code>static void</code></td>
184<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#checkAndFixAccess-java.lang.reflect.Member-">checkAndFixAccess</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a>&nbsp;member)</code>
185<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
186<div class="block"><span class="deprecationComment">Since 2.7 call variant that takes boolean flag.</span></div>
187</div>
188</td>
189</tr>
190<tr id="i3" class="rowColor">
191<td class="colFirst"><code>static void</code></td>
192<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#checkAndFixAccess-java.lang.reflect.Member-boolean-">checkAndFixAccess</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a>&nbsp;member,
193                 boolean&nbsp;force)</code>
194<div class="block">Method that is called if a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect"><code>Member</code></a> may need forced access,
195 to force a field, method or constructor to be accessible: this
196 is done by calling <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible-boolean-" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(boolean)</code></a>.</div>
197</td>
198</tr>
199<tr id="i4" class="altColor">
200<td class="colFirst"><code>static <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>
201<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#classNameOf-java.lang.Object-">classNameOf</a></span>(<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>&nbsp;inst)</code>
202<div class="block">Helper method used to construct appropriate description
203 when passed either type (Class) or an instance; in latter
204 case, class of instance is to be used.</div>
205</td>
206</tr>
207<tr id="i5" class="rowColor">
208<td class="colFirst"><code>static <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>&lt;?&gt;</code></td>
209<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#classOf-java.lang.Object-">classOf</a></span>(<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>&nbsp;inst)</code>&nbsp;</td>
210</tr>
211<tr id="i6" class="altColor">
212<td class="colFirst"><code>static void</code></td>
213<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#closeOnFailAndThrowAsIOE-com.fasterxml.jackson.core.JsonGenerator-java.io.Closeable-java.lang.Exception-">closeOnFailAndThrowAsIOE</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;g,
214                        <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>&nbsp;toClose,
215                        <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&nbsp;fail)</code>
216<div class="block">Helper method that encapsulate logic in trying to close given <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io"><code>Closeable</code></a>
217 in case of failure; useful mostly in forcing flush()ing as otherwise
218 error conditions tend to be hard to diagnose.</div>
219</td>
220</tr>
221<tr id="i7" class="rowColor">
222<td class="colFirst"><code>static void</code></td>
223<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#closeOnFailAndThrowAsIOE-com.fasterxml.jackson.core.JsonGenerator-java.lang.Exception-">closeOnFailAndThrowAsIOE</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;g,
224                        <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&nbsp;fail)</code>
225<div class="block">Helper method that encapsulate logic in trying to close output generator
226 in case of failure; useful mostly in forcing flush()ing as otherwise
227 error conditions tend to be hard to diagnose.</div>
228</td>
229</tr>
230<tr id="i8" class="altColor">
231<td class="colFirst"><code>static &lt;T&gt;&nbsp;T</code></td>
232<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#createInstance-java.lang.Class-boolean-">createInstance</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>&lt;T&gt;&nbsp;cls,
233              boolean&nbsp;canFixAccess)</code>
234<div class="block">Method that can be called to try to create an instantiate of
235 specified type.</div>
236</td>
237</tr>
238<tr id="i9" class="rowColor">
239<td class="colFirst"><code>static <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></td>
240<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#defaultValue-java.lang.Class-">defaultValue</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>&lt;?&gt;&nbsp;cls)</code>
241<div class="block">Helper method used to get default value for wrappers used for primitive types
242 (0 for Integer etc)</div>
243</td>
244</tr>
245<tr id="i10" class="altColor">
246<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;T&gt;</code></td>
247<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#emptyIterator--">emptyIterator</a></span>()</code>&nbsp;</td>
248</tr>
249<tr id="i11" class="rowColor">
250<td class="colFirst"><code>static <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>
251<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findClassAnnotations-java.lang.Class-">findClassAnnotations</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>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
252</tr>
253<tr id="i12" class="altColor">
254<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a>&lt;T&gt;</code></td>
255<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findConstructor-java.lang.Class-boolean-">findConstructor</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>&lt;T&gt;&nbsp;cls,
256               boolean&nbsp;forceAccess)</code>&nbsp;</td>
257</tr>
258<tr id="i13" class="rowColor">
259<td class="colFirst"><code>static <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>&lt;? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&gt;</code></td>
260<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findEnumType-java.lang.Class-">findEnumType</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>&lt;?&gt;&nbsp;cls)</code>
261<div class="block">Helper method that can be used to dynamically figure out formal
262 enumeration type (class) for given class of an enumeration value.</div>
263</td>
264</tr>
265<tr id="i14" class="altColor">
266<td class="colFirst"><code>static <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>&lt;? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&gt;</code></td>
267<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findEnumType-java.lang.Enum-">findEnumType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;en)</code>
268<div class="block">Helper method that can be used to dynamically figure out formal
269 enumeration type (class) for given enumeration.</div>
270</td>
271</tr>
272<tr id="i15" class="rowColor">
273<td class="colFirst"><code>static <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>&lt;? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&gt;</code></td>
274<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findEnumType-java.util.EnumMap-">findEnumType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/EnumMap.html?is-external=true" title="class or interface in java.util">EnumMap</a>&lt;?,?&gt;&nbsp;m)</code>
275<div class="block">Helper method that can be used to dynamically figure out
276 enumeration type of given <a href="http://docs.oracle.com/javase/7/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>, without having
277 access to its declaration.</div>
278</td>
279</tr>
280<tr id="i16" class="altColor">
281<td class="colFirst"><code>static <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>&lt;? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&gt;</code></td>
282<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findEnumType-java.util.EnumSet-">findEnumType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util">EnumSet</a>&lt;?&gt;&nbsp;s)</code>
283<div class="block">Helper method that can be used to dynamically figure out
284 enumeration type of given <a href="http://docs.oracle.com/javase/7/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>, without having
285 access to its declaration.</div>
286</td>
287</tr>
288<tr id="i17" class="rowColor">
289<td class="colFirst"><code>static &lt;T 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>&gt;<br><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;</code></td>
290<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findFirstAnnotatedEnumValue-java.lang.Class-java.lang.Class-">findFirstAnnotatedEnumValue</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>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&gt;&nbsp;enumClass,
291                           <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>&lt;T&gt;&nbsp;annotationClass)</code>
292<div class="block">A method that will look for the first Enum value annotated with the given Annotation.</div>
293</td>
294</tr>
295<tr id="i18" class="altColor">
296<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<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>&lt;?&gt;&gt;</code></td>
297<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findRawSuperTypes-java.lang.Class-java.lang.Class-boolean-">findRawSuperTypes</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>&lt;?&gt;&nbsp;cls,
298                 <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>&lt;?&gt;&nbsp;endBefore,
299                 boolean&nbsp;addClassItself)</code>&nbsp;</td>
300</tr>
301<tr id="i19" class="rowColor">
302<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<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>&lt;?&gt;&gt;</code></td>
303<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findSuperClasses-java.lang.Class-java.lang.Class-boolean-">findSuperClasses</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>&lt;?&gt;&nbsp;cls,
304                <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>&lt;?&gt;&nbsp;endBefore,
305                boolean&nbsp;addClassItself)</code>
306<div class="block">Method for finding all super classes (but not super interfaces) of given class,
307 starting with the immediate super class and ending in the most distant one.</div>
308</td>
309</tr>
310<tr id="i20" class="altColor">
311<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<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>&lt;?&gt;&gt;</code></td>
312<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findSuperTypes-java.lang.Class-java.lang.Class-">findSuperTypes</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>&lt;?&gt;&nbsp;cls,
313              <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>&lt;?&gt;&nbsp;endBefore)</code>
314<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
315</td>
316</tr>
317<tr id="i21" class="rowColor">
318<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<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>&lt;?&gt;&gt;</code></td>
319<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findSuperTypes-java.lang.Class-java.lang.Class-java.util.List-">findSuperTypes</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>&lt;?&gt;&nbsp;cls,
320              <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>&lt;?&gt;&nbsp;endBefore,
321              <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<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>&lt;?&gt;&gt;&nbsp;result)</code>
322<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
323</td>
324</tr>
325<tr id="i22" class="altColor">
326<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&gt;</code></td>
327<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findSuperTypes-com.fasterxml.jackson.databind.JavaType-java.lang.Class-boolean-">findSuperTypes</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
328              <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>&lt;?&gt;&nbsp;endBefore,
329              boolean&nbsp;addClassItself)</code>
330<div class="block">Method that will find all sub-classes and implemented interfaces
331 of a given class or interface.</div>
332</td>
333</tr>
334<tr id="i23" class="rowColor">
335<td class="colFirst"><code>static <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>
336<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getClassDescription-java.lang.Object-">getClassDescription</a></span>(<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>&nbsp;classOrInstance)</code>
337<div class="block">Helper method used to construct appropriate description
338 when passed either type (Class) or an instance; in latter
339 case, class of instance is to be used.</div>
340</td>
341</tr>
342<tr id="i24" class="altColor">
343<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>[]</code></td>
344<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getClassMethods-java.lang.Class-">getClassMethods</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>&lt;?&gt;&nbsp;cls)</code>
345<div class="block">Helper method that gets methods declared in given class; usually a simple thing,
346 but sometimes (as per [databind#785]) more complicated, depending on classloader
347 setup.</div>
348</td>
349</tr>
350<tr id="i25" class="rowColor">
351<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.Ctor.html" title="class in com.fasterxml.jackson.databind.util">ClassUtil.Ctor</a>[]</code></td>
352<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getConstructors-java.lang.Class-">getConstructors</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>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
353</tr>
354<tr id="i26" class="altColor">
355<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a>[]</code></td>
356<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getDeclaredFields-java.lang.Class-">getDeclaredFields</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>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
357</tr>
358<tr id="i27" class="rowColor">
359<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>[]</code></td>
360<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getDeclaredMethods-java.lang.Class-">getDeclaredMethods</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>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
361</tr>
362<tr id="i28" class="altColor">
363<td class="colFirst"><code>static <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>&lt;?&gt;</code></td>
364<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getDeclaringClass-java.lang.Class-">getDeclaringClass</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>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
365</tr>
366<tr id="i29" class="rowColor">
367<td class="colFirst"><code>static <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>&lt;?&gt;</code></td>
368<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getEnclosingClass-java.lang.Class-">getEnclosingClass</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>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
369</tr>
370<tr id="i30" class="altColor">
371<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>[]</code></td>
372<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getGenericInterfaces-java.lang.Class-">getGenericInterfaces</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>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
373</tr>
374<tr id="i31" class="rowColor">
375<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a></code></td>
376<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getGenericSuperclass-java.lang.Class-">getGenericSuperclass</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>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
377</tr>
378<tr id="i32" class="altColor">
379<td class="colFirst"><code>static <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>&lt;?&gt;</code></td>
380<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getOuterClass-java.lang.Class-">getOuterClass</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>&lt;?&gt;&nbsp;type)</code>
381<div class="block">Method for finding enclosing class for non-static inner classes</div>
382</td>
383</tr>
384<tr id="i33" class="rowColor">
385<td class="colFirst"><code>static <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>
386<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getPackageName-java.lang.Class-">getPackageName</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>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
387</tr>
388<tr id="i34" class="altColor">
389<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></td>
390<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getRootCause-java.lang.Throwable-">getRootCause</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</code>
391<div class="block">Method that can be used to find the "root cause", innermost
392 of chained (wrapped) exceptions.</div>
393</td>
394</tr>
395<tr id="i35" class="rowColor">
396<td class="colFirst"><code>static boolean</code></td>
397<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#hasClass-java.lang.Object-java.lang.Class-">hasClass</a></span>(<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>&nbsp;inst,
398        <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>&lt;?&gt;&nbsp;raw)</code>&nbsp;</td>
399</tr>
400<tr id="i36" class="altColor">
401<td class="colFirst"><code>static boolean</code></td>
402<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#hasEnclosingMethod-java.lang.Class-">hasEnclosingMethod</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>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
403</tr>
404<tr id="i37" class="rowColor">
405<td class="colFirst"><code>static boolean</code></td>
406<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#hasGetterSignature-java.lang.reflect.Method-">hasGetterSignature</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;m)</code>
407<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
408<div class="block"><span class="deprecationComment">Since 2.6 not used; may be removed before 3.x</span></div>
409</div>
410</td>
411</tr>
412<tr id="i38" class="altColor">
413<td class="colFirst"><code>static boolean</code></td>
414<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isBogusClass-java.lang.Class-">isBogusClass</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>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
415</tr>
416<tr id="i39" class="rowColor">
417<td class="colFirst"><code>static boolean</code></td>
418<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isCollectionMapOrArray-java.lang.Class-">isCollectionMapOrArray</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>&lt;?&gt;&nbsp;type)</code>&nbsp;</td>
419</tr>
420<tr id="i40" class="altColor">
421<td class="colFirst"><code>static boolean</code></td>
422<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isConcrete-java.lang.Class-">isConcrete</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>&lt;?&gt;&nbsp;type)</code>
423<div class="block">Helper method that checks if given class is a concrete one;
424 that is, not an interface or abstract class.</div>
425</td>
426</tr>
427<tr id="i41" class="rowColor">
428<td class="colFirst"><code>static boolean</code></td>
429<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isConcrete-java.lang.reflect.Member-">isConcrete</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a>&nbsp;member)</code>&nbsp;</td>
430</tr>
431<tr id="i42" class="altColor">
432<td class="colFirst"><code>static boolean</code></td>
433<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isJacksonStdImpl-java.lang.Class-">isJacksonStdImpl</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>&lt;?&gt;&nbsp;implClass)</code>&nbsp;</td>
434</tr>
435<tr id="i43" class="rowColor">
436<td class="colFirst"><code>static boolean</code></td>
437<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isJacksonStdImpl-java.lang.Object-">isJacksonStdImpl</a></span>(<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>&nbsp;impl)</code>
438<div class="block">Method that can be called to determine if given Object is the default
439 implementation Jackson uses; as opposed to a custom serializer installed by
440 a module or calling application.</div>
441</td>
442</tr>
443<tr id="i44" class="altColor">
444<td class="colFirst"><code>static <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>
445<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isLocalType-java.lang.Class-boolean-">isLocalType</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>&lt;?&gt;&nbsp;type,
446           boolean&nbsp;allowNonStatic)</code>&nbsp;</td>
447</tr>
448<tr id="i45" class="rowColor">
449<td class="colFirst"><code>static boolean</code></td>
450<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isNonStaticInnerClass-java.lang.Class-">isNonStaticInnerClass</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>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
451</tr>
452<tr id="i46" class="altColor">
453<td class="colFirst"><code>static boolean</code></td>
454<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isObjectOrPrimitive-java.lang.Class-">isObjectOrPrimitive</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>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
455</tr>
456<tr id="i47" class="rowColor">
457<td class="colFirst"><code>static boolean</code></td>
458<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isProxyType-java.lang.Class-">isProxyType</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>&lt;?&gt;&nbsp;type)</code>
459<div class="block">Helper method used to weed out dynamic Proxy types; types that do
460 not expose concrete method API that we could use to figure out
461 automatic Bean (property) based serialization.</div>
462</td>
463</tr>
464<tr id="i48" class="altColor">
465<td class="colFirst"><code>static <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>
466<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#nameOf-java.lang.Class-">nameOf</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>&lt;?&gt;&nbsp;cls)</code>
467<div class="block">Returns either `cls.getName()` (if `cls` not null),
468 or "[null]" if `cls` is null.</div>
469</td>
470</tr>
471<tr id="i49" class="rowColor">
472<td class="colFirst"><code>static <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>
473<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#nameOf-com.fasterxml.jackson.databind.util.Named-">nameOf</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/util/Named.html" title="interface in com.fasterxml.jackson.databind.util">Named</a>&nbsp;named)</code>
474<div class="block">Returns either backtick-quoted `named.getName()` (if `named` not null),
475 or "[null]" if `named` is null.</div>
476</td>
477</tr>
478<tr id="i50" class="altColor">
479<td class="colFirst"><code>static &lt;T&gt;&nbsp;T</code></td>
480<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#nonNull-T-T-">nonNull</a></span>(T&nbsp;valueOrNull,
481       T&nbsp;defaultValue)</code>&nbsp;</td>
482</tr>
483<tr id="i51" class="rowColor">
484<td class="colFirst"><code>static <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>
485<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#nonNullString-java.lang.String-">nonNullString</a></span>(<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>&nbsp;str)</code>&nbsp;</td>
486</tr>
487<tr id="i52" class="altColor">
488<td class="colFirst"><code>static <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>
489<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#nullOrToString-java.lang.Object-">nullOrToString</a></span>(<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>&nbsp;value)</code>&nbsp;</td>
490</tr>
491<tr id="i53" class="rowColor">
492<td class="colFirst"><code>static <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>&lt;?&gt;</code></td>
493<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#primitiveType-java.lang.Class-">primitiveType</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>&lt;?&gt;&nbsp;type)</code>
494<div class="block">Method that can be used to find primitive type for given class if (but only if)
495 it is either wrapper type or primitive type; returns `null` if type is neither.</div>
496</td>
497</tr>
498<tr id="i54" class="altColor">
499<td class="colFirst"><code>static <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>
500<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#quotedOr-java.lang.Object-java.lang.String-">quotedOr</a></span>(<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>&nbsp;str,
501        <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>&nbsp;forNull)</code>
502<div class="block">Returns either quoted value (with double-quotes) -- if argument non-null
503 String -- or String NULL (no quotes) (if null).</div>
504</td>
505</tr>
506<tr id="i55" class="rowColor">
507<td class="colFirst"><code>static <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>&lt;?&gt;</code></td>
508<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#rawClass-com.fasterxml.jackson.databind.JavaType-">rawClass</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;t)</code>&nbsp;</td>
509</tr>
510<tr id="i56" class="altColor">
511<td class="colFirst"><code>static void</code></td>
512<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#throwAsIAE-java.lang.Throwable-">throwAsIAE</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</code>
513<div class="block">Method that will wrap 't' as an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> if it
514 is a checked exception; otherwise (runtime exception or error) throw as is</div>
515</td>
516</tr>
517<tr id="i57" class="rowColor">
518<td class="colFirst"><code>static void</code></td>
519<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#throwAsIAE-java.lang.Throwable-java.lang.String-">throwAsIAE</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t,
520          <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>&nbsp;msg)</code>
521<div class="block">Method that will wrap 't' as an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> (and with
522 specified message) if it
523 is a checked exception; otherwise (runtime exception or error) throw as is</div>
524</td>
525</tr>
526<tr id="i58" class="altColor">
527<td class="colFirst"><code>static &lt;T&gt;&nbsp;T</code></td>
528<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#throwAsMappingException-com.fasterxml.jackson.databind.DeserializationContext-java.io.IOException-">throwAsMappingException</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a>&nbsp;ctxt,
529                       <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>&nbsp;e0)</code>&nbsp;</td>
530</tr>
531<tr id="i59" class="rowColor">
532<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></td>
533<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#throwIfError-java.lang.Throwable-">throwIfError</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</code>
534<div class="block">Helper method that will check if argument is an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang"><code>Error</code></a>,
535 and if so, (re)throw it; otherwise just return</div>
536</td>
537</tr>
538<tr id="i60" class="altColor">
539<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></td>
540<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#throwIfIOE-java.lang.Throwable-">throwIfIOE</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</code>
541<div class="block">Helper method that will check if argument is an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>,
542 and if so, (re)throw it; otherwise just return</div>
543</td>
544</tr>
545<tr id="i61" class="rowColor">
546<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></td>
547<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#throwIfRTE-java.lang.Throwable-">throwIfRTE</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</code>
548<div class="block">Helper method that will check if argument is an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang"><code>RuntimeException</code></a>,
549 and if so, (re)throw it; otherwise just return</div>
550</td>
551</tr>
552<tr id="i62" class="altColor">
553<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></td>
554<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#throwRootCauseIfIOE-java.lang.Throwable-">throwRootCauseIfIOE</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</code>
555<div class="block">Method that works like by calling <a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getRootCause-java.lang.Throwable-"><code>getRootCause(java.lang.Throwable)</code></a> and then
556 either throwing it (if instanceof <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>), or
557 return.</div>
558</td>
559</tr>
560<tr id="i63" class="rowColor">
561<td class="colFirst"><code>static void</code></td>
562<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#unwrapAndThrowAsIAE-java.lang.Throwable-">unwrapAndThrowAsIAE</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</code>
563<div class="block">Method that will locate the innermost exception for given Throwable;
564 and then wrap it as an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> if it
565 is a checked exception; otherwise (runtime exception or error) throw as is</div>
566</td>
567</tr>
568<tr id="i64" class="altColor">
569<td class="colFirst"><code>static void</code></td>
570<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#unwrapAndThrowAsIAE-java.lang.Throwable-java.lang.String-">unwrapAndThrowAsIAE</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t,
571                   <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>&nbsp;msg)</code>
572<div class="block">Method that will locate the innermost exception for given Throwable;
573 and then wrap it as an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> if it
574 is a checked exception; otherwise (runtime exception or error) throw as is</div>
575</td>
576</tr>
577<tr id="i65" class="rowColor">
578<td class="colFirst"><code>static void</code></td>
579<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#verifyMustOverride-java.lang.Class-java.lang.Object-java.lang.String-">verifyMustOverride</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>&lt;?&gt;&nbsp;expType,
580                  <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>&nbsp;instance,
581                  <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>&nbsp;method)</code>&nbsp;</td>
582</tr>
583<tr id="i66" class="altColor">
584<td class="colFirst"><code>static <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>&lt;?&gt;</code></td>
585<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#wrapperType-java.lang.Class-">wrapperType</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>&lt;?&gt;&nbsp;primitiveType)</code>
586<div class="block">Helper method for finding wrapper type for given primitive type (why isn't
587 there one in JDK?)</div>
588</td>
589</tr>
590</table>
591<ul class="blockList">
592<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
593<!--   -->
594</a>
595<h3>Methods inherited from class&nbsp;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>
596<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#toString--" title="class or interface in java.lang">toString</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>
597</ul>
598</li>
599</ul>
600</li>
601</ul>
602</div>
603<div class="details">
604<ul class="blockList">
605<li class="blockList">
606<!-- ========= CONSTRUCTOR DETAIL ======== -->
607<ul class="blockList">
608<li class="blockList"><a name="constructor.detail">
609<!--   -->
610</a>
611<h3>Constructor Detail</h3>
612<a name="ClassUtil--">
613<!--   -->
614</a>
615<ul class="blockListLast">
616<li class="blockList">
617<h4>ClassUtil</h4>
618<pre>public&nbsp;ClassUtil()</pre>
619</li>
620</ul>
621</li>
622</ul>
623<!-- ============ METHOD DETAIL ========== -->
624<ul class="blockList">
625<li class="blockList"><a name="method.detail">
626<!--   -->
627</a>
628<h3>Method Detail</h3>
629<a name="emptyIterator--">
630<!--   -->
631</a>
632<ul class="blockList">
633<li class="blockList">
634<h4>emptyIterator</h4>
635<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;T&gt;&nbsp;emptyIterator()</pre>
636<dl>
637<dt><span class="simpleTagLabel">Since:</span></dt>
638<dd>2.7</dd>
639</dl>
640</li>
641</ul>
642<a name="findSuperTypes-com.fasterxml.jackson.databind.JavaType-java.lang.Class-boolean-">
643<!--   -->
644</a>
645<ul class="blockList">
646<li class="blockList">
647<h4>findSuperTypes</h4>
648<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&gt;&nbsp;findSuperTypes(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
649                                            <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>&lt;?&gt;&nbsp;endBefore,
650                                            boolean&nbsp;addClassItself)</pre>
651<div class="block">Method that will find all sub-classes and implemented interfaces
652 of a given class or interface. Classes are listed in order of
653 precedence, starting with the immediate super-class, followed by
654 interfaces class directly declares to implemented, and then recursively
655 followed by parent of super-class and so forth.
656 Note that <code>Object.class</code> is not included in the list
657 regardless of whether <code>endBefore</code> argument is defined or not.</div>
658<dl>
659<dt><span class="paramLabel">Parameters:</span></dt>
660<dd><code>endBefore</code> - Super-type to NOT include in results, if any; when
661    encountered, will be ignored (and no super types are checked).</dd>
662<dt><span class="simpleTagLabel">Since:</span></dt>
663<dd>2.7</dd>
664</dl>
665</li>
666</ul>
667<a name="findRawSuperTypes-java.lang.Class-java.lang.Class-boolean-">
668<!--   -->
669</a>
670<ul class="blockList">
671<li class="blockList">
672<h4>findRawSuperTypes</h4>
673<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<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>&lt;?&gt;&gt;&nbsp;findRawSuperTypes(<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>&lt;?&gt;&nbsp;cls,
674                                               <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>&lt;?&gt;&nbsp;endBefore,
675                                               boolean&nbsp;addClassItself)</pre>
676<dl>
677<dt><span class="simpleTagLabel">Since:</span></dt>
678<dd>2.7</dd>
679</dl>
680</li>
681</ul>
682<a name="findSuperClasses-java.lang.Class-java.lang.Class-boolean-">
683<!--   -->
684</a>
685<ul class="blockList">
686<li class="blockList">
687<h4>findSuperClasses</h4>
688<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<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>&lt;?&gt;&gt;&nbsp;findSuperClasses(<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>&lt;?&gt;&nbsp;cls,
689                                              <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>&lt;?&gt;&nbsp;endBefore,
690                                              boolean&nbsp;addClassItself)</pre>
691<div class="block">Method for finding all super classes (but not super interfaces) of given class,
692 starting with the immediate super class and ending in the most distant one.
693 Class itself is included if <code>addClassItself</code> is true.</div>
694<dl>
695<dt><span class="simpleTagLabel">Since:</span></dt>
696<dd>2.7</dd>
697</dl>
698</li>
699</ul>
700<a name="findSuperTypes-java.lang.Class-java.lang.Class-">
701<!--   -->
702</a>
703<ul class="blockList">
704<li class="blockList">
705<h4>findSuperTypes</h4>
706<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
707public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<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>&lt;?&gt;&gt;&nbsp;findSuperTypes(<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>&lt;?&gt;&nbsp;cls,
708                                                        <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>&lt;?&gt;&nbsp;endBefore)</pre>
709<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
710</li>
711</ul>
712<a name="findSuperTypes-java.lang.Class-java.lang.Class-java.util.List-">
713<!--   -->
714</a>
715<ul class="blockList">
716<li class="blockList">
717<h4>findSuperTypes</h4>
718<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
719public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<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>&lt;?&gt;&gt;&nbsp;findSuperTypes(<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>&lt;?&gt;&nbsp;cls,
720                                                        <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>&lt;?&gt;&nbsp;endBefore,
721                                                        <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<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>&lt;?&gt;&gt;&nbsp;result)</pre>
722<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
723</li>
724</ul>
725<a name="canBeABeanType-java.lang.Class-">
726<!--   -->
727</a>
728<ul class="blockList">
729<li class="blockList">
730<h4>canBeABeanType</h4>
731<pre>public static&nbsp;<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>&nbsp;canBeABeanType(<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>&lt;?&gt;&nbsp;type)</pre>
732<dl>
733<dt><span class="returnLabel">Returns:</span></dt>
734<dd>Null if class might be a bean; type String (that identifies
735   why it's not a bean) if not</dd>
736</dl>
737</li>
738</ul>
739<a name="isLocalType-java.lang.Class-boolean-">
740<!--   -->
741</a>
742<ul class="blockList">
743<li class="blockList">
744<h4>isLocalType</h4>
745<pre>public static&nbsp;<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>&nbsp;isLocalType(<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>&lt;?&gt;&nbsp;type,
746                                 boolean&nbsp;allowNonStatic)</pre>
747</li>
748</ul>
749<a name="getOuterClass-java.lang.Class-">
750<!--   -->
751</a>
752<ul class="blockList">
753<li class="blockList">
754<h4>getOuterClass</h4>
755<pre>public static&nbsp;<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>&lt;?&gt;&nbsp;getOuterClass(<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>&lt;?&gt;&nbsp;type)</pre>
756<div class="block">Method for finding enclosing class for non-static inner classes</div>
757</li>
758</ul>
759<a name="isProxyType-java.lang.Class-">
760<!--   -->
761</a>
762<ul class="blockList">
763<li class="blockList">
764<h4>isProxyType</h4>
765<pre>public static&nbsp;boolean&nbsp;isProxyType(<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>&lt;?&gt;&nbsp;type)</pre>
766<div class="block">Helper method used to weed out dynamic Proxy types; types that do
767 not expose concrete method API that we could use to figure out
768 automatic Bean (property) based serialization.</div>
769</li>
770</ul>
771<a name="isConcrete-java.lang.Class-">
772<!--   -->
773</a>
774<ul class="blockList">
775<li class="blockList">
776<h4>isConcrete</h4>
777<pre>public static&nbsp;boolean&nbsp;isConcrete(<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>&lt;?&gt;&nbsp;type)</pre>
778<div class="block">Helper method that checks if given class is a concrete one;
779 that is, not an interface or abstract class.</div>
780</li>
781</ul>
782<a name="isConcrete-java.lang.reflect.Member-">
783<!--   -->
784</a>
785<ul class="blockList">
786<li class="blockList">
787<h4>isConcrete</h4>
788<pre>public static&nbsp;boolean&nbsp;isConcrete(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a>&nbsp;member)</pre>
789</li>
790</ul>
791<a name="isCollectionMapOrArray-java.lang.Class-">
792<!--   -->
793</a>
794<ul class="blockList">
795<li class="blockList">
796<h4>isCollectionMapOrArray</h4>
797<pre>public static&nbsp;boolean&nbsp;isCollectionMapOrArray(<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>&lt;?&gt;&nbsp;type)</pre>
798</li>
799</ul>
800<a name="isBogusClass-java.lang.Class-">
801<!--   -->
802</a>
803<ul class="blockList">
804<li class="blockList">
805<h4>isBogusClass</h4>
806<pre>public static&nbsp;boolean&nbsp;isBogusClass(<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>&lt;?&gt;&nbsp;cls)</pre>
807</li>
808</ul>
809<a name="isNonStaticInnerClass-java.lang.Class-">
810<!--   -->
811</a>
812<ul class="blockList">
813<li class="blockList">
814<h4>isNonStaticInnerClass</h4>
815<pre>public static&nbsp;boolean&nbsp;isNonStaticInnerClass(<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>&lt;?&gt;&nbsp;cls)</pre>
816</li>
817</ul>
818<a name="isObjectOrPrimitive-java.lang.Class-">
819<!--   -->
820</a>
821<ul class="blockList">
822<li class="blockList">
823<h4>isObjectOrPrimitive</h4>
824<pre>public static&nbsp;boolean&nbsp;isObjectOrPrimitive(<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>&lt;?&gt;&nbsp;cls)</pre>
825<dl>
826<dt><span class="simpleTagLabel">Since:</span></dt>
827<dd>2.7</dd>
828</dl>
829</li>
830</ul>
831<a name="hasClass-java.lang.Object-java.lang.Class-">
832<!--   -->
833</a>
834<ul class="blockList">
835<li class="blockList">
836<h4>hasClass</h4>
837<pre>public static&nbsp;boolean&nbsp;hasClass(<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>&nbsp;inst,
838                               <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>&lt;?&gt;&nbsp;raw)</pre>
839<dl>
840<dt><span class="simpleTagLabel">Since:</span></dt>
841<dd>2.9</dd>
842</dl>
843</li>
844</ul>
845<a name="verifyMustOverride-java.lang.Class-java.lang.Object-java.lang.String-">
846<!--   -->
847</a>
848<ul class="blockList">
849<li class="blockList">
850<h4>verifyMustOverride</h4>
851<pre>public static&nbsp;void&nbsp;verifyMustOverride(<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>&lt;?&gt;&nbsp;expType,
852                                      <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>&nbsp;instance,
853                                      <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>&nbsp;method)</pre>
854<dl>
855<dt><span class="simpleTagLabel">Since:</span></dt>
856<dd>2.9</dd>
857</dl>
858</li>
859</ul>
860<a name="hasGetterSignature-java.lang.reflect.Method-">
861<!--   -->
862</a>
863<ul class="blockList">
864<li class="blockList">
865<h4>hasGetterSignature</h4>
866<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
867public static&nbsp;boolean&nbsp;hasGetterSignature(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;m)</pre>
868<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Since 2.6 not used; may be removed before 3.x</span></div>
869</li>
870</ul>
871<a name="throwIfError-java.lang.Throwable-">
872<!--   -->
873</a>
874<ul class="blockList">
875<li class="blockList">
876<h4>throwIfError</h4>
877<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;throwIfError(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</pre>
878<div class="block">Helper method that will check if argument is an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang"><code>Error</code></a>,
879 and if so, (re)throw it; otherwise just return</div>
880<dl>
881<dt><span class="simpleTagLabel">Since:</span></dt>
882<dd>2.9</dd>
883</dl>
884</li>
885</ul>
886<a name="throwIfRTE-java.lang.Throwable-">
887<!--   -->
888</a>
889<ul class="blockList">
890<li class="blockList">
891<h4>throwIfRTE</h4>
892<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;throwIfRTE(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</pre>
893<div class="block">Helper method that will check if argument is an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang"><code>RuntimeException</code></a>,
894 and if so, (re)throw it; otherwise just return</div>
895<dl>
896<dt><span class="simpleTagLabel">Since:</span></dt>
897<dd>2.9</dd>
898</dl>
899</li>
900</ul>
901<a name="throwIfIOE-java.lang.Throwable-">
902<!--   -->
903</a>
904<ul class="blockList">
905<li class="blockList">
906<h4>throwIfIOE</h4>
907<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;throwIfIOE(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)
908                            throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
909<div class="block">Helper method that will check if argument is an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>,
910 and if so, (re)throw it; otherwise just return</div>
911<dl>
912<dt><span class="throwsLabel">Throws:</span></dt>
913<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
914<dt><span class="simpleTagLabel">Since:</span></dt>
915<dd>2.9</dd>
916</dl>
917</li>
918</ul>
919<a name="getRootCause-java.lang.Throwable-">
920<!--   -->
921</a>
922<ul class="blockList">
923<li class="blockList">
924<h4>getRootCause</h4>
925<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;getRootCause(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</pre>
926<div class="block">Method that can be used to find the "root cause", innermost
927 of chained (wrapped) exceptions.</div>
928</li>
929</ul>
930<a name="throwRootCauseIfIOE-java.lang.Throwable-">
931<!--   -->
932</a>
933<ul class="blockList">
934<li class="blockList">
935<h4>throwRootCauseIfIOE</h4>
936<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;throwRootCauseIfIOE(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)
937                                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
938<div class="block">Method that works like by calling <a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getRootCause-java.lang.Throwable-"><code>getRootCause(java.lang.Throwable)</code></a> and then
939 either throwing it (if instanceof <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>), or
940 return.</div>
941<dl>
942<dt><span class="throwsLabel">Throws:</span></dt>
943<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
944<dt><span class="simpleTagLabel">Since:</span></dt>
945<dd>2.8</dd>
946</dl>
947</li>
948</ul>
949<a name="throwAsIAE-java.lang.Throwable-">
950<!--   -->
951</a>
952<ul class="blockList">
953<li class="blockList">
954<h4>throwAsIAE</h4>
955<pre>public static&nbsp;void&nbsp;throwAsIAE(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</pre>
956<div class="block">Method that will wrap 't' as an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> if it
957 is a checked exception; otherwise (runtime exception or error) throw as is</div>
958</li>
959</ul>
960<a name="throwAsIAE-java.lang.Throwable-java.lang.String-">
961<!--   -->
962</a>
963<ul class="blockList">
964<li class="blockList">
965<h4>throwAsIAE</h4>
966<pre>public static&nbsp;void&nbsp;throwAsIAE(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t,
967                              <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>&nbsp;msg)</pre>
968<div class="block">Method that will wrap 't' as an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> (and with
969 specified message) if it
970 is a checked exception; otherwise (runtime exception or error) throw as is</div>
971</li>
972</ul>
973<a name="throwAsMappingException-com.fasterxml.jackson.databind.DeserializationContext-java.io.IOException-">
974<!--   -->
975</a>
976<ul class="blockList">
977<li class="blockList">
978<h4>throwAsMappingException</h4>
979<pre>public static&nbsp;&lt;T&gt;&nbsp;T&nbsp;throwAsMappingException(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a>&nbsp;ctxt,
980                                            <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>&nbsp;e0)
981                                     throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
982<dl>
983<dt><span class="throwsLabel">Throws:</span></dt>
984<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd>
985<dt><span class="simpleTagLabel">Since:</span></dt>
986<dd>2.9</dd>
987</dl>
988</li>
989</ul>
990<a name="unwrapAndThrowAsIAE-java.lang.Throwable-">
991<!--   -->
992</a>
993<ul class="blockList">
994<li class="blockList">
995<h4>unwrapAndThrowAsIAE</h4>
996<pre>public static&nbsp;void&nbsp;unwrapAndThrowAsIAE(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</pre>
997<div class="block">Method that will locate the innermost exception for given Throwable;
998 and then wrap it as an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> if it
999 is a checked exception; otherwise (runtime exception or error) throw as is</div>
1000</li>
1001</ul>
1002<a name="unwrapAndThrowAsIAE-java.lang.Throwable-java.lang.String-">
1003<!--   -->
1004</a>
1005<ul class="blockList">
1006<li class="blockList">
1007<h4>unwrapAndThrowAsIAE</h4>
1008<pre>public static&nbsp;void&nbsp;unwrapAndThrowAsIAE(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t,
1009                                       <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>&nbsp;msg)</pre>
1010<div class="block">Method that will locate the innermost exception for given Throwable;
1011 and then wrap it as an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> if it
1012 is a checked exception; otherwise (runtime exception or error) throw as is</div>
1013</li>
1014</ul>
1015<a name="closeOnFailAndThrowAsIOE-com.fasterxml.jackson.core.JsonGenerator-java.lang.Exception-">
1016<!--   -->
1017</a>
1018<ul class="blockList">
1019<li class="blockList">
1020<h4>closeOnFailAndThrowAsIOE</h4>
1021<pre>public static&nbsp;void&nbsp;closeOnFailAndThrowAsIOE(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;g,
1022                                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&nbsp;fail)
1023                                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1024<div class="block">Helper method that encapsulate logic in trying to close output generator
1025 in case of failure; useful mostly in forcing flush()ing as otherwise
1026 error conditions tend to be hard to diagnose. However, it is often the
1027 case that output state may be corrupt so we need to be prepared for
1028 secondary exception without masking original one.</div>
1029<dl>
1030<dt><span class="throwsLabel">Throws:</span></dt>
1031<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1032<dt><span class="simpleTagLabel">Since:</span></dt>
1033<dd>2.8</dd>
1034</dl>
1035</li>
1036</ul>
1037<a name="closeOnFailAndThrowAsIOE-com.fasterxml.jackson.core.JsonGenerator-java.io.Closeable-java.lang.Exception-">
1038<!--   -->
1039</a>
1040<ul class="blockList">
1041<li class="blockList">
1042<h4>closeOnFailAndThrowAsIOE</h4>
1043<pre>public static&nbsp;void&nbsp;closeOnFailAndThrowAsIOE(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;g,
1044                                            <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>&nbsp;toClose,
1045                                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&nbsp;fail)
1046                                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1047<div class="block">Helper method that encapsulate logic in trying to close given <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io"><code>Closeable</code></a>
1048 in case of failure; useful mostly in forcing flush()ing as otherwise
1049 error conditions tend to be hard to diagnose. However, it is often the
1050 case that output state may be corrupt so we need to be prepared for
1051 secondary exception without masking original one.</div>
1052<dl>
1053<dt><span class="throwsLabel">Throws:</span></dt>
1054<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1055<dt><span class="simpleTagLabel">Since:</span></dt>
1056<dd>2.8</dd>
1057</dl>
1058</li>
1059</ul>
1060<a name="createInstance-java.lang.Class-boolean-">
1061<!--   -->
1062</a>
1063<ul class="blockList">
1064<li class="blockList">
1065<h4>createInstance</h4>
1066<pre>public static&nbsp;&lt;T&gt;&nbsp;T&nbsp;createInstance(<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>&lt;T&gt;&nbsp;cls,
1067                                   boolean&nbsp;canFixAccess)
1068                            throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre>
1069<div class="block">Method that can be called to try to create an instantiate of
1070 specified type. Instantiation is done using default no-argument
1071 constructor.</div>
1072<dl>
1073<dt><span class="paramLabel">Parameters:</span></dt>
1074<dd><code>canFixAccess</code> - Whether it is possible to try to change access
1075   rights of the default constructor (in case it is not publicly
1076   accessible) or not.</dd>
1077<dt><span class="throwsLabel">Throws:</span></dt>
1078<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - If instantiation fails for any reason;
1079    except for cases where constructor throws an unchecked exception
1080    (which will be passed as is)</dd>
1081</dl>
1082</li>
1083</ul>
1084<a name="findConstructor-java.lang.Class-boolean-">
1085<!--   -->
1086</a>
1087<ul class="blockList">
1088<li class="blockList">
1089<h4>findConstructor</h4>
1090<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a>&lt;T&gt;&nbsp;findConstructor(<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>&lt;T&gt;&nbsp;cls,
1091                                                 boolean&nbsp;forceAccess)
1092                                          throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre>
1093<dl>
1094<dt><span class="throwsLabel">Throws:</span></dt>
1095<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code></dd>
1096</dl>
1097</li>
1098</ul>
1099<a name="classOf-java.lang.Object-">
1100<!--   -->
1101</a>
1102<ul class="blockList">
1103<li class="blockList">
1104<h4>classOf</h4>
1105<pre>public static&nbsp;<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>&lt;?&gt;&nbsp;classOf(<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>&nbsp;inst)</pre>
1106<dl>
1107<dt><span class="simpleTagLabel">Since:</span></dt>
1108<dd>2.9</dd>
1109</dl>
1110</li>
1111</ul>
1112<a name="rawClass-com.fasterxml.jackson.databind.JavaType-">
1113<!--   -->
1114</a>
1115<ul class="blockList">
1116<li class="blockList">
1117<h4>rawClass</h4>
1118<pre>public static&nbsp;<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>&lt;?&gt;&nbsp;rawClass(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;t)</pre>
1119<dl>
1120<dt><span class="simpleTagLabel">Since:</span></dt>
1121<dd>2.9</dd>
1122</dl>
1123</li>
1124</ul>
1125<a name="nonNull-java.lang.Object-java.lang.Object-">
1126<!--   -->
1127</a><a name="nonNull-T-T-">
1128<!--   -->
1129</a>
1130<ul class="blockList">
1131<li class="blockList">
1132<h4>nonNull</h4>
1133<pre>public static&nbsp;&lt;T&gt;&nbsp;T&nbsp;nonNull(T&nbsp;valueOrNull,
1134                            T&nbsp;defaultValue)</pre>
1135<dl>
1136<dt><span class="simpleTagLabel">Since:</span></dt>
1137<dd>2.9</dd>
1138</dl>
1139</li>
1140</ul>
1141<a name="nullOrToString-java.lang.Object-">
1142<!--   -->
1143</a>
1144<ul class="blockList">
1145<li class="blockList">
1146<h4>nullOrToString</h4>
1147<pre>public static&nbsp;<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>&nbsp;nullOrToString(<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>&nbsp;value)</pre>
1148<dl>
1149<dt><span class="simpleTagLabel">Since:</span></dt>
1150<dd>2.9</dd>
1151</dl>
1152</li>
1153</ul>
1154<a name="nonNullString-java.lang.String-">
1155<!--   -->
1156</a>
1157<ul class="blockList">
1158<li class="blockList">
1159<h4>nonNullString</h4>
1160<pre>public static&nbsp;<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>&nbsp;nonNullString(<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>&nbsp;str)</pre>
1161<dl>
1162<dt><span class="simpleTagLabel">Since:</span></dt>
1163<dd>2.9</dd>
1164</dl>
1165</li>
1166</ul>
1167<a name="quotedOr-java.lang.Object-java.lang.String-">
1168<!--   -->
1169</a>
1170<ul class="blockList">
1171<li class="blockList">
1172<h4>quotedOr</h4>
1173<pre>public static&nbsp;<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>&nbsp;quotedOr(<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>&nbsp;str,
1174                              <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>&nbsp;forNull)</pre>
1175<div class="block">Returns either quoted value (with double-quotes) -- if argument non-null
1176 String -- or String NULL (no quotes) (if null).</div>
1177<dl>
1178<dt><span class="simpleTagLabel">Since:</span></dt>
1179<dd>2.9</dd>
1180</dl>
1181</li>
1182</ul>
1183<a name="getClassDescription-java.lang.Object-">
1184<!--   -->
1185</a>
1186<ul class="blockList">
1187<li class="blockList">
1188<h4>getClassDescription</h4>
1189<pre>public static&nbsp;<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>&nbsp;getClassDescription(<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>&nbsp;classOrInstance)</pre>
1190<div class="block">Helper method used to construct appropriate description
1191 when passed either type (Class) or an instance; in latter
1192 case, class of instance is to be used.</div>
1193</li>
1194</ul>
1195<a name="classNameOf-java.lang.Object-">
1196<!--   -->
1197</a>
1198<ul class="blockList">
1199<li class="blockList">
1200<h4>classNameOf</h4>
1201<pre>public static&nbsp;<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>&nbsp;classNameOf(<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>&nbsp;inst)</pre>
1202<div class="block">Helper method used to construct appropriate description
1203 when passed either type (Class) or an instance; in latter
1204 case, class of instance is to be used.</div>
1205<dl>
1206<dt><span class="simpleTagLabel">Since:</span></dt>
1207<dd>2.9</dd>
1208</dl>
1209</li>
1210</ul>
1211<a name="nameOf-java.lang.Class-">
1212<!--   -->
1213</a>
1214<ul class="blockList">
1215<li class="blockList">
1216<h4>nameOf</h4>
1217<pre>public static&nbsp;<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>&nbsp;nameOf(<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>&lt;?&gt;&nbsp;cls)</pre>
1218<div class="block">Returns either `cls.getName()` (if `cls` not null),
1219 or "[null]" if `cls` is null.</div>
1220<dl>
1221<dt><span class="simpleTagLabel">Since:</span></dt>
1222<dd>2.9</dd>
1223</dl>
1224</li>
1225</ul>
1226<a name="nameOf-com.fasterxml.jackson.databind.util.Named-">
1227<!--   -->
1228</a>
1229<ul class="blockList">
1230<li class="blockList">
1231<h4>nameOf</h4>
1232<pre>public static&nbsp;<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>&nbsp;nameOf(<a href="../../../../../com/fasterxml/jackson/databind/util/Named.html" title="interface in com.fasterxml.jackson.databind.util">Named</a>&nbsp;named)</pre>
1233<div class="block">Returns either backtick-quoted `named.getName()` (if `named` not null),
1234 or "[null]" if `named` is null.</div>
1235<dl>
1236<dt><span class="simpleTagLabel">Since:</span></dt>
1237<dd>2.9</dd>
1238</dl>
1239</li>
1240</ul>
1241<a name="backticked-java.lang.String-">
1242<!--   -->
1243</a>
1244<ul class="blockList">
1245<li class="blockList">
1246<h4>backticked</h4>
1247<pre>public static&nbsp;<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>&nbsp;backticked(<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>&nbsp;text)</pre>
1248<div class="block">Returns either `text` or [null].</div>
1249<dl>
1250<dt><span class="simpleTagLabel">Since:</span></dt>
1251<dd>2.9</dd>
1252</dl>
1253</li>
1254</ul>
1255<a name="defaultValue-java.lang.Class-">
1256<!--   -->
1257</a>
1258<ul class="blockList">
1259<li class="blockList">
1260<h4>defaultValue</h4>
1261<pre>public static&nbsp;<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>&nbsp;defaultValue(<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>&lt;?&gt;&nbsp;cls)</pre>
1262<div class="block">Helper method used to get default value for wrappers used for primitive types
1263 (0 for Integer etc)</div>
1264</li>
1265</ul>
1266<a name="wrapperType-java.lang.Class-">
1267<!--   -->
1268</a>
1269<ul class="blockList">
1270<li class="blockList">
1271<h4>wrapperType</h4>
1272<pre>public static&nbsp;<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>&lt;?&gt;&nbsp;wrapperType(<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>&lt;?&gt;&nbsp;primitiveType)</pre>
1273<div class="block">Helper method for finding wrapper type for given primitive type (why isn't
1274 there one in JDK?)</div>
1275</li>
1276</ul>
1277<a name="primitiveType-java.lang.Class-">
1278<!--   -->
1279</a>
1280<ul class="blockList">
1281<li class="blockList">
1282<h4>primitiveType</h4>
1283<pre>public static&nbsp;<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>&lt;?&gt;&nbsp;primitiveType(<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>&lt;?&gt;&nbsp;type)</pre>
1284<div class="block">Method that can be used to find primitive type for given class if (but only if)
1285 it is either wrapper type or primitive type; returns `null` if type is neither.</div>
1286<dl>
1287<dt><span class="simpleTagLabel">Since:</span></dt>
1288<dd>2.7</dd>
1289</dl>
1290</li>
1291</ul>
1292<a name="checkAndFixAccess-java.lang.reflect.Member-">
1293<!--   -->
1294</a>
1295<ul class="blockList">
1296<li class="blockList">
1297<h4>checkAndFixAccess</h4>
1298<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
1299public static&nbsp;void&nbsp;checkAndFixAccess(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a>&nbsp;member)</pre>
1300<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Since 2.7 call variant that takes boolean flag.</span></div>
1301<div class="block">Equivalent to call:
1302<pre>
1303   checkAndFixAccess(member, false);
1304</pre></div>
1305</li>
1306</ul>
1307<a name="checkAndFixAccess-java.lang.reflect.Member-boolean-">
1308<!--   -->
1309</a>
1310<ul class="blockList">
1311<li class="blockList">
1312<h4>checkAndFixAccess</h4>
1313<pre>public static&nbsp;void&nbsp;checkAndFixAccess(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a>&nbsp;member,
1314                                     boolean&nbsp;force)</pre>
1315<div class="block">Method that is called if a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect"><code>Member</code></a> may need forced access,
1316 to force a field, method or constructor to be accessible: this
1317 is done by calling <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible-boolean-" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(boolean)</code></a>.</div>
1318<dl>
1319<dt><span class="paramLabel">Parameters:</span></dt>
1320<dd><code>member</code> - Accessor to call <code>setAccessible()</code> on.</dd>
1321<dd><code>force</code> - Whether to always try to make accessor accessible (true),
1322   or only if needed as per access rights (false)</dd>
1323<dt><span class="simpleTagLabel">Since:</span></dt>
1324<dd>2.7</dd>
1325</dl>
1326</li>
1327</ul>
1328<a name="findEnumType-java.util.EnumSet-">
1329<!--   -->
1330</a>
1331<ul class="blockList">
1332<li class="blockList">
1333<h4>findEnumType</h4>
1334<pre>public static&nbsp;<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>&lt;? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&gt;&nbsp;findEnumType(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util">EnumSet</a>&lt;?&gt;&nbsp;s)</pre>
1335<div class="block">Helper method that can be used to dynamically figure out
1336 enumeration type of given <a href="http://docs.oracle.com/javase/7/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>, without having
1337 access to its declaration.
1338 Code is needed to work around design flaw in JDK.</div>
1339</li>
1340</ul>
1341<a name="findEnumType-java.util.EnumMap-">
1342<!--   -->
1343</a>
1344<ul class="blockList">
1345<li class="blockList">
1346<h4>findEnumType</h4>
1347<pre>public static&nbsp;<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>&lt;? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&gt;&nbsp;findEnumType(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/EnumMap.html?is-external=true" title="class or interface in java.util">EnumMap</a>&lt;?,?&gt;&nbsp;m)</pre>
1348<div class="block">Helper method that can be used to dynamically figure out
1349 enumeration type of given <a href="http://docs.oracle.com/javase/7/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a>, without having
1350 access to its declaration.
1351 Code is needed to work around design flaw in JDK.</div>
1352</li>
1353</ul>
1354<a name="findEnumType-java.lang.Enum-">
1355<!--   -->
1356</a>
1357<ul class="blockList">
1358<li class="blockList">
1359<h4>findEnumType</h4>
1360<pre>public static&nbsp;<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>&lt;? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&gt;&nbsp;findEnumType(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;en)</pre>
1361<div class="block">Helper method that can be used to dynamically figure out formal
1362 enumeration type (class) for given enumeration. This is either
1363 class of enum instance (for "simple" enumerations), or its
1364 superclass (for enums with instance fields or methods)</div>
1365</li>
1366</ul>
1367<a name="findEnumType-java.lang.Class-">
1368<!--   -->
1369</a>
1370<ul class="blockList">
1371<li class="blockList">
1372<h4>findEnumType</h4>
1373<pre>public static&nbsp;<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>&lt;? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&gt;&nbsp;findEnumType(<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>&lt;?&gt;&nbsp;cls)</pre>
1374<div class="block">Helper method that can be used to dynamically figure out formal
1375 enumeration type (class) for given class of an enumeration value.
1376 This is either class of enum instance (for "simple" enumerations),
1377 or its superclass (for enums with instance fields or methods)</div>
1378</li>
1379</ul>
1380<a name="findFirstAnnotatedEnumValue-java.lang.Class-java.lang.Class-">
1381<!--   -->
1382</a>
1383<ul class="blockList">
1384<li class="blockList">
1385<h4>findFirstAnnotatedEnumValue</h4>
1386<pre>public static&nbsp;&lt;T 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>&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&nbsp;findFirstAnnotatedEnumValue(<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>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;?&gt;&gt;&nbsp;enumClass,
1387                                                                         <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>&lt;T&gt;&nbsp;annotationClass)</pre>
1388<div class="block">A method that will look for the first Enum value annotated with the given Annotation.
1389 <p>
1390 If there's more than one value annotated, the first one found will be returned. Which one exactly is used is undetermined.</div>
1391<dl>
1392<dt><span class="paramLabel">Parameters:</span></dt>
1393<dd><code>enumClass</code> - The Enum class to scan for a value with the given annotation</dd>
1394<dd><code>annotationClass</code> - The annotation to look for.</dd>
1395<dt><span class="returnLabel">Returns:</span></dt>
1396<dd>the Enum value annotated with the given Annotation or <code>null</code> if none is found.</dd>
1397<dt><span class="throwsLabel">Throws:</span></dt>
1398<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if there's a reflection issue accessing the Enum</dd>
1399<dt><span class="simpleTagLabel">Since:</span></dt>
1400<dd>2.8</dd>
1401</dl>
1402</li>
1403</ul>
1404<a name="isJacksonStdImpl-java.lang.Object-">
1405<!--   -->
1406</a>
1407<ul class="blockList">
1408<li class="blockList">
1409<h4>isJacksonStdImpl</h4>
1410<pre>public static&nbsp;boolean&nbsp;isJacksonStdImpl(<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>&nbsp;impl)</pre>
1411<div class="block">Method that can be called to determine if given Object is the default
1412 implementation Jackson uses; as opposed to a custom serializer installed by
1413 a module or calling application. Determination is done using
1414 <a href="../../../../../com/fasterxml/jackson/databind/annotation/JacksonStdImpl.html" title="annotation in com.fasterxml.jackson.databind.annotation"><code>JacksonStdImpl</code></a> annotation on handler (serializer, deserializer etc)
1415 class.
1416<p>
1417 NOTE: passing `null` is legal, and will result in <code>true</code>
1418 being returned.</div>
1419</li>
1420</ul>
1421<a name="isJacksonStdImpl-java.lang.Class-">
1422<!--   -->
1423</a>
1424<ul class="blockList">
1425<li class="blockList">
1426<h4>isJacksonStdImpl</h4>
1427<pre>public static&nbsp;boolean&nbsp;isJacksonStdImpl(<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>&lt;?&gt;&nbsp;implClass)</pre>
1428</li>
1429</ul>
1430<a name="getPackageName-java.lang.Class-">
1431<!--   -->
1432</a>
1433<ul class="blockList">
1434<li class="blockList">
1435<h4>getPackageName</h4>
1436<pre>public static&nbsp;<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>&nbsp;getPackageName(<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>&lt;?&gt;&nbsp;cls)</pre>
1437<dl>
1438<dt><span class="simpleTagLabel">Since:</span></dt>
1439<dd>2.7</dd>
1440</dl>
1441</li>
1442</ul>
1443<a name="hasEnclosingMethod-java.lang.Class-">
1444<!--   -->
1445</a>
1446<ul class="blockList">
1447<li class="blockList">
1448<h4>hasEnclosingMethod</h4>
1449<pre>public static&nbsp;boolean&nbsp;hasEnclosingMethod(<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>&lt;?&gt;&nbsp;cls)</pre>
1450<dl>
1451<dt><span class="simpleTagLabel">Since:</span></dt>
1452<dd>2.7</dd>
1453</dl>
1454</li>
1455</ul>
1456<a name="getDeclaredFields-java.lang.Class-">
1457<!--   -->
1458</a>
1459<ul class="blockList">
1460<li class="blockList">
1461<h4>getDeclaredFields</h4>
1462<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a>[]&nbsp;getDeclaredFields(<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>&lt;?&gt;&nbsp;cls)</pre>
1463<dl>
1464<dt><span class="simpleTagLabel">Since:</span></dt>
1465<dd>2.7</dd>
1466</dl>
1467</li>
1468</ul>
1469<a name="getDeclaredMethods-java.lang.Class-">
1470<!--   -->
1471</a>
1472<ul class="blockList">
1473<li class="blockList">
1474<h4>getDeclaredMethods</h4>
1475<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>[]&nbsp;getDeclaredMethods(<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>&lt;?&gt;&nbsp;cls)</pre>
1476<dl>
1477<dt><span class="simpleTagLabel">Since:</span></dt>
1478<dd>2.7</dd>
1479</dl>
1480</li>
1481</ul>
1482<a name="findClassAnnotations-java.lang.Class-">
1483<!--   -->
1484</a>
1485<ul class="blockList">
1486<li class="blockList">
1487<h4>findClassAnnotations</h4>
1488<pre>public static&nbsp;<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>[]&nbsp;findClassAnnotations(<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>&lt;?&gt;&nbsp;cls)</pre>
1489<dl>
1490<dt><span class="simpleTagLabel">Since:</span></dt>
1491<dd>2.7</dd>
1492</dl>
1493</li>
1494</ul>
1495<a name="getClassMethods-java.lang.Class-">
1496<!--   -->
1497</a>
1498<ul class="blockList">
1499<li class="blockList">
1500<h4>getClassMethods</h4>
1501<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>[]&nbsp;getClassMethods(<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>&lt;?&gt;&nbsp;cls)</pre>
1502<div class="block">Helper method that gets methods declared in given class; usually a simple thing,
1503 but sometimes (as per [databind#785]) more complicated, depending on classloader
1504 setup.</div>
1505<dl>
1506<dt><span class="simpleTagLabel">Since:</span></dt>
1507<dd>2.9</dd>
1508</dl>
1509</li>
1510</ul>
1511<a name="getConstructors-java.lang.Class-">
1512<!--   -->
1513</a>
1514<ul class="blockList">
1515<li class="blockList">
1516<h4>getConstructors</h4>
1517<pre>public static&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.Ctor.html" title="class in com.fasterxml.jackson.databind.util">ClassUtil.Ctor</a>[]&nbsp;getConstructors(<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>&lt;?&gt;&nbsp;cls)</pre>
1518<dl>
1519<dt><span class="simpleTagLabel">Since:</span></dt>
1520<dd>2.7</dd>
1521</dl>
1522</li>
1523</ul>
1524<a name="getDeclaringClass-java.lang.Class-">
1525<!--   -->
1526</a>
1527<ul class="blockList">
1528<li class="blockList">
1529<h4>getDeclaringClass</h4>
1530<pre>public static&nbsp;<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>&lt;?&gt;&nbsp;getDeclaringClass(<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>&lt;?&gt;&nbsp;cls)</pre>
1531<dl>
1532<dt><span class="simpleTagLabel">Since:</span></dt>
1533<dd>2.7</dd>
1534</dl>
1535</li>
1536</ul>
1537<a name="getGenericSuperclass-java.lang.Class-">
1538<!--   -->
1539</a>
1540<ul class="blockList">
1541<li class="blockList">
1542<h4>getGenericSuperclass</h4>
1543<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;getGenericSuperclass(<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>&lt;?&gt;&nbsp;cls)</pre>
1544<dl>
1545<dt><span class="simpleTagLabel">Since:</span></dt>
1546<dd>2.7</dd>
1547</dl>
1548</li>
1549</ul>
1550<a name="getGenericInterfaces-java.lang.Class-">
1551<!--   -->
1552</a>
1553<ul class="blockList">
1554<li class="blockList">
1555<h4>getGenericInterfaces</h4>
1556<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>[]&nbsp;getGenericInterfaces(<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>&lt;?&gt;&nbsp;cls)</pre>
1557<dl>
1558<dt><span class="simpleTagLabel">Since:</span></dt>
1559<dd>2.7</dd>
1560</dl>
1561</li>
1562</ul>
1563<a name="getEnclosingClass-java.lang.Class-">
1564<!--   -->
1565</a>
1566<ul class="blockListLast">
1567<li class="blockList">
1568<h4>getEnclosingClass</h4>
1569<pre>public static&nbsp;<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>&lt;?&gt;&nbsp;getEnclosingClass(<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>&lt;?&gt;&nbsp;cls)</pre>
1570<dl>
1571<dt><span class="simpleTagLabel">Since:</span></dt>
1572<dd>2.7</dd>
1573</dl>
1574</li>
1575</ul>
1576</li>
1577</ul>
1578</li>
1579</ul>
1580</div>
1581</div>
1582<!-- ========= END OF CLASS DATA ========= -->
1583<!-- ======= START OF BOTTOM NAVBAR ====== -->
1584<div class="bottomNav"><a name="navbar.bottom">
1585<!--   -->
1586</a>
1587<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
1588<a name="navbar.bottom.firstrow">
1589<!--   -->
1590</a>
1591<ul class="navList" title="Navigation">
1592<li><a href="../../../../../overview-summary.html">Overview</a></li>
1593<li><a href="package-summary.html">Package</a></li>
1594<li class="navBarCell1Rev">Class</li>
1595<li><a href="class-use/ClassUtil.html">Use</a></li>
1596<li><a href="package-tree.html">Tree</a></li>
1597<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
1598<li><a href="../../../../../index-all.html">Index</a></li>
1599<li><a href="../../../../../help-doc.html">Help</a></li>
1600</ul>
1601</div>
1602<div class="subNav">
1603<ul class="navList">
1604<li><a href="../../../../../com/fasterxml/jackson/databind/util/ByteBufferBackedOutputStream.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
1605<li><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.Ctor.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
1606</ul>
1607<ul class="navList">
1608<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/ClassUtil.html" target="_top">Frames</a></li>
1609<li><a href="ClassUtil.html" target="_top">No&nbsp;Frames</a></li>
1610</ul>
1611<ul class="navList" id="allclasses_navbar_bottom">
1612<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
1613</ul>
1614<div>
1615<script type="text/javascript"><!--
1616  allClassesLink = document.getElementById("allclasses_navbar_bottom");
1617  if(window==top) {
1618    allClassesLink.style.display = "block";
1619  }
1620  else {
1621    allClassesLink.style.display = "none";
1622  }
1623  //-->
1624</script>
1625</div>
1626<div>
1627<ul class="subNavList">
1628<li>Summary:&nbsp;</li>
1629<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
1630<li>Field&nbsp;|&nbsp;</li>
1631<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
1632<li><a href="#method.summary">Method</a></li>
1633</ul>
1634<ul class="subNavList">
1635<li>Detail:&nbsp;</li>
1636<li>Field&nbsp;|&nbsp;</li>
1637<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
1638<li><a href="#method.detail">Method</a></li>
1639</ul>
1640</div>
1641<a name="skip.navbar.bottom">
1642<!--   -->
1643</a></div>
1644<!-- ======== END OF BOTTOM NAVBAR ======= -->
1645<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
1646</body>
1647</html>
1648