1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (1.8.0_162) on Tue Jan 23 20:22:17 PST 2018 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>BeanUtil (jackson-databind 2.9.0 API)</title> 8<meta name="date" content="2018-01-23"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="BeanUtil (jackson-databind 2.9.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":41,"i10":9}; 23var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; 24var altColor = "altColor"; 25var rowColor = "rowColor"; 26var tableTab = "tableTab"; 27var activeTableTab = "activeTableTab"; 28</script> 29<noscript> 30<div>JavaScript is disabled on your browser.</div> 31</noscript> 32<!-- ========= START OF TOP NAVBAR ======= --> 33<div class="topNav"><a name="navbar.top"> 34<!-- --> 35</a> 36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 37<a name="navbar.top.firstrow"> 38<!-- --> 39</a> 40<ul class="navList" title="Navigation"> 41<li><a href="../../../../../overview-summary.html">Overview</a></li> 42<li><a href="package-summary.html">Package</a></li> 43<li class="navBarCell1Rev">Class</li> 44<li><a href="class-use/BeanUtil.html">Use</a></li> 45<li><a href="package-tree.html">Tree</a></li> 46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 47<li><a href="../../../../../index-all.html">Index</a></li> 48<li><a href="../../../../../help-doc.html">Help</a></li> 49</ul> 50</div> 51<div class="subNav"> 52<ul class="navList"> 53<li><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayIterator.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../../com/fasterxml/jackson/databind/util/ByteBufferBackedInputStream.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/BeanUtil.html" target="_top">Frames</a></li> 58<li><a href="BeanUtil.html" target="_top">No Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 62</ul> 63<div> 64<script type="text/javascript"><!-- 65 allClassesLink = document.getElementById("allclasses_navbar_top"); 66 if(window==top) { 67 allClassesLink.style.display = "block"; 68 } 69 else { 70 allClassesLink.style.display = "none"; 71 } 72 //--> 73</script> 74</div> 75<div> 76<ul class="subNavList"> 77<li>Summary: </li> 78<li>Nested | </li> 79<li>Field | </li> 80<li><a href="#constructor.summary">Constr</a> | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li>Field | </li> 86<li><a href="#constructor.detail">Constr</a> | </li> 87<li><a href="#method.detail">Method</a></li> 88</ul> 89</div> 90<a name="skip.navbar.top"> 91<!-- --> 92</a></div> 93<!-- ========= END OF TOP NAVBAR ========= --> 94<!-- ======== START OF CLASS DATA ======== --> 95<div class="header"> 96<div class="subTitle">com.fasterxml.jackson.databind.util</div> 97<h2 title="Class BeanUtil" class="title">Class BeanUtil</h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 102<li> 103<ul class="inheritance"> 104<li>com.fasterxml.jackson.databind.util.BeanUtil</li> 105</ul> 106</li> 107</ul> 108<div class="description"> 109<ul class="blockList"> 110<li class="blockList"> 111<hr> 112<br> 113<pre>public class <span class="typeNameLabel">BeanUtil</span> 114extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> 115<div class="block">Helper class that contains functionality needed by both serialization 116 and deserialization side.</div> 117</li> 118</ul> 119</div> 120<div class="summary"> 121<ul class="blockList"> 122<li class="blockList"> 123<!-- ======== CONSTRUCTOR SUMMARY ======== --> 124<ul class="blockList"> 125<li class="blockList"><a name="constructor.summary"> 126<!-- --> 127</a> 128<h3>Constructor Summary</h3> 129<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 130<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 131<tr> 132<th class="colOne" scope="col">Constructor and Description</th> 133</tr> 134<tr class="altColor"> 135<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html#BeanUtil--">BeanUtil</a></span>()</code> </td> 136</tr> 137</table> 138</li> 139</ul> 140<!-- ========== METHOD SUMMARY =========== --> 141<ul class="blockList"> 142<li class="blockList"><a name="method.summary"> 143<!-- --> 144</a> 145<h3>Method Summary</h3> 146<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 147<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> 148<tr> 149<th class="colFirst" scope="col">Modifier and Type</th> 150<th class="colLast" scope="col">Method and Description</th> 151</tr> 152<tr id="i0" class="altColor"> 153<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> 154<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html#getDefaultValue-com.fasterxml.jackson.databind.JavaType-">getDefaultValue</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 155<div class="block">Accessor used to find out "default value" to use for comparing values to 156 serialize, to determine whether to exclude value from serialization with 157 inclusion type of <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.9/com/fasterxml/jackson/annotation/JsonInclude.Include.html?is-external=true#NON_DEFAULT" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonInclude.Include.NON_DEFAULT</code></a>.</div> 158</td> 159</tr> 160<tr id="i1" class="rowColor"> 161<td class="colFirst"><code>protected static boolean</code></td> 162<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html#isCglibGetCallbacks-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-">isCglibGetCallbacks</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am)</code> 163<div class="block">This method was added to address the need to weed out 164 CGLib-injected "getCallbacks" method.</div> 165</td> 166</tr> 167<tr id="i2" class="altColor"> 168<td class="colFirst"><code>protected static boolean</code></td> 169<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html#isGroovyMetaClassGetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-">isGroovyMetaClassGetter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am)</code> 170<div class="block">Another helper method to deal with Groovy's problematic metadata accessors</div> 171</td> 172</tr> 173<tr id="i3" class="rowColor"> 174<td class="colFirst"><code>protected static boolean</code></td> 175<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html#isGroovyMetaClassSetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-">isGroovyMetaClassSetter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am)</code> 176<div class="block">Similar to <a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html#isCglibGetCallbacks-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-"><code>isCglibGetCallbacks(com.fasterxml.jackson.databind.introspect.AnnotatedMethod)</code></a>, need to suppress 177 a cyclic reference.</div> 178</td> 179</tr> 180<tr id="i4" class="altColor"> 181<td class="colFirst"><code>protected 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> 182<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html#legacyManglePropertyName-java.lang.String-int-">legacyManglePropertyName</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> basename, 183 int offset)</code> 184<div class="block">Method called to figure out name of the property, given 185 corresponding suggested name based on a method or field name.</div> 186</td> 187</tr> 188<tr id="i5" class="rowColor"> 189<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> 190<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html#okNameForGetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-boolean-">okNameForGetter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am, 191 boolean stdNaming)</code> </td> 192</tr> 193<tr id="i6" class="altColor"> 194<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> 195<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html#okNameForIsGetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-boolean-">okNameForIsGetter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am, 196 <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> name, 197 boolean stdNaming)</code> </td> 198</tr> 199<tr id="i7" class="rowColor"> 200<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 201<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html#okNameForMutator-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-boolean-">okNameForMutator</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am, 202 <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> prefix, 203 boolean stdNaming)</code> </td> 204</tr> 205<tr id="i8" class="altColor"> 206<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> 207<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html#okNameForRegularGetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-boolean-">okNameForRegularGetter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am, 208 <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> name, 209 boolean stdNaming)</code> </td> 210</tr> 211<tr id="i9" class="rowColor"> 212<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> 213<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html#okNameForSetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-boolean-">okNameForSetter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am, 214 boolean stdNaming)</code> 215<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> 216</td> 217</tr> 218<tr id="i10" class="altColor"> 219<td class="colFirst"><code>protected 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> 220<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html#stdManglePropertyName-java.lang.String-int-">stdManglePropertyName</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> basename, 221 int offset)</code> </td> 222</tr> 223</table> 224<ul class="blockList"> 225<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 226<!-- --> 227</a> 228<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 229<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 230</ul> 231</li> 232</ul> 233</li> 234</ul> 235</div> 236<div class="details"> 237<ul class="blockList"> 238<li class="blockList"> 239<!-- ========= CONSTRUCTOR DETAIL ======== --> 240<ul class="blockList"> 241<li class="blockList"><a name="constructor.detail"> 242<!-- --> 243</a> 244<h3>Constructor Detail</h3> 245<a name="BeanUtil--"> 246<!-- --> 247</a> 248<ul class="blockListLast"> 249<li class="blockList"> 250<h4>BeanUtil</h4> 251<pre>public BeanUtil()</pre> 252</li> 253</ul> 254</li> 255</ul> 256<!-- ============ METHOD DETAIL ========== --> 257<ul class="blockList"> 258<li class="blockList"><a name="method.detail"> 259<!-- --> 260</a> 261<h3>Method Detail</h3> 262<a name="okNameForGetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-boolean-"> 263<!-- --> 264</a> 265<ul class="blockList"> 266<li class="blockList"> 267<h4>okNameForGetter</h4> 268<pre>public 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> okNameForGetter(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am, 269 boolean stdNaming)</pre> 270<dl> 271<dt><span class="simpleTagLabel">Since:</span></dt> 272<dd>2.5</dd> 273</dl> 274</li> 275</ul> 276<a name="okNameForRegularGetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-boolean-"> 277<!-- --> 278</a> 279<ul class="blockList"> 280<li class="blockList"> 281<h4>okNameForRegularGetter</h4> 282<pre>public 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> okNameForRegularGetter(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am, 283 <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> name, 284 boolean stdNaming)</pre> 285<dl> 286<dt><span class="simpleTagLabel">Since:</span></dt> 287<dd>2.5</dd> 288</dl> 289</li> 290</ul> 291<a name="okNameForIsGetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-boolean-"> 292<!-- --> 293</a> 294<ul class="blockList"> 295<li class="blockList"> 296<h4>okNameForIsGetter</h4> 297<pre>public 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> okNameForIsGetter(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am, 298 <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> name, 299 boolean stdNaming)</pre> 300<dl> 301<dt><span class="simpleTagLabel">Since:</span></dt> 302<dd>2.5</dd> 303</dl> 304</li> 305</ul> 306<a name="okNameForSetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-boolean-"> 307<!-- --> 308</a> 309<ul class="blockList"> 310<li class="blockList"> 311<h4>okNameForSetter</h4> 312<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> 313public 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> okNameForSetter(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am, 314 boolean stdNaming)</pre> 315<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> 316<dl> 317<dt><span class="simpleTagLabel">Since:</span></dt> 318<dd>2.5</dd> 319</dl> 320</li> 321</ul> 322<a name="okNameForMutator-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-boolean-"> 323<!-- --> 324</a> 325<ul class="blockList"> 326<li class="blockList"> 327<h4>okNameForMutator</h4> 328<pre>public 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> okNameForMutator(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am, 329 <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> prefix, 330 boolean stdNaming)</pre> 331<dl> 332<dt><span class="simpleTagLabel">Since:</span></dt> 333<dd>2.5</dd> 334</dl> 335</li> 336</ul> 337<a name="getDefaultValue-com.fasterxml.jackson.databind.JavaType-"> 338<!-- --> 339</a> 340<ul class="blockList"> 341<li class="blockList"> 342<h4>getDefaultValue</h4> 343<pre>public 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> getDefaultValue(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</pre> 344<div class="block">Accessor used to find out "default value" to use for comparing values to 345 serialize, to determine whether to exclude value from serialization with 346 inclusion type of <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.9/com/fasterxml/jackson/annotation/JsonInclude.Include.html?is-external=true#NON_DEFAULT" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonInclude.Include.NON_DEFAULT</code></a>. 347<p> 348 Default logic is such that for primitives and wrapper types for primitives, expected 349 defaults (0 for `int` and `java.lang.Integer`) are returned; for Strings, empty String, 350 and for structured (Maps, Collections, arrays) and reference types, criteria 351 <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.9/com/fasterxml/jackson/annotation/JsonInclude.Include.html?is-external=true#NON_DEFAULT" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonInclude.Include.NON_DEFAULT</code></a> 352 is used.</div> 353<dl> 354<dt><span class="simpleTagLabel">Since:</span></dt> 355<dd>2.7</dd> 356</dl> 357</li> 358</ul> 359<a name="isCglibGetCallbacks-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-"> 360<!-- --> 361</a> 362<ul class="blockList"> 363<li class="blockList"> 364<h4>isCglibGetCallbacks</h4> 365<pre>protected static boolean isCglibGetCallbacks(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am)</pre> 366<div class="block">This method was added to address the need to weed out 367 CGLib-injected "getCallbacks" method. 368 At this point caller has detected a potential getter method 369 with name "getCallbacks" and we need to determine if it is 370 indeed injectect by Cglib. We do this by verifying that the 371 result type is "net.sf.cglib.proxy.Callback[]"</div> 372</li> 373</ul> 374<a name="isGroovyMetaClassSetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-"> 375<!-- --> 376</a> 377<ul class="blockList"> 378<li class="blockList"> 379<h4>isGroovyMetaClassSetter</h4> 380<pre>protected static boolean isGroovyMetaClassSetter(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am)</pre> 381<div class="block">Similar to <a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html#isCglibGetCallbacks-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-"><code>isCglibGetCallbacks(com.fasterxml.jackson.databind.introspect.AnnotatedMethod)</code></a>, need to suppress 382 a cyclic reference.</div> 383</li> 384</ul> 385<a name="isGroovyMetaClassGetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-"> 386<!-- --> 387</a> 388<ul class="blockList"> 389<li class="blockList"> 390<h4>isGroovyMetaClassGetter</h4> 391<pre>protected static boolean isGroovyMetaClassGetter(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> am)</pre> 392<div class="block">Another helper method to deal with Groovy's problematic metadata accessors</div> 393</li> 394</ul> 395<a name="legacyManglePropertyName-java.lang.String-int-"> 396<!-- --> 397</a> 398<ul class="blockList"> 399<li class="blockList"> 400<h4>legacyManglePropertyName</h4> 401<pre>protected 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> legacyManglePropertyName(<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> basename, 402 int offset)</pre> 403<div class="block">Method called to figure out name of the property, given 404 corresponding suggested name based on a method or field name.</div> 405<dl> 406<dt><span class="paramLabel">Parameters:</span></dt> 407<dd><code>basename</code> - Name of accessor/mutator method, not including prefix 408 ("get"/"is"/"set")</dd> 409</dl> 410</li> 411</ul> 412<a name="stdManglePropertyName-java.lang.String-int-"> 413<!-- --> 414</a> 415<ul class="blockListLast"> 416<li class="blockList"> 417<h4>stdManglePropertyName</h4> 418<pre>protected 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> stdManglePropertyName(<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> basename, 419 int offset)</pre> 420<dl> 421<dt><span class="simpleTagLabel">Since:</span></dt> 422<dd>2.5</dd> 423</dl> 424</li> 425</ul> 426</li> 427</ul> 428</li> 429</ul> 430</div> 431</div> 432<!-- ========= END OF CLASS DATA ========= --> 433<!-- ======= START OF BOTTOM NAVBAR ====== --> 434<div class="bottomNav"><a name="navbar.bottom"> 435<!-- --> 436</a> 437<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 438<a name="navbar.bottom.firstrow"> 439<!-- --> 440</a> 441<ul class="navList" title="Navigation"> 442<li><a href="../../../../../overview-summary.html">Overview</a></li> 443<li><a href="package-summary.html">Package</a></li> 444<li class="navBarCell1Rev">Class</li> 445<li><a href="class-use/BeanUtil.html">Use</a></li> 446<li><a href="package-tree.html">Tree</a></li> 447<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 448<li><a href="../../../../../index-all.html">Index</a></li> 449<li><a href="../../../../../help-doc.html">Help</a></li> 450</ul> 451</div> 452<div class="subNav"> 453<ul class="navList"> 454<li><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayIterator.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev Class</span></a></li> 455<li><a href="../../../../../com/fasterxml/jackson/databind/util/ByteBufferBackedInputStream.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Next Class</span></a></li> 456</ul> 457<ul class="navList"> 458<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/BeanUtil.html" target="_top">Frames</a></li> 459<li><a href="BeanUtil.html" target="_top">No Frames</a></li> 460</ul> 461<ul class="navList" id="allclasses_navbar_bottom"> 462<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 463</ul> 464<div> 465<script type="text/javascript"><!-- 466 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 467 if(window==top) { 468 allClassesLink.style.display = "block"; 469 } 470 else { 471 allClassesLink.style.display = "none"; 472 } 473 //--> 474</script> 475</div> 476<div> 477<ul class="subNavList"> 478<li>Summary: </li> 479<li>Nested | </li> 480<li>Field | </li> 481<li><a href="#constructor.summary">Constr</a> | </li> 482<li><a href="#method.summary">Method</a></li> 483</ul> 484<ul class="subNavList"> 485<li>Detail: </li> 486<li>Field | </li> 487<li><a href="#constructor.detail">Constr</a> | </li> 488<li><a href="#method.detail">Method</a></li> 489</ul> 490</div> 491<a name="skip.navbar.bottom"> 492<!-- --> 493</a></div> 494<!-- ======== END OF BOTTOM NAVBAR ======= --> 495<p class="legalCopy"><small>Copyright © 2008–2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 496</body> 497</html> 498