• 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 Wed Jul 20 08:39:14 PDT 2016 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>ClassUtil (jackson-databind 2.8.0 API)</title>
8<meta name="date" content="2016-07-20">
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.8.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 void</code></td>
182<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#closeOnFailAndThrowAsIAE(com.fasterxml.jackson.core.JsonGenerator,%20java.io.Closeable,%20java.lang.Exception)">closeOnFailAndThrowAsIAE</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;g,
183                        <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,
184                        <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>
185<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>
186 in case of failure; useful mostly in forcing flush()ing as otherwise
187 error conditions tend to be hard to diagnose.</div>
188</td>
189</tr>
190<tr class="altColor">
191<td class="colFirst"><code>static void</code></td>
192<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#closeOnFailAndThrowAsIAE(com.fasterxml.jackson.core.JsonGenerator,%20java.lang.Exception)">closeOnFailAndThrowAsIAE</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;g,
193                        <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>
194<div class="block">Helper method that encapsulate logic in trying to close output generator
195 in case of failure; useful mostly in forcing flush()ing as otherwise
196 error conditions tend to be hard to diagnose.</div>
197</td>
198</tr>
199<tr class="rowColor">
200<td class="colFirst"><code>static &lt;T&gt;&nbsp;T</code></td>
201<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,
202              boolean&nbsp;canFixAccess)</code>
203<div class="block">Method that can be called to try to create an instantiate of
204 specified type.</div>
205</td>
206</tr>
207<tr class="altColor">
208<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>
209<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>
210<div class="block">Helper method used to get default value for wrappers used for primitive types
211 (0 for Integer etc)</div>
212</td>
213</tr>
214<tr class="rowColor">
215<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>
216<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#emptyIterator()">emptyIterator</a></strong>()</code>&nbsp;</td>
217</tr>
218<tr class="altColor">
219<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>
220<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>
221<div class="block"><strong>Deprecated.</strong>&nbsp;
222<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>
223</div>
224</td>
225</tr>
226<tr class="rowColor">
227<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>
228<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>
229</tr>
230<tr class="altColor">
231<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>
232<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,
233               boolean&nbsp;canFixAccess)</code>&nbsp;</td>
234</tr>
235<tr class="rowColor">
236<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>
237<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>
238<div class="block">Helper method that can be used to dynamically figure out formal
239 enumeration type (class) for given class of an enumeration value.</div>
240</td>
241</tr>
242<tr class="altColor">
243<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>
244<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>
245<div class="block">Helper method that can be used to dynamically figure out formal
246 enumeration type (class) for given enumeration.</div>
247</td>
248</tr>
249<tr class="rowColor">
250<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>
251<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>
252<div class="block">Helper method that can be used to dynamically figure out
253 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
254 access to its declaration.</div>
255</td>
256</tr>
257<tr class="altColor">
258<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>
259<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>
260<div class="block">Helper method that can be used to dynamically figure out
261 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
262 access to its declaration.</div>
263</td>
264</tr>
265<tr class="rowColor">
266<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;&nbsp;<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>
267<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#findFirstAnnotatedEnumValue(java.lang.Class,%20java.lang.Class)">findFirstAnnotatedEnumValue</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;<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,
268                           <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>
269<div class="block">A method that will look for the first Enum value annotated with the given Annotation.</div>
270</td>
271</tr>
272<tr class="altColor">
273<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>
274<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,
275                 <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,
276                 boolean&nbsp;addClassItself)</code>&nbsp;</td>
277</tr>
278<tr class="rowColor">
279<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>
280<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,
281                <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,
282                boolean&nbsp;addClassItself)</code>
283<div class="block">Method for finding all super classes (but not super interfaces) of given class,
284 starting with the immediate super class and ending in the most distant one.</div>
285</td>
286</tr>
287<tr class="altColor">
288<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>
289<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,
290              <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>
291<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
292</td>
293</tr>
294<tr class="rowColor">
295<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>
296<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,
297              <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,
298              <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>
299<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
300</td>
301</tr>
302<tr class="altColor">
303<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>
304<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,
305              <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,
306              boolean&nbsp;addClassItself)</code>
307<div class="block">Method that will find all sub-classes and implemented interfaces
308 of a given class or interface.</div>
309</td>
310</tr>
311<tr class="rowColor">
312<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>
313<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>
314<div class="block">Helper method used to construct appropriate description
315 when passed either type (Class) or an instance; in latter
316 case, class of instance is to be used.</div>
317</td>
318</tr>
319<tr class="altColor">
320<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>
321<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>
322</tr>
323<tr class="rowColor">
324<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>
325<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>
326</tr>
327<tr class="altColor">
328<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>
329<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>
330</tr>
331<tr class="rowColor">
332<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>
333<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>
334</tr>
335<tr class="altColor">
336<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>
337<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>
338</tr>
339<tr class="rowColor">
340<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>
341<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>
342</tr>
343<tr class="altColor">
344<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>
345<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>
346</tr>
347<tr class="rowColor">
348<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>
349<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>
350<div class="block">Method for finding enclosing class for non-static inner classes</div>
351</td>
352</tr>
353<tr class="altColor">
354<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>
355<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>
356</tr>
357<tr class="rowColor">
358<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>
359<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>
360<div class="block">Method that can be used to find the "root cause", innermost
361 of chained (wrapped) exceptions.</div>
362</td>
363</tr>
364<tr class="altColor">
365<td class="colFirst"><code>static boolean</code></td>
366<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>
367</tr>
368<tr class="rowColor">
369<td class="colFirst"><code>static boolean</code></td>
370<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>
371<div class="block"><strong>Deprecated.</strong>&nbsp;
372<div class="block"><i>Since 2.6 not used; may be removed before 3.x</i></div>
373</div>
374</td>
375</tr>
376<tr class="altColor">
377<td class="colFirst"><code>static boolean</code></td>
378<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>
379</tr>
380<tr class="rowColor">
381<td class="colFirst"><code>static boolean</code></td>
382<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>
383</tr>
384<tr class="altColor">
385<td class="colFirst"><code>static boolean</code></td>
386<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>
387<div class="block">Helper method that checks if given class is a concrete one;
388 that is, not an interface or abstract class.</div>
389</td>
390</tr>
391<tr class="rowColor">
392<td class="colFirst"><code>static boolean</code></td>
393<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>
394</tr>
395<tr class="altColor">
396<td class="colFirst"><code>static boolean</code></td>
397<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>
398</tr>
399<tr class="rowColor">
400<td class="colFirst"><code>static boolean</code></td>
401<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>
402<div class="block">Method that can be called to determine if given Object is the default
403 implementation Jackson uses; as opposed to a custom serializer installed by
404 a module or calling application.</div>
405</td>
406</tr>
407<tr class="altColor">
408<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>
409<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,
410           boolean&nbsp;allowNonStatic)</code>&nbsp;</td>
411</tr>
412<tr class="rowColor">
413<td class="colFirst"><code>static boolean</code></td>
414<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>
415</tr>
416<tr class="altColor">
417<td class="colFirst"><code>static boolean</code></td>
418<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>
419</tr>
420<tr class="rowColor">
421<td class="colFirst"><code>static boolean</code></td>
422<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>
423<div class="block">Helper method used to weed out dynamic Proxy types; types that do
424 not expose concrete method API that we could use to figure out
425 automatic Bean (property) based serialization.</div>
426</td>
427</tr>
428<tr class="altColor">
429<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>
430<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>
431<div class="block">Method that can be used to find primitive type for given class if (but only if)
432 it is either wrapper type or primitive type; returns `null` if type is neither.</div>
433</td>
434</tr>
435<tr class="rowColor">
436<td class="colFirst"><code>static void</code></td>
437<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>
438<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
439 is a checked exception; otherwise (runtime exception or error) throw as is</div>
440</td>
441</tr>
442<tr class="altColor">
443<td class="colFirst"><code>static void</code></td>
444<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,
445          <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>
446<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
447 specified message) if it
448 is a checked exception; otherwise (runtime exception or error) throw as is</div>
449</td>
450</tr>
451<tr class="rowColor">
452<td class="colFirst"><code>static void</code></td>
453<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>
454<div class="block">Method that will unwrap root causes of given Throwable, and throw
455 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>
456</td>
457</tr>
458<tr class="altColor">
459<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>
460<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#throwRootCauseIfIOE(java.lang.Throwable)">throwRootCauseIfIOE</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>
461<div class="block">Method that works like <a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#throwRootCause(java.lang.Throwable)"><code>throwRootCause(java.lang.Throwable)</code></a> if (and only if)
462 root cause 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>; otherwise returns root cause</div>
463</td>
464</tr>
465<tr class="rowColor">
466<td class="colFirst"><code>static void</code></td>
467<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>
468<div class="block">Method that will locate the innermost exception for given Throwable;
469 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
470 is a checked exception; otherwise (runtime exception or error) throw as is</div>
471</td>
472</tr>
473<tr class="altColor">
474<td class="colFirst"><code>static void</code></td>
475<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,
476                   <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>
477<div class="block">Method that will locate the innermost exception for given Throwable;
478 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
479 is a checked exception; otherwise (runtime exception or error) throw as is</div>
480</td>
481</tr>
482<tr class="rowColor">
483<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>
484<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>
485<div class="block">Helper method for finding wrapper type for given primitive type (why isn't
486 there one in JDK?)</div>
487</td>
488</tr>
489</table>
490<ul class="blockList">
491<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
492<!--   -->
493</a>
494<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>
495<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>
496</ul>
497</li>
498</ul>
499</li>
500</ul>
501</div>
502<div class="details">
503<ul class="blockList">
504<li class="blockList">
505<!-- ========= CONSTRUCTOR DETAIL ======== -->
506<ul class="blockList">
507<li class="blockList"><a name="constructor_detail">
508<!--   -->
509</a>
510<h3>Constructor Detail</h3>
511<a name="ClassUtil()">
512<!--   -->
513</a>
514<ul class="blockListLast">
515<li class="blockList">
516<h4>ClassUtil</h4>
517<pre>public&nbsp;ClassUtil()</pre>
518</li>
519</ul>
520</li>
521</ul>
522<!-- ============ METHOD DETAIL ========== -->
523<ul class="blockList">
524<li class="blockList"><a name="method_detail">
525<!--   -->
526</a>
527<h3>Method Detail</h3>
528<a name="emptyIterator()">
529<!--   -->
530</a>
531<ul class="blockList">
532<li class="blockList">
533<h4>emptyIterator</h4>
534<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>
535<dl><dt><span class="strong">Since:</span></dt>
536  <dd>2.7</dd></dl>
537</li>
538</ul>
539<a name="findSuperTypes(com.fasterxml.jackson.databind.JavaType, java.lang.Class, boolean)">
540<!--   -->
541</a>
542<ul class="blockList">
543<li class="blockList">
544<h4>findSuperTypes</h4>
545<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,
546                            <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,
547                            boolean&nbsp;addClassItself)</pre>
548<div class="block">Method that will find all sub-classes and implemented interfaces
549 of a given class or interface. Classes are listed in order of
550 precedence, starting with the immediate super-class, followed by
551 interfaces class directly declares to implemented, and then recursively
552 followed by parent of super-class and so forth.
553 Note that <code>Object.class</code> is not included in the list
554 regardless of whether <code>endBefore</code> argument is defined or not.</div>
555<dl><dt><span class="strong">Parameters:</span></dt><dd><code>endBefore</code> - Super-type to NOT include in results, if any; when
556    encountered, will be ignored (and no super types are checked).</dd><dt><span class="strong">Since:</span></dt>
557  <dd>2.7</dd></dl>
558</li>
559</ul>
560<a name="findRawSuperTypes(java.lang.Class, java.lang.Class, boolean)">
561<!--   -->
562</a>
563<ul class="blockList">
564<li class="blockList">
565<h4>findRawSuperTypes</h4>
566<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,
567                               <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,
568                               boolean&nbsp;addClassItself)</pre>
569<dl><dt><span class="strong">Since:</span></dt>
570  <dd>2.7</dd></dl>
571</li>
572</ul>
573<a name="findSuperClasses(java.lang.Class, java.lang.Class, boolean)">
574<!--   -->
575</a>
576<ul class="blockList">
577<li class="blockList">
578<h4>findSuperClasses</h4>
579<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,
580                              <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,
581                              boolean&nbsp;addClassItself)</pre>
582<div class="block">Method for finding all super classes (but not super interfaces) of given class,
583 starting with the immediate super class and ending in the most distant one.
584 Class itself is included if <code>addClassItself</code> is true.</div>
585<dl><dt><span class="strong">Since:</span></dt>
586  <dd>2.7</dd></dl>
587</li>
588</ul>
589<a name="findSuperTypes(java.lang.Class, java.lang.Class)">
590<!--   -->
591</a>
592<ul class="blockList">
593<li class="blockList">
594<h4>findSuperTypes</h4>
595<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>
596public 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,
597                                       <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>
598<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
599</li>
600</ul>
601<a name="findSuperTypes(java.lang.Class, java.lang.Class, java.util.List)">
602<!--   -->
603</a>
604<ul class="blockList">
605<li class="blockList">
606<h4>findSuperTypes</h4>
607<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>
608public 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,
609                                       <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,
610                                       <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>
611<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
612</li>
613</ul>
614<a name="canBeABeanType(java.lang.Class)">
615<!--   -->
616</a>
617<ul class="blockList">
618<li class="blockList">
619<h4>canBeABeanType</h4>
620<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>
621<dl><dt><span class="strong">Returns:</span></dt><dd>Null if class might be a bean; type String (that identifies
622   why it's not a bean) if not</dd></dl>
623</li>
624</ul>
625<a name="isLocalType(java.lang.Class, boolean)">
626<!--   -->
627</a>
628<ul class="blockList">
629<li class="blockList">
630<h4>isLocalType</h4>
631<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,
632                 boolean&nbsp;allowNonStatic)</pre>
633</li>
634</ul>
635<a name="getOuterClass(java.lang.Class)">
636<!--   -->
637</a>
638<ul class="blockList">
639<li class="blockList">
640<h4>getOuterClass</h4>
641<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>
642<div class="block">Method for finding enclosing class for non-static inner classes</div>
643</li>
644</ul>
645<a name="isProxyType(java.lang.Class)">
646<!--   -->
647</a>
648<ul class="blockList">
649<li class="blockList">
650<h4>isProxyType</h4>
651<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>
652<div class="block">Helper method used to weed out dynamic Proxy types; types that do
653 not expose concrete method API that we could use to figure out
654 automatic Bean (property) based serialization.</div>
655</li>
656</ul>
657<a name="isConcrete(java.lang.Class)">
658<!--   -->
659</a>
660<ul class="blockList">
661<li class="blockList">
662<h4>isConcrete</h4>
663<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>
664<div class="block">Helper method that checks if given class is a concrete one;
665 that is, not an interface or abstract class.</div>
666</li>
667</ul>
668<a name="isConcrete(java.lang.reflect.Member)">
669<!--   -->
670</a>
671<ul class="blockList">
672<li class="blockList">
673<h4>isConcrete</h4>
674<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>
675</li>
676</ul>
677<a name="isCollectionMapOrArray(java.lang.Class)">
678<!--   -->
679</a>
680<ul class="blockList">
681<li class="blockList">
682<h4>isCollectionMapOrArray</h4>
683<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>
684</li>
685</ul>
686<a name="getClassDescription(java.lang.Object)">
687<!--   -->
688</a>
689<ul class="blockList">
690<li class="blockList">
691<h4>getClassDescription</h4>
692<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>
693<div class="block">Helper method used to construct appropriate description
694 when passed either type (Class) or an instance; in latter
695 case, class of instance is to be used.</div>
696</li>
697</ul>
698<a name="findClass(java.lang.String)">
699<!--   -->
700</a>
701<ul class="blockList">
702<li class="blockList">
703<h4>findClass</h4>
704<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>
705public 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)
706                          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>
707<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>
708<dl><dt><span class="strong">Throws:</span></dt>
709<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>
710</li>
711</ul>
712<a name="getPackageName(java.lang.Class)">
713<!--   -->
714</a>
715<ul class="blockList">
716<li class="blockList">
717<h4>getPackageName</h4>
718<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>
719<dl><dt><span class="strong">Since:</span></dt>
720  <dd>2.7</dd></dl>
721</li>
722</ul>
723<a name="hasEnclosingMethod(java.lang.Class)">
724<!--   -->
725</a>
726<ul class="blockList">
727<li class="blockList">
728<h4>hasEnclosingMethod</h4>
729<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>
730<dl><dt><span class="strong">Since:</span></dt>
731  <dd>2.7</dd></dl>
732</li>
733</ul>
734<a name="getDeclaredFields(java.lang.Class)">
735<!--   -->
736</a>
737<ul class="blockList">
738<li class="blockList">
739<h4>getDeclaredFields</h4>
740<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>
741<dl><dt><span class="strong">Since:</span></dt>
742  <dd>2.7</dd></dl>
743</li>
744</ul>
745<a name="getDeclaredMethods(java.lang.Class)">
746<!--   -->
747</a>
748<ul class="blockList">
749<li class="blockList">
750<h4>getDeclaredMethods</h4>
751<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>
752<dl><dt><span class="strong">Since:</span></dt>
753  <dd>2.7</dd></dl>
754</li>
755</ul>
756<a name="findClassAnnotations(java.lang.Class)">
757<!--   -->
758</a>
759<ul class="blockList">
760<li class="blockList">
761<h4>findClassAnnotations</h4>
762<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>
763<dl><dt><span class="strong">Since:</span></dt>
764  <dd>2.7</dd></dl>
765</li>
766</ul>
767<a name="getConstructors(java.lang.Class)">
768<!--   -->
769</a>
770<ul class="blockList">
771<li class="blockList">
772<h4>getConstructors</h4>
773<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>
774<dl><dt><span class="strong">Since:</span></dt>
775  <dd>2.7</dd></dl>
776</li>
777</ul>
778<a name="getDeclaringClass(java.lang.Class)">
779<!--   -->
780</a>
781<ul class="blockList">
782<li class="blockList">
783<h4>getDeclaringClass</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;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>
785<dl><dt><span class="strong">Since:</span></dt>
786  <dd>2.7</dd></dl>
787</li>
788</ul>
789<a name="getGenericSuperclass(java.lang.Class)">
790<!--   -->
791</a>
792<ul class="blockList">
793<li class="blockList">
794<h4>getGenericSuperclass</h4>
795<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>
796<dl><dt><span class="strong">Since:</span></dt>
797  <dd>2.7</dd></dl>
798</li>
799</ul>
800<a name="getGenericInterfaces(java.lang.Class)">
801<!--   -->
802</a>
803<ul class="blockList">
804<li class="blockList">
805<h4>getGenericInterfaces</h4>
806<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>
807<dl><dt><span class="strong">Since:</span></dt>
808  <dd>2.7</dd></dl>
809</li>
810</ul>
811<a name="getEnclosingClass(java.lang.Class)">
812<!--   -->
813</a>
814<ul class="blockList">
815<li class="blockList">
816<h4>getEnclosingClass</h4>
817<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>
818<dl><dt><span class="strong">Since:</span></dt>
819  <dd>2.7</dd></dl>
820</li>
821</ul>
822<a name="hasGetterSignature(java.lang.reflect.Method)">
823<!--   -->
824</a>
825<ul class="blockList">
826<li class="blockList">
827<h4>hasGetterSignature</h4>
828<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>
829public 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>
830<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Since 2.6 not used; may be removed before 3.x</i></div>
831</li>
832</ul>
833<a name="getRootCause(java.lang.Throwable)">
834<!--   -->
835</a>
836<ul class="blockList">
837<li class="blockList">
838<h4>getRootCause</h4>
839<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>
840<div class="block">Method that can be used to find the "root cause", innermost
841 of chained (wrapped) exceptions.</div>
842</li>
843</ul>
844<a name="throwRootCause(java.lang.Throwable)">
845<!--   -->
846</a>
847<ul class="blockList">
848<li class="blockList">
849<h4>throwRootCause</h4>
850<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)
851                           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>
852<div class="block">Method that will unwrap root causes of given Throwable, and throw
853 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.
854 This is useful in cases where mandatory wrapping is added, which
855 is often done by Reflection API.</div>
856<dl><dt><span class="strong">Throws:</span></dt>
857<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>
858</li>
859</ul>
860<a name="throwRootCauseIfIOE(java.lang.Throwable)">
861<!--   -->
862</a>
863<ul class="blockList">
864<li class="blockList">
865<h4>throwRootCauseIfIOE</h4>
866<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)
867                                     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>
868<div class="block">Method that works like <a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html#throwRootCause(java.lang.Throwable)"><code>throwRootCause(java.lang.Throwable)</code></a> if (and only if)
869 root cause 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>; otherwise returns root cause</div>
870<dl><dt><span class="strong">Throws:</span></dt>
871<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><dt><span class="strong">Since:</span></dt>
872  <dd>2.8</dd></dl>
873</li>
874</ul>
875<a name="throwAsIAE(java.lang.Throwable)">
876<!--   -->
877</a>
878<ul class="blockList">
879<li class="blockList">
880<h4>throwAsIAE</h4>
881<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>
882<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
883 is a checked exception; otherwise (runtime exception or error) throw as is</div>
884</li>
885</ul>
886<a name="throwAsIAE(java.lang.Throwable, java.lang.String)">
887<!--   -->
888</a>
889<ul class="blockList">
890<li class="blockList">
891<h4>throwAsIAE</h4>
892<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,
893              <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>
894<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
895 specified message) if it
896 is a checked exception; otherwise (runtime exception or error) throw as is</div>
897</li>
898</ul>
899<a name="unwrapAndThrowAsIAE(java.lang.Throwable)">
900<!--   -->
901</a>
902<ul class="blockList">
903<li class="blockList">
904<h4>unwrapAndThrowAsIAE</h4>
905<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>
906<div class="block">Method that will locate the innermost exception for given Throwable;
907 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
908 is a checked exception; otherwise (runtime exception or error) throw as is</div>
909</li>
910</ul>
911<a name="unwrapAndThrowAsIAE(java.lang.Throwable, java.lang.String)">
912<!--   -->
913</a>
914<ul class="blockList">
915<li class="blockList">
916<h4>unwrapAndThrowAsIAE</h4>
917<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,
918                       <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>
919<div class="block">Method that will locate the innermost exception for given Throwable;
920 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
921 is a checked exception; otherwise (runtime exception or error) throw as is</div>
922</li>
923</ul>
924<a name="closeOnFailAndThrowAsIAE(com.fasterxml.jackson.core.JsonGenerator, java.lang.Exception)">
925<!--   -->
926</a>
927<ul class="blockList">
928<li class="blockList">
929<h4>closeOnFailAndThrowAsIAE</h4>
930<pre>public static&nbsp;void&nbsp;closeOnFailAndThrowAsIAE(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;g,
931                            <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)
932                                     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>
933<div class="block">Helper method that encapsulate logic in trying to close output generator
934 in case of failure; useful mostly in forcing flush()ing as otherwise
935 error conditions tend to be hard to diagnose. However, it is often the
936 case that output state may be corrupt so we need to be prepared for
937 secondary exception without masking original one.</div>
938<dl><dt><span class="strong">Throws:</span></dt>
939<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><dt><span class="strong">Since:</span></dt>
940  <dd>2.8</dd></dl>
941</li>
942</ul>
943<a name="closeOnFailAndThrowAsIAE(com.fasterxml.jackson.core.JsonGenerator, java.io.Closeable, java.lang.Exception)">
944<!--   -->
945</a>
946<ul class="blockList">
947<li class="blockList">
948<h4>closeOnFailAndThrowAsIAE</h4>
949<pre>public static&nbsp;void&nbsp;closeOnFailAndThrowAsIAE(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;g,
950                            <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,
951                            <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)
952                                     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>
953<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>
954 in case of failure; useful mostly in forcing flush()ing as otherwise
955 error conditions tend to be hard to diagnose. However, it is often the
956 case that output state may be corrupt so we need to be prepared for
957 secondary exception without masking original one.</div>
958<dl><dt><span class="strong">Throws:</span></dt>
959<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><dt><span class="strong">Since:</span></dt>
960  <dd>2.8</dd></dl>
961</li>
962</ul>
963<a name="createInstance(java.lang.Class, boolean)">
964<!--   -->
965</a>
966<ul class="blockList">
967<li class="blockList">
968<h4>createInstance</h4>
969<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,
970                   boolean&nbsp;canFixAccess)
971                        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>
972<div class="block">Method that can be called to try to create an instantiate of
973 specified type. Instantiation is done using default no-argument
974 constructor.</div>
975<dl><dt><span class="strong">Parameters:</span></dt><dd><code>canFixAccess</code> - Whether it is possible to try to change access
976   rights of the default constructor (in case it is not publicly
977   accessible) or not.</dd>
978<dt><span class="strong">Throws:</span></dt>
979<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;
980    except for cases where constructor throws an unchecked exception
981    (which will be passed as is)</dd></dl>
982</li>
983</ul>
984<a name="findConstructor(java.lang.Class, boolean)">
985<!--   -->
986</a>
987<ul class="blockList">
988<li class="blockList">
989<h4>findConstructor</h4>
990<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,
991                                 boolean&nbsp;canFixAccess)
992                                      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>
993<dl><dt><span class="strong">Throws:</span></dt>
994<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>
995</li>
996</ul>
997<a name="defaultValue(java.lang.Class)">
998<!--   -->
999</a>
1000<ul class="blockList">
1001<li class="blockList">
1002<h4>defaultValue</h4>
1003<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>
1004<div class="block">Helper method used to get default value for wrappers used for primitive types
1005 (0 for Integer etc)</div>
1006</li>
1007</ul>
1008<a name="wrapperType(java.lang.Class)">
1009<!--   -->
1010</a>
1011<ul class="blockList">
1012<li class="blockList">
1013<h4>wrapperType</h4>
1014<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>
1015<div class="block">Helper method for finding wrapper type for given primitive type (why isn't
1016 there one in JDK?)</div>
1017</li>
1018</ul>
1019<a name="primitiveType(java.lang.Class)">
1020<!--   -->
1021</a>
1022<ul class="blockList">
1023<li class="blockList">
1024<h4>primitiveType</h4>
1025<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>
1026<div class="block">Method that can be used to find primitive type for given class if (but only if)
1027 it is either wrapper type or primitive type; returns `null` if type is neither.</div>
1028<dl><dt><span class="strong">Since:</span></dt>
1029  <dd>2.7</dd></dl>
1030</li>
1031</ul>
1032<a name="checkAndFixAccess(java.lang.reflect.Member)">
1033<!--   -->
1034</a>
1035<ul class="blockList">
1036<li class="blockList">
1037<h4>checkAndFixAccess</h4>
1038<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>
1039public 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>
1040<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Since 2.7 call variant that takes boolean flag.</i></div>
1041<div class="block">Equivalent to call:
1042<pre>
1043   checkAndFixAccess(member, false);
1044</pre></div>
1045</li>
1046</ul>
1047<a name="checkAndFixAccess(java.lang.reflect.Member, boolean)">
1048<!--   -->
1049</a>
1050<ul class="blockList">
1051<li class="blockList">
1052<h4>checkAndFixAccess</h4>
1053<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,
1054                     boolean&nbsp;force)</pre>
1055<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,
1056 to force a field, method or constructor to be accessible: this
1057 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>
1058<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),
1059   or only if needed as per access rights (false)</dd><dt><span class="strong">Since:</span></dt>
1060  <dd>2.7</dd></dl>
1061</li>
1062</ul>
1063<a name="findEnumType(java.util.EnumSet)">
1064<!--   -->
1065</a>
1066<ul class="blockList">
1067<li class="blockList">
1068<h4>findEnumType</h4>
1069<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>
1070<div class="block">Helper method that can be used to dynamically figure out
1071 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
1072 access to its declaration.
1073 Code is needed to work around design flaw in JDK.</div>
1074</li>
1075</ul>
1076<a name="findEnumType(java.util.EnumMap)">
1077<!--   -->
1078</a>
1079<ul class="blockList">
1080<li class="blockList">
1081<h4>findEnumType</h4>
1082<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>
1083<div class="block">Helper method that can be used to dynamically figure out
1084 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
1085 access to its declaration.
1086 Code is needed to work around design flaw in JDK.</div>
1087</li>
1088</ul>
1089<a name="findEnumType(java.lang.Enum)">
1090<!--   -->
1091</a>
1092<ul class="blockList">
1093<li class="blockList">
1094<h4>findEnumType</h4>
1095<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>
1096<div class="block">Helper method that can be used to dynamically figure out formal
1097 enumeration type (class) for given enumeration. This is either
1098 class of enum instance (for "simple" enumerations), or its
1099 superclass (for enums with instance fields or methods)</div>
1100</li>
1101</ul>
1102<a name="findEnumType(java.lang.Class)">
1103<!--   -->
1104</a>
1105<ul class="blockList">
1106<li class="blockList">
1107<h4>findEnumType</h4>
1108<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>
1109<div class="block">Helper method that can be used to dynamically figure out formal
1110 enumeration type (class) for given class of an enumeration value.
1111 This is either class of enum instance (for "simple" enumerations),
1112 or its superclass (for enums with instance fields or methods)</div>
1113</li>
1114</ul>
1115<a name="findFirstAnnotatedEnumValue(java.lang.Class, java.lang.Class)">
1116<!--   -->
1117</a>
1118<ul class="blockList">
1119<li class="blockList">
1120<h4>findFirstAnnotatedEnumValue</h4>
1121<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,
1122                                                         <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>
1123<div class="block">A method that will look for the first Enum value annotated with the given Annotation.
1124 <p>
1125 If there's more than one value annotated, the first one found will be returned. Which one exactly is used is undetermined.</div>
1126<dl><dt><span class="strong">Parameters:</span></dt><dd><code>enumClass</code> - The Enum class to scan for a value with the given annotation</dd><dd><code>annotationClass</code> - The annotation to look for.</dd>
1127<dt><span class="strong">Returns:</span></dt><dd>the Enum value annotated with the given Annotation or <code>null</code> if none is found.</dd>
1128<dt><span class="strong">Throws:</span></dt>
1129<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><dt><span class="strong">Since:</span></dt>
1130  <dd>2.8</dd></dl>
1131</li>
1132</ul>
1133<a name="isJacksonStdImpl(java.lang.Object)">
1134<!--   -->
1135</a>
1136<ul class="blockList">
1137<li class="blockList">
1138<h4>isJacksonStdImpl</h4>
1139<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>
1140<div class="block">Method that can be called to determine if given Object is the default
1141 implementation Jackson uses; as opposed to a custom serializer installed by
1142 a module or calling application. Determination is done using
1143 <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)
1144 class.</div>
1145</li>
1146</ul>
1147<a name="isJacksonStdImpl(java.lang.Class)">
1148<!--   -->
1149</a>
1150<ul class="blockList">
1151<li class="blockList">
1152<h4>isJacksonStdImpl</h4>
1153<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>
1154</li>
1155</ul>
1156<a name="isBogusClass(java.lang.Class)">
1157<!--   -->
1158</a>
1159<ul class="blockList">
1160<li class="blockList">
1161<h4>isBogusClass</h4>
1162<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>
1163</li>
1164</ul>
1165<a name="isNonStaticInnerClass(java.lang.Class)">
1166<!--   -->
1167</a>
1168<ul class="blockList">
1169<li class="blockList">
1170<h4>isNonStaticInnerClass</h4>
1171<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>
1172</li>
1173</ul>
1174<a name="isObjectOrPrimitive(java.lang.Class)">
1175<!--   -->
1176</a>
1177<ul class="blockListLast">
1178<li class="blockList">
1179<h4>isObjectOrPrimitive</h4>
1180<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>
1181<dl><dt><span class="strong">Since:</span></dt>
1182  <dd>2.7</dd></dl>
1183</li>
1184</ul>
1185</li>
1186</ul>
1187</li>
1188</ul>
1189</div>
1190</div>
1191<!-- ========= END OF CLASS DATA ========= -->
1192<!-- ======= START OF BOTTOM NAVBAR ====== -->
1193<div class="bottomNav"><a name="navbar_bottom">
1194<!--   -->
1195</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
1196<!--   -->
1197</a>
1198<ul class="navList" title="Navigation">
1199<li><a href="../../../../../overview-summary.html">Overview</a></li>
1200<li><a href="package-summary.html">Package</a></li>
1201<li class="navBarCell1Rev">Class</li>
1202<li><a href="class-use/ClassUtil.html">Use</a></li>
1203<li><a href="package-tree.html">Tree</a></li>
1204<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
1205<li><a href="../../../../../index-all.html">Index</a></li>
1206<li><a href="../../../../../help-doc.html">Help</a></li>
1207</ul>
1208</div>
1209<div class="subNav">
1210<ul class="navList">
1211<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>
1212<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>
1213</ul>
1214<ul class="navList">
1215<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/ClassUtil.html" target="_top">Frames</a></li>
1216<li><a href="ClassUtil.html" target="_top">No Frames</a></li>
1217</ul>
1218<ul class="navList" id="allclasses_navbar_bottom">
1219<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
1220</ul>
1221<div>
1222<script type="text/javascript"><!--
1223  allClassesLink = document.getElementById("allclasses_navbar_bottom");
1224  if(window==top) {
1225    allClassesLink.style.display = "block";
1226  }
1227  else {
1228    allClassesLink.style.display = "none";
1229  }
1230  //-->
1231</script>
1232</div>
1233<div>
1234<ul class="subNavList">
1235<li>Summary:&nbsp;</li>
1236<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
1237<li>Field&nbsp;|&nbsp;</li>
1238<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
1239<li><a href="#method_summary">Method</a></li>
1240</ul>
1241<ul class="subNavList">
1242<li>Detail:&nbsp;</li>
1243<li>Field&nbsp;|&nbsp;</li>
1244<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
1245<li><a href="#method_detail">Method</a></li>
1246</ul>
1247</div>
1248<a name="skip-navbar_bottom">
1249<!--   -->
1250</a></div>
1251<!-- ======== END OF BOTTOM NAVBAR ======= -->
1252<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
1253</body>
1254</html>
1255