• 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 (version 1.7.0_79) on Fri Jan 15 20:28:44 PST 2016 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>ClassUtil (jackson-databind 2.7.0 API)</title>
8<meta name="date" content="2016-01-15">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10</head>
11<body>
12<script type="text/javascript"><!--
13    if (location.href.indexOf('is-external=true') == -1) {
14        parent.document.title="ClassUtil (jackson-databind 2.7.0 API)";
15    }
16//-->
17</script>
18<noscript>
19<div>JavaScript is disabled on your browser.</div>
20</noscript>
21<!-- ========= START OF TOP NAVBAR ======= -->
22<div class="topNav"><a name="navbar_top">
23<!--   -->
24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
25<!--   -->
26</a>
27<ul class="navList" title="Navigation">
28<li><a href="../../../../../overview-summary.html">Overview</a></li>
29<li><a href="package-summary.html">Package</a></li>
30<li class="navBarCell1Rev">Class</li>
31<li><a href="class-use/ClassUtil.html">Use</a></li>
32<li><a href="package-tree.html">Tree</a></li>
33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
34<li><a href="../../../../../index-all.html">Index</a></li>
35<li><a href="../../../../../help-doc.html">Help</a></li>
36</ul>
37</div>
38<div class="subNav">
39<ul class="navList">
40<li><a href="../../../../../com/fasterxml/jackson/databind/util/ByteBufferBackedOutputStream.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Prev Class</span></a></li>
41<li><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.Ctor.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li>
42</ul>
43<ul class="navList">
44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/ClassUtil.html" target="_top">Frames</a></li>
45<li><a href="ClassUtil.html" target="_top">No Frames</a></li>
46</ul>
47<ul class="navList" id="allclasses_navbar_top">
48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
49</ul>
50<div>
51<script type="text/javascript"><!--
52  allClassesLink = document.getElementById("allclasses_navbar_top");
53  if(window==top) {
54    allClassesLink.style.display = "block";
55  }
56  else {
57    allClassesLink.style.display = "none";
58  }
59  //-->
60</script>
61</div>
62<div>
63<ul class="subNavList">
64<li>Summary:&nbsp;</li>
65<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
66<li>Field&nbsp;|&nbsp;</li>
67<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
68<li><a href="#method_summary">Method</a></li>
69</ul>
70<ul class="subNavList">
71<li>Detail:&nbsp;</li>
72<li>Field&nbsp;|&nbsp;</li>
73<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
74<li><a href="#method_detail">Method</a></li>
75</ul>
76</div>
77<a name="skip-navbar_top">
78<!--   -->
79</a></div>
80<!-- ========= END OF TOP NAVBAR ========= -->
81<!-- ======== START OF CLASS DATA ======== -->
82<div class="header">
83<div class="subTitle">com.fasterxml.jackson.databind.util</div>
84<h2 title="Class ClassUtil" class="title">Class ClassUtil</h2>
85</div>
86<div class="contentContainer">
87<ul class="inheritance">
88<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>
89<li>
90<ul class="inheritance">
91<li>com.fasterxml.jackson.databind.util.ClassUtil</li>
92</ul>
93</li>
94</ul>
95<div class="description">
96<ul class="blockList">
97<li class="blockList">
98<hr>
99<br>
100<pre>public final class <span class="strong">ClassUtil</span>
101extends <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>
102</li>
103</ul>
104</div>
105<div class="summary">
106<ul class="blockList">
107<li class="blockList">
108<!-- ======== NESTED CLASS SUMMARY ======== -->
109<ul class="blockList">
110<li class="blockList"><a name="nested_class_summary">
111<!--   -->
112</a>
113<h3>Nested Class Summary</h3>
114<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
115<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
116<tr>
117<th class="colFirst" scope="col">Modifier and Type</th>
118<th class="colLast" scope="col">Class and Description</th>
119</tr>
120<tr class="altColor">
121<td class="colFirst"><code>static class&nbsp;</code></td>
122<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.Ctor.html" title="class in com.fasterxml.jackson.databind.util">ClassUtil.Ctor</a></strong></code>
123<div class="block">Value class used for caching Constructor declarations; used because
124 caching done by JDK appears to be somewhat inefficient for some use cases.</div>
125</td>
126</tr>
127</table>
128</li>
129</ul>
130<!-- ======== CONSTRUCTOR SUMMARY ======== -->
131<ul class="blockList">
132<li class="blockList"><a name="constructor_summary">
133<!--   -->
134</a>
135<h3>Constructor Summary</h3>
136<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
137<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
138<tr>
139<th class="colOne" scope="col">Constructor and Description</th>
140</tr>
141<tr class="altColor">
142<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#ClassUtil()">ClassUtil</a></strong>()</code>&nbsp;</td>
143</tr>
144</table>
145</li>
146</ul>
147<!-- ========== METHOD SUMMARY =========== -->
148<ul class="blockList">
149<li class="blockList"><a name="method_summary">
150<!--   -->
151</a>
152<h3>Method Summary</h3>
153<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
154<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
155<tr>
156<th class="colFirst" scope="col">Modifier and Type</th>
157<th class="colLast" scope="col">Method and Description</th>
158</tr>
159<tr class="altColor">
160<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>
161<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#canBeABeanType(java.lang.Class)">canBeABeanType</a></strong>(<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>
162</tr>
163<tr class="rowColor">
164<td class="colFirst"><code>static void</code></td>
165<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#checkAndFixAccess(java.lang.reflect.Member)">checkAndFixAccess</a></strong>(<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>
166<div class="block"><strong>Deprecated.</strong>&nbsp;
167<div class="block"><i>Since 2.7 call variant that takes boolean flag.</i></div>
168</div>
169</td>
170</tr>
171<tr class="altColor">
172<td class="colFirst"><code>static void</code></td>
173<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#checkAndFixAccess(java.lang.reflect.Member,%20boolean)">checkAndFixAccess</a></strong>(<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,
174                 boolean&nbsp;force)</code>
175<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,
176 to force a field, method or constructor to be accessible: this
177 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>
178</td>
179</tr>
180<tr class="rowColor">
181<td class="colFirst"><code>static &lt;T&gt;&nbsp;T</code></td>
182<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#createInstance(java.lang.Class,%20boolean)">createInstance</a></strong>(<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,
183              boolean&nbsp;canFixAccess)</code>
184<div class="block">Method that can be called to try to create an instantiate of
185 specified type.</div>
186</td>
187</tr>
188<tr class="altColor">
189<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>
190<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#defaultValue(java.lang.Class)">defaultValue</a></strong>(<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>
191<div class="block">Helper method used to get default value for wrappers used for primitive types
192 (0 for Integer etc)</div>
193</td>
194</tr>
195<tr class="rowColor">
196<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>
197<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#emptyIterator()">emptyIterator</a></strong>()</code>&nbsp;</td>
198</tr>
199<tr class="altColor">
200<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>
201<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findClass(java.lang.String)">findClass</a></strong>(<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;className)</code>
202<div class="block"><strong>Deprecated.</strong>&nbsp;
203<div class="block"><i>Since 2.6, use method in <a href="../../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type"><code>TypeFactory</code></a>.</i></div>
204</div>
205</td>
206</tr>
207<tr class="rowColor">
208<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>
209<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findClassAnnotations(java.lang.Class)">findClassAnnotations</a></strong>(<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>
210</tr>
211<tr class="altColor">
212<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>
213<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findConstructor(java.lang.Class,%20boolean)">findConstructor</a></strong>(<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,
214               boolean&nbsp;canFixAccess)</code>&nbsp;</td>
215</tr>
216<tr class="rowColor">
217<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>
218<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findEnumType(java.lang.Class)">findEnumType</a></strong>(<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>
219<div class="block">Helper method that can be used to dynamically figure out formal
220 enumeration type (class) for given class of an enumeration value.</div>
221</td>
222</tr>
223<tr class="altColor">
224<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>
225<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findEnumType(java.lang.Enum)">findEnumType</a></strong>(<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>
226<div class="block">Helper method that can be used to dynamically figure out formal
227 enumeration type (class) for given enumeration.</div>
228</td>
229</tr>
230<tr class="rowColor">
231<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>
232<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findEnumType(java.util.EnumMap)">findEnumType</a></strong>(<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>
233<div class="block">Helper method that can be used to dynamically figure out
234 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
235 access to its declaration.</div>
236</td>
237</tr>
238<tr class="altColor">
239<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>
240<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findEnumType(java.util.EnumSet)">findEnumType</a></strong>(<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>
241<div class="block">Helper method that can be used to dynamically figure out
242 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
243 access to its declaration.</div>
244</td>
245</tr>
246<tr class="rowColor">
247<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>
248<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findRawSuperTypes(java.lang.Class,%20java.lang.Class,%20boolean)">findRawSuperTypes</a></strong>(<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,
249                 <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,
250                 boolean&nbsp;addClassItself)</code>&nbsp;</td>
251</tr>
252<tr class="altColor">
253<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>
254<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findSuperClasses(java.lang.Class,%20java.lang.Class,%20boolean)">findSuperClasses</a></strong>(<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,
255                <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,
256                boolean&nbsp;addClassItself)</code>
257<div class="block">Method for finding all super classes (but not super interfaces) of given class,
258 starting with the immediate super class and ending in the most distant one.</div>
259</td>
260</tr>
261<tr class="rowColor">
262<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>
263<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findSuperTypes(java.lang.Class,%20java.lang.Class)">findSuperTypes</a></strong>(<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,
264              <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>
265<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
266</td>
267</tr>
268<tr class="altColor">
269<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>
270<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findSuperTypes(java.lang.Class,%20java.lang.Class,%20java.util.List)">findSuperTypes</a></strong>(<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,
271              <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,
272              <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>
273<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
274</td>
275</tr>
276<tr class="rowColor">
277<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>
278<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findSuperTypes(com.fasterxml.jackson.databind.JavaType,%20java.lang.Class,%20boolean)">findSuperTypes</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
279              <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,
280              boolean&nbsp;addClassItself)</code>
281<div class="block">Method that will find all sub-classes and implemented interfaces
282 of a given class or interface.</div>
283</td>
284</tr>
285<tr class="altColor">
286<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>
287<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getClassDescription(java.lang.Object)">getClassDescription</a></strong>(<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>
288<div class="block">Helper method used to construct appropriate description
289 when passed either type (Class) or an instance; in latter
290 case, class of instance is to be used.</div>
291</td>
292</tr>
293<tr class="rowColor">
294<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>
295<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getConstructors(java.lang.Class)">getConstructors</a></strong>(<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>
296</tr>
297<tr class="altColor">
298<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>
299<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getDeclaredFields(java.lang.Class)">getDeclaredFields</a></strong>(<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>
300</tr>
301<tr class="rowColor">
302<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>
303<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getDeclaredMethods(java.lang.Class)">getDeclaredMethods</a></strong>(<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>
304</tr>
305<tr class="altColor">
306<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>
307<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getDeclaringClass(java.lang.Class)">getDeclaringClass</a></strong>(<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>
308</tr>
309<tr class="rowColor">
310<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>
311<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getEnclosingClass(java.lang.Class)">getEnclosingClass</a></strong>(<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>
312</tr>
313<tr class="altColor">
314<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>
315<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getGenericInterfaces(java.lang.Class)">getGenericInterfaces</a></strong>(<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>
316</tr>
317<tr class="rowColor">
318<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>
319<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getGenericSuperclass(java.lang.Class)">getGenericSuperclass</a></strong>(<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>
320</tr>
321<tr class="altColor">
322<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>
323<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getOuterClass(java.lang.Class)">getOuterClass</a></strong>(<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>
324<div class="block">Method for finding enclosing class for non-static inner classes</div>
325</td>
326</tr>
327<tr class="rowColor">
328<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>
329<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getPackageName(java.lang.Class)">getPackageName</a></strong>(<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>
330</tr>
331<tr class="altColor">
332<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>
333<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#getRootCause(java.lang.Throwable)">getRootCause</a></strong>(<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>
334<div class="block">Method that can be used to find the "root cause", innermost
335 of chained (wrapped) exceptions.</div>
336</td>
337</tr>
338<tr class="rowColor">
339<td class="colFirst"><code>static boolean</code></td>
340<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#hasEnclosingMethod(java.lang.Class)">hasEnclosingMethod</a></strong>(<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>
341</tr>
342<tr class="altColor">
343<td class="colFirst"><code>static boolean</code></td>
344<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#hasGetterSignature(java.lang.reflect.Method)">hasGetterSignature</a></strong>(<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>
345<div class="block"><strong>Deprecated.</strong>&nbsp;
346<div class="block"><i>Since 2.6 not used; may be removed before 3.x</i></div>
347</div>
348</td>
349</tr>
350<tr class="rowColor">
351<td class="colFirst"><code>static boolean</code></td>
352<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isBogusClass(java.lang.Class)">isBogusClass</a></strong>(<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 class="altColor">
355<td class="colFirst"><code>static boolean</code></td>
356<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isCollectionMapOrArray(java.lang.Class)">isCollectionMapOrArray</a></strong>(<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>
357</tr>
358<tr class="rowColor">
359<td class="colFirst"><code>static boolean</code></td>
360<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isConcrete(java.lang.Class)">isConcrete</a></strong>(<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>
361<div class="block">Helper method that checks if given class is a concrete one;
362 that is, not an interface or abstract class.</div>
363</td>
364</tr>
365<tr class="altColor">
366<td class="colFirst"><code>static boolean</code></td>
367<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isConcrete(java.lang.reflect.Member)">isConcrete</a></strong>(<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>
368</tr>
369<tr class="rowColor">
370<td class="colFirst"><code>static boolean</code></td>
371<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isJacksonStdImpl(java.lang.Class)">isJacksonStdImpl</a></strong>(<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>
372</tr>
373<tr class="altColor">
374<td class="colFirst"><code>static boolean</code></td>
375<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isJacksonStdImpl(java.lang.Object)">isJacksonStdImpl</a></strong>(<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>
376<div class="block">Method that can be called to determine if given Object is the default
377 implementation Jackson uses; as opposed to a custom serializer installed by
378 a module or calling application.</div>
379</td>
380</tr>
381<tr class="rowColor">
382<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>
383<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isLocalType(java.lang.Class,%20boolean)">isLocalType</a></strong>(<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,
384           boolean&nbsp;allowNonStatic)</code>&nbsp;</td>
385</tr>
386<tr class="altColor">
387<td class="colFirst"><code>static boolean</code></td>
388<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isNonStaticInnerClass(java.lang.Class)">isNonStaticInnerClass</a></strong>(<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>
389</tr>
390<tr class="rowColor">
391<td class="colFirst"><code>static boolean</code></td>
392<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isObjectOrPrimitive(java.lang.Class)">isObjectOrPrimitive</a></strong>(<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>
393</tr>
394<tr class="altColor">
395<td class="colFirst"><code>static boolean</code></td>
396<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#isProxyType(java.lang.Class)">isProxyType</a></strong>(<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>
397<div class="block">Helper method used to weed out dynamic Proxy types; types that do
398 not expose concrete method API that we could use to figure out
399 automatic Bean (property) based serialization.</div>
400</td>
401</tr>
402<tr class="rowColor">
403<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>
404<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#primitiveType(java.lang.Class)">primitiveType</a></strong>(<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>
405<div class="block">Method that can be used to find primitive type for given class if (but only if)
406 it is either wrapper type or primitive type; returns `null` if type is neither.</div>
407</td>
408</tr>
409<tr class="altColor">
410<td class="colFirst"><code>static void</code></td>
411<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#throwAsIAE(java.lang.Throwable)">throwAsIAE</a></strong>(<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>
412<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
413 is a checked exception; otherwise (runtime exception or error) throw as is</div>
414</td>
415</tr>
416<tr class="rowColor">
417<td class="colFirst"><code>static void</code></td>
418<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#throwAsIAE(java.lang.Throwable,%20java.lang.String)">throwAsIAE</a></strong>(<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,
419          <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>
420<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
421 specified message) if it
422 is a checked exception; otherwise (runtime exception or error) throw as is</div>
423</td>
424</tr>
425<tr class="altColor">
426<td class="colFirst"><code>static void</code></td>
427<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#throwRootCause(java.lang.Throwable)">throwRootCause</a></strong>(<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>
428<div class="block">Method that will unwrap root causes of given Throwable, and throw
429 the innermost <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><code>Exception</code></a> or <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> as is.</div>
430</td>
431</tr>
432<tr class="rowColor">
433<td class="colFirst"><code>static void</code></td>
434<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#unwrapAndThrowAsIAE(java.lang.Throwable)">unwrapAndThrowAsIAE</a></strong>(<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>
435<div class="block">Method that will locate the innermost exception for given Throwable;
436 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
437 is a checked exception; otherwise (runtime exception or error) throw as is</div>
438</td>
439</tr>
440<tr class="altColor">
441<td class="colFirst"><code>static void</code></td>
442<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#unwrapAndThrowAsIAE(java.lang.Throwable,%20java.lang.String)">unwrapAndThrowAsIAE</a></strong>(<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,
443                   <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>
444<div class="block">Method that will locate the innermost exception for given Throwable;
445 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
446 is a checked exception; otherwise (runtime exception or error) throw as is</div>
447</td>
448</tr>
449<tr class="rowColor">
450<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>
451<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#wrapperType(java.lang.Class)">wrapperType</a></strong>(<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>
452<div class="block">Helper method for finding wrapper type for given primitive type (why isn't
453 there one in JDK?)</div>
454</td>
455</tr>
456</table>
457<ul class="blockList">
458<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
459<!--   -->
460</a>
461<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>
462<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,%20int)" title="class or interface in java.lang">wait</a></code></li>
463</ul>
464</li>
465</ul>
466</li>
467</ul>
468</div>
469<div class="details">
470<ul class="blockList">
471<li class="blockList">
472<!-- ========= CONSTRUCTOR DETAIL ======== -->
473<ul class="blockList">
474<li class="blockList"><a name="constructor_detail">
475<!--   -->
476</a>
477<h3>Constructor Detail</h3>
478<a name="ClassUtil()">
479<!--   -->
480</a>
481<ul class="blockListLast">
482<li class="blockList">
483<h4>ClassUtil</h4>
484<pre>public&nbsp;ClassUtil()</pre>
485</li>
486</ul>
487</li>
488</ul>
489<!-- ============ METHOD DETAIL ========== -->
490<ul class="blockList">
491<li class="blockList"><a name="method_detail">
492<!--   -->
493</a>
494<h3>Method Detail</h3>
495<a name="emptyIterator()">
496<!--   -->
497</a>
498<ul class="blockList">
499<li class="blockList">
500<h4>emptyIterator</h4>
501<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>
502<dl><dt><span class="strong">Since:</span></dt>
503  <dd>2.7</dd></dl>
504</li>
505</ul>
506<a name="findSuperTypes(com.fasterxml.jackson.databind.JavaType, java.lang.Class, boolean)">
507<!--   -->
508</a>
509<ul class="blockList">
510<li class="blockList">
511<h4>findSuperTypes</h4>
512<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,
513                            <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,
514                            boolean&nbsp;addClassItself)</pre>
515<div class="block">Method that will find all sub-classes and implemented interfaces
516 of a given class or interface. Classes are listed in order of
517 precedence, starting with the immediate super-class, followed by
518 interfaces class directly declares to implemented, and then recursively
519 followed by parent of super-class and so forth.
520 Note that <code>Object.class</code> is not included in the list
521 regardless of whether <code>endBefore</code> argument is defined or not.</div>
522<dl><dt><span class="strong">Parameters:</span></dt><dd><code>endBefore</code> - Super-type to NOT include in results, if any; when
523    encountered, will be ignored (and no super types are checked).</dd><dt><span class="strong">Since:</span></dt>
524  <dd>2.7</dd></dl>
525</li>
526</ul>
527<a name="findRawSuperTypes(java.lang.Class, java.lang.Class, boolean)">
528<!--   -->
529</a>
530<ul class="blockList">
531<li class="blockList">
532<h4>findRawSuperTypes</h4>
533<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,
534                               <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,
535                               boolean&nbsp;addClassItself)</pre>
536<dl><dt><span class="strong">Since:</span></dt>
537  <dd>2.7</dd></dl>
538</li>
539</ul>
540<a name="findSuperClasses(java.lang.Class, java.lang.Class, boolean)">
541<!--   -->
542</a>
543<ul class="blockList">
544<li class="blockList">
545<h4>findSuperClasses</h4>
546<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,
547                              <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,
548                              boolean&nbsp;addClassItself)</pre>
549<div class="block">Method for finding all super classes (but not super interfaces) of given class,
550 starting with the immediate super class and ending in the most distant one.
551 Class itself is included if <code>addClassItself</code> is true.</div>
552<dl><dt><span class="strong">Since:</span></dt>
553  <dd>2.7</dd></dl>
554</li>
555</ul>
556<a name="findSuperTypes(java.lang.Class, java.lang.Class)">
557<!--   -->
558</a>
559<ul class="blockList">
560<li class="blockList">
561<h4>findSuperTypes</h4>
562<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>
563public 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,
564                                       <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>
565<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
566</li>
567</ul>
568<a name="findSuperTypes(java.lang.Class, java.lang.Class, java.util.List)">
569<!--   -->
570</a>
571<ul class="blockList">
572<li class="blockList">
573<h4>findSuperTypes</h4>
574<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>
575public 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,
576                                       <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,
577                                       <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>
578<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
579</li>
580</ul>
581<a name="canBeABeanType(java.lang.Class)">
582<!--   -->
583</a>
584<ul class="blockList">
585<li class="blockList">
586<h4>canBeABeanType</h4>
587<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>
588<dl><dt><span class="strong">Returns:</span></dt><dd>Null if class might be a bean; type String (that identifies
589   why it's not a bean) if not</dd></dl>
590</li>
591</ul>
592<a name="isLocalType(java.lang.Class, boolean)">
593<!--   -->
594</a>
595<ul class="blockList">
596<li class="blockList">
597<h4>isLocalType</h4>
598<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,
599                 boolean&nbsp;allowNonStatic)</pre>
600</li>
601</ul>
602<a name="getOuterClass(java.lang.Class)">
603<!--   -->
604</a>
605<ul class="blockList">
606<li class="blockList">
607<h4>getOuterClass</h4>
608<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>
609<div class="block">Method for finding enclosing class for non-static inner classes</div>
610</li>
611</ul>
612<a name="isProxyType(java.lang.Class)">
613<!--   -->
614</a>
615<ul class="blockList">
616<li class="blockList">
617<h4>isProxyType</h4>
618<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>
619<div class="block">Helper method used to weed out dynamic Proxy types; types that do
620 not expose concrete method API that we could use to figure out
621 automatic Bean (property) based serialization.</div>
622</li>
623</ul>
624<a name="isConcrete(java.lang.Class)">
625<!--   -->
626</a>
627<ul class="blockList">
628<li class="blockList">
629<h4>isConcrete</h4>
630<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>
631<div class="block">Helper method that checks if given class is a concrete one;
632 that is, not an interface or abstract class.</div>
633</li>
634</ul>
635<a name="isConcrete(java.lang.reflect.Member)">
636<!--   -->
637</a>
638<ul class="blockList">
639<li class="blockList">
640<h4>isConcrete</h4>
641<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>
642</li>
643</ul>
644<a name="isCollectionMapOrArray(java.lang.Class)">
645<!--   -->
646</a>
647<ul class="blockList">
648<li class="blockList">
649<h4>isCollectionMapOrArray</h4>
650<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>
651</li>
652</ul>
653<a name="getClassDescription(java.lang.Object)">
654<!--   -->
655</a>
656<ul class="blockList">
657<li class="blockList">
658<h4>getClassDescription</h4>
659<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>
660<div class="block">Helper method used to construct appropriate description
661 when passed either type (Class) or an instance; in latter
662 case, class of instance is to be used.</div>
663</li>
664</ul>
665<a name="findClass(java.lang.String)">
666<!--   -->
667</a>
668<ul class="blockList">
669<li class="blockList">
670<h4>findClass</h4>
671<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>
672public 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;findClass(<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;className)
673                          throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre>
674<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Since 2.6, use method in <a href="../../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type"><code>TypeFactory</code></a>.</i></div>
675<dl><dt><span class="strong">Throws:</span></dt>
676<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code></dd></dl>
677</li>
678</ul>
679<a name="getPackageName(java.lang.Class)">
680<!--   -->
681</a>
682<ul class="blockList">
683<li class="blockList">
684<h4>getPackageName</h4>
685<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>
686<dl><dt><span class="strong">Since:</span></dt>
687  <dd>2.7</dd></dl>
688</li>
689</ul>
690<a name="hasEnclosingMethod(java.lang.Class)">
691<!--   -->
692</a>
693<ul class="blockList">
694<li class="blockList">
695<h4>hasEnclosingMethod</h4>
696<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>
697<dl><dt><span class="strong">Since:</span></dt>
698  <dd>2.7</dd></dl>
699</li>
700</ul>
701<a name="getDeclaredFields(java.lang.Class)">
702<!--   -->
703</a>
704<ul class="blockList">
705<li class="blockList">
706<h4>getDeclaredFields</h4>
707<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>
708<dl><dt><span class="strong">Since:</span></dt>
709  <dd>2.7</dd></dl>
710</li>
711</ul>
712<a name="getDeclaredMethods(java.lang.Class)">
713<!--   -->
714</a>
715<ul class="blockList">
716<li class="blockList">
717<h4>getDeclaredMethods</h4>
718<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>
719<dl><dt><span class="strong">Since:</span></dt>
720  <dd>2.7</dd></dl>
721</li>
722</ul>
723<a name="findClassAnnotations(java.lang.Class)">
724<!--   -->
725</a>
726<ul class="blockList">
727<li class="blockList">
728<h4>findClassAnnotations</h4>
729<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>
730<dl><dt><span class="strong">Since:</span></dt>
731  <dd>2.7</dd></dl>
732</li>
733</ul>
734<a name="getConstructors(java.lang.Class)">
735<!--   -->
736</a>
737<ul class="blockList">
738<li class="blockList">
739<h4>getConstructors</h4>
740<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>
741<dl><dt><span class="strong">Since:</span></dt>
742  <dd>2.7</dd></dl>
743</li>
744</ul>
745<a name="getDeclaringClass(java.lang.Class)">
746<!--   -->
747</a>
748<ul class="blockList">
749<li class="blockList">
750<h4>getDeclaringClass</h4>
751<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>
752<dl><dt><span class="strong">Since:</span></dt>
753  <dd>2.7</dd></dl>
754</li>
755</ul>
756<a name="getGenericSuperclass(java.lang.Class)">
757<!--   -->
758</a>
759<ul class="blockList">
760<li class="blockList">
761<h4>getGenericSuperclass</h4>
762<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>
763<dl><dt><span class="strong">Since:</span></dt>
764  <dd>2.7</dd></dl>
765</li>
766</ul>
767<a name="getGenericInterfaces(java.lang.Class)">
768<!--   -->
769</a>
770<ul class="blockList">
771<li class="blockList">
772<h4>getGenericInterfaces</h4>
773<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>
774<dl><dt><span class="strong">Since:</span></dt>
775  <dd>2.7</dd></dl>
776</li>
777</ul>
778<a name="getEnclosingClass(java.lang.Class)">
779<!--   -->
780</a>
781<ul class="blockList">
782<li class="blockList">
783<h4>getEnclosingClass</h4>
784<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>
785<dl><dt><span class="strong">Since:</span></dt>
786  <dd>2.7</dd></dl>
787</li>
788</ul>
789<a name="hasGetterSignature(java.lang.reflect.Method)">
790<!--   -->
791</a>
792<ul class="blockList">
793<li class="blockList">
794<h4>hasGetterSignature</h4>
795<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>
796public 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>
797<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Since 2.6 not used; may be removed before 3.x</i></div>
798</li>
799</ul>
800<a name="getRootCause(java.lang.Throwable)">
801<!--   -->
802</a>
803<ul class="blockList">
804<li class="blockList">
805<h4>getRootCause</h4>
806<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>
807<div class="block">Method that can be used to find the "root cause", innermost
808 of chained (wrapped) exceptions.</div>
809</li>
810</ul>
811<a name="throwRootCause(java.lang.Throwable)">
812<!--   -->
813</a>
814<ul class="blockList">
815<li class="blockList">
816<h4>throwRootCause</h4>
817<pre>public static&nbsp;void&nbsp;throwRootCause(<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)
818                           throws <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></pre>
819<div class="block">Method that will unwrap root causes of given Throwable, and throw
820 the innermost <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><code>Exception</code></a> or <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> as is.
821 This is useful in cases where mandatory wrapping is added, which
822 is often done by Reflection API.</div>
823<dl><dt><span class="strong">Throws:</span></dt>
824<dd><code><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></code></dd></dl>
825</li>
826</ul>
827<a name="throwAsIAE(java.lang.Throwable)">
828<!--   -->
829</a>
830<ul class="blockList">
831<li class="blockList">
832<h4>throwAsIAE</h4>
833<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>
834<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
835 is a checked exception; otherwise (runtime exception or error) throw as is</div>
836</li>
837</ul>
838<a name="throwAsIAE(java.lang.Throwable, java.lang.String)">
839<!--   -->
840</a>
841<ul class="blockList">
842<li class="blockList">
843<h4>throwAsIAE</h4>
844<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,
845              <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>
846<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
847 specified message) if it
848 is a checked exception; otherwise (runtime exception or error) throw as is</div>
849</li>
850</ul>
851<a name="unwrapAndThrowAsIAE(java.lang.Throwable)">
852<!--   -->
853</a>
854<ul class="blockList">
855<li class="blockList">
856<h4>unwrapAndThrowAsIAE</h4>
857<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>
858<div class="block">Method that will locate the innermost exception for given Throwable;
859 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
860 is a checked exception; otherwise (runtime exception or error) throw as is</div>
861</li>
862</ul>
863<a name="unwrapAndThrowAsIAE(java.lang.Throwable, java.lang.String)">
864<!--   -->
865</a>
866<ul class="blockList">
867<li class="blockList">
868<h4>unwrapAndThrowAsIAE</h4>
869<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,
870                       <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>
871<div class="block">Method that will locate the innermost exception for given Throwable;
872 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
873 is a checked exception; otherwise (runtime exception or error) throw as is</div>
874</li>
875</ul>
876<a name="createInstance(java.lang.Class, boolean)">
877<!--   -->
878</a>
879<ul class="blockList">
880<li class="blockList">
881<h4>createInstance</h4>
882<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,
883                   boolean&nbsp;canFixAccess)
884                        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>
885<div class="block">Method that can be called to try to create an instantiate of
886 specified type. Instantiation is done using default no-argument
887 constructor.</div>
888<dl><dt><span class="strong">Parameters:</span></dt><dd><code>canFixAccess</code> - Whether it is possible to try to change access
889   rights of the default constructor (in case it is not publicly
890   accessible) or not.</dd>
891<dt><span class="strong">Throws:</span></dt>
892<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;
893    except for cases where constructor throws an unchecked exception
894    (which will be passed as is)</dd></dl>
895</li>
896</ul>
897<a name="findConstructor(java.lang.Class, boolean)">
898<!--   -->
899</a>
900<ul class="blockList">
901<li class="blockList">
902<h4>findConstructor</h4>
903<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,
904                                 boolean&nbsp;canFixAccess)
905                                      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>
906<dl><dt><span class="strong">Throws:</span></dt>
907<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></dl>
908</li>
909</ul>
910<a name="defaultValue(java.lang.Class)">
911<!--   -->
912</a>
913<ul class="blockList">
914<li class="blockList">
915<h4>defaultValue</h4>
916<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>
917<div class="block">Helper method used to get default value for wrappers used for primitive types
918 (0 for Integer etc)</div>
919</li>
920</ul>
921<a name="wrapperType(java.lang.Class)">
922<!--   -->
923</a>
924<ul class="blockList">
925<li class="blockList">
926<h4>wrapperType</h4>
927<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>
928<div class="block">Helper method for finding wrapper type for given primitive type (why isn't
929 there one in JDK?)</div>
930</li>
931</ul>
932<a name="primitiveType(java.lang.Class)">
933<!--   -->
934</a>
935<ul class="blockList">
936<li class="blockList">
937<h4>primitiveType</h4>
938<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>
939<div class="block">Method that can be used to find primitive type for given class if (but only if)
940 it is either wrapper type or primitive type; returns `null` if type is neither.</div>
941<dl><dt><span class="strong">Since:</span></dt>
942  <dd>2.7</dd></dl>
943</li>
944</ul>
945<a name="checkAndFixAccess(java.lang.reflect.Member)">
946<!--   -->
947</a>
948<ul class="blockList">
949<li class="blockList">
950<h4>checkAndFixAccess</h4>
951<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>
952public 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>
953<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Since 2.7 call variant that takes boolean flag.</i></div>
954<div class="block">Equivalent to call:
955<pre>
956   checkAndFixAccess(member, false);
957</pre></div>
958</li>
959</ul>
960<a name="checkAndFixAccess(java.lang.reflect.Member, boolean)">
961<!--   -->
962</a>
963<ul class="blockList">
964<li class="blockList">
965<h4>checkAndFixAccess</h4>
966<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,
967                     boolean&nbsp;force)</pre>
968<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,
969 to force a field, method or constructor to be accessible: this
970 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>
971<dl><dt><span class="strong">Parameters:</span></dt><dd><code>member</code> - Accessor to call <code>setAccessible()</code> on.</dd><dd><code>force</code> - Whether to always try to make accessor accessible (true),
972   or only if needed as per access rights (false)</dd><dt><span class="strong">Since:</span></dt>
973  <dd>2.7</dd></dl>
974</li>
975</ul>
976<a name="findEnumType(java.util.EnumSet)">
977<!--   -->
978</a>
979<ul class="blockList">
980<li class="blockList">
981<h4>findEnumType</h4>
982<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>
983<div class="block">Helper method that can be used to dynamically figure out
984 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
985 access to its declaration.
986 Code is needed to work around design flaw in JDK.</div>
987</li>
988</ul>
989<a name="findEnumType(java.util.EnumMap)">
990<!--   -->
991</a>
992<ul class="blockList">
993<li class="blockList">
994<h4>findEnumType</h4>
995<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>
996<div class="block">Helper method that can be used to dynamically figure out
997 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
998 access to its declaration.
999 Code is needed to work around design flaw in JDK.</div>
1000</li>
1001</ul>
1002<a name="findEnumType(java.lang.Enum)">
1003<!--   -->
1004</a>
1005<ul class="blockList">
1006<li class="blockList">
1007<h4>findEnumType</h4>
1008<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>
1009<div class="block">Helper method that can be used to dynamically figure out formal
1010 enumeration type (class) for given enumeration. This is either
1011 class of enum instance (for "simple" enumerations), or its
1012 superclass (for enums with instance fields or methods)</div>
1013</li>
1014</ul>
1015<a name="findEnumType(java.lang.Class)">
1016<!--   -->
1017</a>
1018<ul class="blockList">
1019<li class="blockList">
1020<h4>findEnumType</h4>
1021<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>
1022<div class="block">Helper method that can be used to dynamically figure out formal
1023 enumeration type (class) for given class of an enumeration value.
1024 This is either class of enum instance (for "simple" enumerations),
1025 or its superclass (for enums with instance fields or methods)</div>
1026</li>
1027</ul>
1028<a name="isJacksonStdImpl(java.lang.Object)">
1029<!--   -->
1030</a>
1031<ul class="blockList">
1032<li class="blockList">
1033<h4>isJacksonStdImpl</h4>
1034<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>
1035<div class="block">Method that can be called to determine if given Object is the default
1036 implementation Jackson uses; as opposed to a custom serializer installed by
1037 a module or calling application. Determination is done using
1038 <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)
1039 class.</div>
1040</li>
1041</ul>
1042<a name="isJacksonStdImpl(java.lang.Class)">
1043<!--   -->
1044</a>
1045<ul class="blockList">
1046<li class="blockList">
1047<h4>isJacksonStdImpl</h4>
1048<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>
1049</li>
1050</ul>
1051<a name="isBogusClass(java.lang.Class)">
1052<!--   -->
1053</a>
1054<ul class="blockList">
1055<li class="blockList">
1056<h4>isBogusClass</h4>
1057<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>
1058</li>
1059</ul>
1060<a name="isNonStaticInnerClass(java.lang.Class)">
1061<!--   -->
1062</a>
1063<ul class="blockList">
1064<li class="blockList">
1065<h4>isNonStaticInnerClass</h4>
1066<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>
1067</li>
1068</ul>
1069<a name="isObjectOrPrimitive(java.lang.Class)">
1070<!--   -->
1071</a>
1072<ul class="blockListLast">
1073<li class="blockList">
1074<h4>isObjectOrPrimitive</h4>
1075<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>
1076<dl><dt><span class="strong">Since:</span></dt>
1077  <dd>2.7</dd></dl>
1078</li>
1079</ul>
1080</li>
1081</ul>
1082</li>
1083</ul>
1084</div>
1085</div>
1086<!-- ========= END OF CLASS DATA ========= -->
1087<!-- ======= START OF BOTTOM NAVBAR ====== -->
1088<div class="bottomNav"><a name="navbar_bottom">
1089<!--   -->
1090</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
1091<!--   -->
1092</a>
1093<ul class="navList" title="Navigation">
1094<li><a href="../../../../../overview-summary.html">Overview</a></li>
1095<li><a href="package-summary.html">Package</a></li>
1096<li class="navBarCell1Rev">Class</li>
1097<li><a href="class-use/ClassUtil.html">Use</a></li>
1098<li><a href="package-tree.html">Tree</a></li>
1099<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
1100<li><a href="../../../../../index-all.html">Index</a></li>
1101<li><a href="../../../../../help-doc.html">Help</a></li>
1102</ul>
1103</div>
1104<div class="subNav">
1105<ul class="navList">
1106<li><a href="../../../../../com/fasterxml/jackson/databind/util/ByteBufferBackedOutputStream.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Prev Class</span></a></li>
1107<li><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.Ctor.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li>
1108</ul>
1109<ul class="navList">
1110<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/ClassUtil.html" target="_top">Frames</a></li>
1111<li><a href="ClassUtil.html" target="_top">No Frames</a></li>
1112</ul>
1113<ul class="navList" id="allclasses_navbar_bottom">
1114<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
1115</ul>
1116<div>
1117<script type="text/javascript"><!--
1118  allClassesLink = document.getElementById("allclasses_navbar_bottom");
1119  if(window==top) {
1120    allClassesLink.style.display = "block";
1121  }
1122  else {
1123    allClassesLink.style.display = "none";
1124  }
1125  //-->
1126</script>
1127</div>
1128<div>
1129<ul class="subNavList">
1130<li>Summary:&nbsp;</li>
1131<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
1132<li>Field&nbsp;|&nbsp;</li>
1133<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
1134<li><a href="#method_summary">Method</a></li>
1135</ul>
1136<ul class="subNavList">
1137<li>Detail:&nbsp;</li>
1138<li>Field&nbsp;|&nbsp;</li>
1139<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
1140<li><a href="#method_detail">Method</a></li>
1141</ul>
1142</div>
1143<a name="skip-navbar_bottom">
1144<!--   -->
1145</a></div>
1146<!-- ======== END OF BOTTOM NAVBAR ======= -->
1147<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
1148</body>
1149</html>
1150