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 Sat Apr 25 17:14:49 PDT 2020 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>BeanUtil (jackson-databind 2.11.0 API)</title> 8<meta name="date" content="2020-04-25"> 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.11.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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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.io/jackson-annotations/javadoc/2.11/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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>static <a href="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> basename, 221 int offset)</code> 222<div class="block">Note: public only since 2.11</div> 223</td> 224</tr> 225</table> 226<ul class="blockList"> 227<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 228<!-- --> 229</a> 230<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 231<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 232</ul> 233</li> 234</ul> 235</li> 236</ul> 237</div> 238<div class="details"> 239<ul class="blockList"> 240<li class="blockList"> 241<!-- ========= CONSTRUCTOR DETAIL ======== --> 242<ul class="blockList"> 243<li class="blockList"><a name="constructor.detail"> 244<!-- --> 245</a> 246<h3>Constructor Detail</h3> 247<a name="BeanUtil--"> 248<!-- --> 249</a> 250<ul class="blockListLast"> 251<li class="blockList"> 252<h4>BeanUtil</h4> 253<pre>public BeanUtil()</pre> 254</li> 255</ul> 256</li> 257</ul> 258<!-- ============ METHOD DETAIL ========== --> 259<ul class="blockList"> 260<li class="blockList"><a name="method.detail"> 261<!-- --> 262</a> 263<h3>Method Detail</h3> 264<a name="okNameForGetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-boolean-"> 265<!-- --> 266</a> 267<ul class="blockList"> 268<li class="blockList"> 269<h4>okNameForGetter</h4> 270<pre>public static <a href="https://docs.oracle.com/javase/8/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, 271 boolean stdNaming)</pre> 272<dl> 273<dt><span class="simpleTagLabel">Since:</span></dt> 274<dd>2.5</dd> 275</dl> 276</li> 277</ul> 278<a name="okNameForRegularGetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-boolean-"> 279<!-- --> 280</a> 281<ul class="blockList"> 282<li class="blockList"> 283<h4>okNameForRegularGetter</h4> 284<pre>public static <a href="https://docs.oracle.com/javase/8/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, 285 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, 286 boolean stdNaming)</pre> 287<dl> 288<dt><span class="simpleTagLabel">Since:</span></dt> 289<dd>2.5</dd> 290</dl> 291</li> 292</ul> 293<a name="okNameForIsGetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-boolean-"> 294<!-- --> 295</a> 296<ul class="blockList"> 297<li class="blockList"> 298<h4>okNameForIsGetter</h4> 299<pre>public static <a href="https://docs.oracle.com/javase/8/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, 300 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, 301 boolean stdNaming)</pre> 302<dl> 303<dt><span class="simpleTagLabel">Since:</span></dt> 304<dd>2.5</dd> 305</dl> 306</li> 307</ul> 308<a name="okNameForSetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-boolean-"> 309<!-- --> 310</a> 311<ul class="blockList"> 312<li class="blockList"> 313<h4>okNameForSetter</h4> 314<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 315public static <a href="https://docs.oracle.com/javase/8/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, 316 boolean stdNaming)</pre> 317<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> 318<dl> 319<dt><span class="simpleTagLabel">Since:</span></dt> 320<dd>2.5</dd> 321</dl> 322</li> 323</ul> 324<a name="okNameForMutator-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-boolean-"> 325<!-- --> 326</a> 327<ul class="blockList"> 328<li class="blockList"> 329<h4>okNameForMutator</h4> 330<pre>public static <a href="https://docs.oracle.com/javase/8/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, 331 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> prefix, 332 boolean stdNaming)</pre> 333<dl> 334<dt><span class="simpleTagLabel">Since:</span></dt> 335<dd>2.5</dd> 336</dl> 337</li> 338</ul> 339<a name="getDefaultValue-com.fasterxml.jackson.databind.JavaType-"> 340<!-- --> 341</a> 342<ul class="blockList"> 343<li class="blockList"> 344<h4>getDefaultValue</h4> 345<pre>public static <a href="https://docs.oracle.com/javase/8/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> 346<div class="block">Accessor used to find out "default value" to use for comparing values to 347 serialize, to determine whether to exclude value from serialization with 348 inclusion type of <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.11/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>. 349<p> 350 Default logic is such that for primitives and wrapper types for primitives, expected 351 defaults (0 for `int` and `java.lang.Integer`) are returned; for Strings, empty String, 352 and for structured (Maps, Collections, arrays) and reference types, criteria 353 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.11/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> 354 is used.</div> 355<dl> 356<dt><span class="simpleTagLabel">Since:</span></dt> 357<dd>2.7</dd> 358</dl> 359</li> 360</ul> 361<a name="isCglibGetCallbacks-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-"> 362<!-- --> 363</a> 364<ul class="blockList"> 365<li class="blockList"> 366<h4>isCglibGetCallbacks</h4> 367<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> 368<div class="block">This method was added to address the need to weed out 369 CGLib-injected "getCallbacks" method. 370 At this point caller has detected a potential getter method 371 with name "getCallbacks" and we need to determine if it is 372 indeed injectect by Cglib. We do this by verifying that the 373 result type is "net.sf.cglib.proxy.Callback[]"</div> 374</li> 375</ul> 376<a name="isGroovyMetaClassSetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-"> 377<!-- --> 378</a> 379<ul class="blockList"> 380<li class="blockList"> 381<h4>isGroovyMetaClassSetter</h4> 382<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> 383<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 384 a cyclic reference.</div> 385</li> 386</ul> 387<a name="isGroovyMetaClassGetter-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-"> 388<!-- --> 389</a> 390<ul class="blockList"> 391<li class="blockList"> 392<h4>isGroovyMetaClassGetter</h4> 393<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> 394<div class="block">Another helper method to deal with Groovy's problematic metadata accessors</div> 395</li> 396</ul> 397<a name="legacyManglePropertyName-java.lang.String-int-"> 398<!-- --> 399</a> 400<ul class="blockList"> 401<li class="blockList"> 402<h4>legacyManglePropertyName</h4> 403<pre>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legacyManglePropertyName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> basename, 404 int offset)</pre> 405<div class="block">Method called to figure out name of the property, given 406 corresponding suggested name based on a method or field name.</div> 407<dl> 408<dt><span class="paramLabel">Parameters:</span></dt> 409<dd><code>basename</code> - Name of accessor/mutator method, not including prefix 410 ("get"/"is"/"set")</dd> 411</dl> 412</li> 413</ul> 414<a name="stdManglePropertyName-java.lang.String-int-"> 415<!-- --> 416</a> 417<ul class="blockListLast"> 418<li class="blockList"> 419<h4>stdManglePropertyName</h4> 420<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> stdManglePropertyName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> basename, 421 int offset)</pre> 422<div class="block">Note: public only since 2.11</div> 423<dl> 424<dt><span class="simpleTagLabel">Since:</span></dt> 425<dd>2.5</dd> 426</dl> 427</li> 428</ul> 429</li> 430</ul> 431</li> 432</ul> 433</div> 434</div> 435<!-- ========= END OF CLASS DATA ========= --> 436<!-- ======= START OF BOTTOM NAVBAR ====== --> 437<div class="bottomNav"><a name="navbar.bottom"> 438<!-- --> 439</a> 440<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 441<a name="navbar.bottom.firstrow"> 442<!-- --> 443</a> 444<ul class="navList" title="Navigation"> 445<li><a href="../../../../../overview-summary.html">Overview</a></li> 446<li><a href="package-summary.html">Package</a></li> 447<li class="navBarCell1Rev">Class</li> 448<li><a href="class-use/BeanUtil.html">Use</a></li> 449<li><a href="package-tree.html">Tree</a></li> 450<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 451<li><a href="../../../../../index-all.html">Index</a></li> 452<li><a href="../../../../../help-doc.html">Help</a></li> 453</ul> 454</div> 455<div class="subNav"> 456<ul class="navList"> 457<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> 458<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> 459</ul> 460<ul class="navList"> 461<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/BeanUtil.html" target="_top">Frames</a></li> 462<li><a href="BeanUtil.html" target="_top">No Frames</a></li> 463</ul> 464<ul class="navList" id="allclasses_navbar_bottom"> 465<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 466</ul> 467<div> 468<script type="text/javascript"><!-- 469 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 470 if(window==top) { 471 allClassesLink.style.display = "block"; 472 } 473 else { 474 allClassesLink.style.display = "none"; 475 } 476 //--> 477</script> 478</div> 479<div> 480<ul class="subNavList"> 481<li>Summary: </li> 482<li>Nested | </li> 483<li>Field | </li> 484<li><a href="#constructor.summary">Constr</a> | </li> 485<li><a href="#method.summary">Method</a></li> 486</ul> 487<ul class="subNavList"> 488<li>Detail: </li> 489<li>Field | </li> 490<li><a href="#constructor.detail">Constr</a> | </li> 491<li><a href="#method.detail">Method</a></li> 492</ul> 493</div> 494<a name="skip.navbar.bottom"> 495<!-- --> 496</a></div> 497<!-- ======== END OF BOTTOM NAVBAR ======= --> 498<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 499</body> 500</html> 501