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 Mar 24 11:44:37 PDT 2020 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>VisibilityChecker (jackson-databind 2.11.0.rc1 API)</title> 8<meta name="date" content="2020-03-24"> 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="VisibilityChecker (jackson-databind 2.11.0.rc1 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/VisibilityChecker.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/introspect/VirtualAnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.Std.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" target="_top">Frames</a></li> 58<li><a href="VisibilityChecker.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><a href="#nested.class.summary">Nested</a> | </li> 79<li>Field | </li> 80<li>Constr | </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>Constr | </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.introspect</div> 97<h2 title="Interface VisibilityChecker" class="title">Interface VisibilityChecker<T extends VisibilityChecker<T>></h2> 98</div> 99<div class="contentContainer"> 100<div class="description"> 101<ul class="blockList"> 102<li class="blockList"> 103<dl> 104<dt>All Known Implementing Classes:</dt> 105<dd><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.Std.html" title="class in com.fasterxml.jackson.databind.introspect">VisibilityChecker.Std</a></dd> 106</dl> 107<hr> 108<br> 109<pre>public interface <span class="typeNameLabel">VisibilityChecker<T extends VisibilityChecker<T>></span></pre> 110<div class="block">Interface for object used for determine which property elements 111 (methods, fields, constructors) can be auto-detected, with respect 112 to their visibility modifiers. 113<p> 114 Note on type declaration: funky recursive type is necessary to 115 support builder/fluent pattern.</div> 116</li> 117</ul> 118</div> 119<div class="summary"> 120<ul class="blockList"> 121<li class="blockList"> 122<!-- ======== NESTED CLASS SUMMARY ======== --> 123<ul class="blockList"> 124<li class="blockList"><a name="nested.class.summary"> 125<!-- --> 126</a> 127<h3>Nested Class Summary</h3> 128<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> 129<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> 130<tr> 131<th class="colFirst" scope="col">Modifier and Type</th> 132<th class="colLast" scope="col">Interface and Description</th> 133</tr> 134<tr class="altColor"> 135<td class="colFirst"><code>static class </code></td> 136<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.Std.html" title="class in com.fasterxml.jackson.databind.introspect">VisibilityChecker.Std</a></span></code> 137<div class="block">Default standard implementation is purely based on visibility 138 modifier of given class members, and its configured minimum 139 levels.</div> 140</td> 141</tr> 142</table> 143</li> 144</ul> 145<!-- ========== METHOD SUMMARY =========== --> 146<ul class="blockList"> 147<li class="blockList"><a name="method.summary"> 148<!-- --> 149</a> 150<h3>Method Summary</h3> 151<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 152<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> 153<tr> 154<th class="colFirst" scope="col">Modifier and Type</th> 155<th class="colLast" scope="col">Method and Description</th> 156</tr> 157<tr id="i0" class="altColor"> 158<td class="colFirst"><code>boolean</code></td> 159<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isCreatorVisible-com.fasterxml.jackson.databind.introspect.AnnotatedMember-">isCreatorVisible</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> m)</code> </td> 160</tr> 161<tr id="i1" class="rowColor"> 162<td class="colFirst"><code>boolean</code></td> 163<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isCreatorVisible-java.lang.reflect.Member-">isCreatorVisible</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a> m)</code> 164<div class="block">Method for checking whether given method is auto-detectable 165 as Creator, with respect to its visibility (not considering 166 method signature or name, just visibility)</div> 167</td> 168</tr> 169<tr id="i2" class="altColor"> 170<td class="colFirst"><code>boolean</code></td> 171<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isFieldVisible-com.fasterxml.jackson.databind.introspect.AnnotatedField-">isFieldVisible</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</a> f)</code> </td> 172</tr> 173<tr id="i3" class="rowColor"> 174<td class="colFirst"><code>boolean</code></td> 175<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isFieldVisible-java.lang.reflect.Field-">isFieldVisible</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> f)</code> 176<div class="block">Method for checking whether given field is auto-detectable 177 as property, with respect to its visibility (not considering 178 method signature or name, just visibility)</div> 179</td> 180</tr> 181<tr id="i4" class="altColor"> 182<td class="colFirst"><code>boolean</code></td> 183<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isGetterVisible-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-">isGetterVisible</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> m)</code> </td> 184</tr> 185<tr id="i5" class="rowColor"> 186<td class="colFirst"><code>boolean</code></td> 187<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isGetterVisible-java.lang.reflect.Method-">isGetterVisible</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code> 188<div class="block">Method for checking whether given method is auto-detectable 189 as regular getter, with respect to its visibility (not considering 190 method signature or name, just visibility)</div> 191</td> 192</tr> 193<tr id="i6" class="altColor"> 194<td class="colFirst"><code>boolean</code></td> 195<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isIsGetterVisible-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-">isIsGetterVisible</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> m)</code> </td> 196</tr> 197<tr id="i7" class="rowColor"> 198<td class="colFirst"><code>boolean</code></td> 199<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isIsGetterVisible-java.lang.reflect.Method-">isIsGetterVisible</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code> 200<div class="block">Method for checking whether given method is auto-detectable 201 as is-getter, with respect to its visibility (not considering 202 method signature or name, just visibility)</div> 203</td> 204</tr> 205<tr id="i8" class="altColor"> 206<td class="colFirst"><code>boolean</code></td> 207<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isSetterVisible-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-">isSetterVisible</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> m)</code> </td> 208</tr> 209<tr id="i9" class="rowColor"> 210<td class="colFirst"><code>boolean</code></td> 211<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isSetterVisible-java.lang.reflect.Method-">isSetterVisible</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code> 212<div class="block">Method for checking whether given method is auto-detectable 213 as setter, with respect to its visibility (not considering 214 method signature or name, just visibility)</div> 215</td> 216</tr> 217<tr id="i10" class="altColor"> 218<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a></code></td> 219<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#with-com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility-">with</a></span>(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a> v)</code> 220<div class="block">Builder method that will create and return an instance that has specified 221 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonAutoDetect.Visibility</code></a> value to use for all property elements.</div> 222</td> 223</tr> 224<tr id="i11" class="rowColor"> 225<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a></code></td> 226<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#with-com.fasterxml.jackson.annotation.JsonAutoDetect-">with</a></span>(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect</a> ann)</code> 227<div class="block">Builder method that will return an instance that has same 228 settings as this instance has, except for values that 229 given annotation overrides.</div> 230</td> 231</tr> 232<tr id="i12" class="altColor"> 233<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a></code></td> 234<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#withCreatorVisibility-com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility-">withCreatorVisibility</a></span>(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a> v)</code> 235<div class="block">Builder method that will return a checker instance that has 236 specified minimum visibility level for creator methods 237 (constructors, factory methods)</div> 238</td> 239</tr> 240<tr id="i13" class="rowColor"> 241<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a></code></td> 242<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#withFieldVisibility-com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility-">withFieldVisibility</a></span>(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a> v)</code> 243<div class="block">Builder method that will return a checker instance that has 244 specified minimum visibility level for fields.</div> 245</td> 246</tr> 247<tr id="i14" class="altColor"> 248<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a></code></td> 249<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#withGetterVisibility-com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility-">withGetterVisibility</a></span>(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a> v)</code> 250<div class="block">Builder method that will return a checker instance that has 251 specified minimum visibility level for regular ("getXxx") getters.</div> 252</td> 253</tr> 254<tr id="i15" class="rowColor"> 255<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a></code></td> 256<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#withIsGetterVisibility-com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility-">withIsGetterVisibility</a></span>(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a> v)</code> 257<div class="block">Builder method that will return a checker instance that has 258 specified minimum visibility level for "is-getters" ("isXxx").</div> 259</td> 260</tr> 261<tr id="i16" class="altColor"> 262<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a></code></td> 263<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#withOverrides-com.fasterxml.jackson.annotation.JsonAutoDetect.Value-">withOverrides</a></span>(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Value</a> vis)</code> 264<div class="block">Method that can be used for merging default values from `this` 265 instance with specified overrides; and either return `this` 266 if overrides had no effect (that is, result would be equal), 267 or a new instance with merged visibility settings.</div> 268</td> 269</tr> 270<tr id="i17" class="rowColor"> 271<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a></code></td> 272<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#withSetterVisibility-com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility-">withSetterVisibility</a></span>(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a> v)</code> 273<div class="block">Builder method that will return a checker instance that has 274 specified minimum visibility level for setters.</div> 275</td> 276</tr> 277<tr id="i18" class="altColor"> 278<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a></code></td> 279<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#withVisibility-com.fasterxml.jackson.annotation.PropertyAccessor-com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility-">withVisibility</a></span>(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/PropertyAccessor.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">PropertyAccessor</a> method, 280 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a> v)</code> 281<div class="block">Builder method that will create and return an instance that has specified 282 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonAutoDetect.Visibility</code></a> value to use for specified property.</div> 283</td> 284</tr> 285</table> 286</li> 287</ul> 288</li> 289</ul> 290</div> 291<div class="details"> 292<ul class="blockList"> 293<li class="blockList"> 294<!-- ============ METHOD DETAIL ========== --> 295<ul class="blockList"> 296<li class="blockList"><a name="method.detail"> 297<!-- --> 298</a> 299<h3>Method Detail</h3> 300<a name="with-com.fasterxml.jackson.annotation.JsonAutoDetect-"> 301<!-- --> 302</a> 303<ul class="blockList"> 304<li class="blockList"> 305<h4>with</h4> 306<pre><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a> with(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect</a> ann)</pre> 307<div class="block">Builder method that will return an instance that has same 308 settings as this instance has, except for values that 309 given annotation overrides.</div> 310</li> 311</ul> 312<a name="withOverrides-com.fasterxml.jackson.annotation.JsonAutoDetect.Value-"> 313<!-- --> 314</a> 315<ul class="blockList"> 316<li class="blockList"> 317<h4>withOverrides</h4> 318<pre><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a> withOverrides(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Value</a> vis)</pre> 319<div class="block">Method that can be used for merging default values from `this` 320 instance with specified overrides; and either return `this` 321 if overrides had no effect (that is, result would be equal), 322 or a new instance with merged visibility settings.</div> 323<dl> 324<dt><span class="simpleTagLabel">Since:</span></dt> 325<dd>2.9</dd> 326</dl> 327</li> 328</ul> 329<a name="with-com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility-"> 330<!-- --> 331</a> 332<ul class="blockList"> 333<li class="blockList"> 334<h4>with</h4> 335<pre><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a> with(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a> v)</pre> 336<div class="block">Builder method that will create and return an instance that has specified 337 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonAutoDetect.Visibility</code></a> value to use for all property elements. 338 Typical usage would be something like: 339<pre> 340 mapper.setVisibilityChecker( 341 mapper.getVisibilityChecker().with(Visibility.NONE)); 342</pre> 343 (which would basically disable all auto-detection)</div> 344</li> 345</ul> 346<a name="withVisibility-com.fasterxml.jackson.annotation.PropertyAccessor-com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility-"> 347<!-- --> 348</a> 349<ul class="blockList"> 350<li class="blockList"> 351<h4>withVisibility</h4> 352<pre><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a> withVisibility(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/PropertyAccessor.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">PropertyAccessor</a> method, 353 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a> v)</pre> 354<div class="block">Builder method that will create and return an instance that has specified 355 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonAutoDetect.Visibility</code></a> value to use for specified property. 356 Typical usage would be: 357<pre> 358 mapper.setVisibilityChecker( 359 mapper.getVisibilityChecker().withVisibility(JsonMethod.FIELD, Visibility.ANY)); 360</pre> 361 (which would basically enable auto-detection for all member fields)</div> 362</li> 363</ul> 364<a name="withGetterVisibility-com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility-"> 365<!-- --> 366</a> 367<ul class="blockList"> 368<li class="blockList"> 369<h4>withGetterVisibility</h4> 370<pre><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a> withGetterVisibility(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a> v)</pre> 371<div class="block">Builder method that will return a checker instance that has 372 specified minimum visibility level for regular ("getXxx") getters.</div> 373</li> 374</ul> 375<a name="withIsGetterVisibility-com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility-"> 376<!-- --> 377</a> 378<ul class="blockList"> 379<li class="blockList"> 380<h4>withIsGetterVisibility</h4> 381<pre><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a> withIsGetterVisibility(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a> v)</pre> 382<div class="block">Builder method that will return a checker instance that has 383 specified minimum visibility level for "is-getters" ("isXxx").</div> 384</li> 385</ul> 386<a name="withSetterVisibility-com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility-"> 387<!-- --> 388</a> 389<ul class="blockList"> 390<li class="blockList"> 391<h4>withSetterVisibility</h4> 392<pre><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a> withSetterVisibility(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a> v)</pre> 393<div class="block">Builder method that will return a checker instance that has 394 specified minimum visibility level for setters.</div> 395</li> 396</ul> 397<a name="withCreatorVisibility-com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility-"> 398<!-- --> 399</a> 400<ul class="blockList"> 401<li class="blockList"> 402<h4>withCreatorVisibility</h4> 403<pre><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a> withCreatorVisibility(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a> v)</pre> 404<div class="block">Builder method that will return a checker instance that has 405 specified minimum visibility level for creator methods 406 (constructors, factory methods)</div> 407</li> 408</ul> 409<a name="withFieldVisibility-com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility-"> 410<!-- --> 411</a> 412<ul class="blockList"> 413<li class="blockList"> 414<h4>withFieldVisibility</h4> 415<pre><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</a> withFieldVisibility(<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a> v)</pre> 416<div class="block">Builder method that will return a checker instance that has 417 specified minimum visibility level for fields.</div> 418</li> 419</ul> 420<a name="isGetterVisible-java.lang.reflect.Method-"> 421<!-- --> 422</a> 423<ul class="blockList"> 424<li class="blockList"> 425<h4>isGetterVisible</h4> 426<pre>boolean isGetterVisible(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre> 427<div class="block">Method for checking whether given method is auto-detectable 428 as regular getter, with respect to its visibility (not considering 429 method signature or name, just visibility)</div> 430</li> 431</ul> 432<a name="isGetterVisible-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-"> 433<!-- --> 434</a> 435<ul class="blockList"> 436<li class="blockList"> 437<h4>isGetterVisible</h4> 438<pre>boolean isGetterVisible(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> m)</pre> 439</li> 440</ul> 441<a name="isIsGetterVisible-java.lang.reflect.Method-"> 442<!-- --> 443</a> 444<ul class="blockList"> 445<li class="blockList"> 446<h4>isIsGetterVisible</h4> 447<pre>boolean isIsGetterVisible(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre> 448<div class="block">Method for checking whether given method is auto-detectable 449 as is-getter, with respect to its visibility (not considering 450 method signature or name, just visibility)</div> 451</li> 452</ul> 453<a name="isIsGetterVisible-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-"> 454<!-- --> 455</a> 456<ul class="blockList"> 457<li class="blockList"> 458<h4>isIsGetterVisible</h4> 459<pre>boolean isIsGetterVisible(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> m)</pre> 460</li> 461</ul> 462<a name="isSetterVisible-java.lang.reflect.Method-"> 463<!-- --> 464</a> 465<ul class="blockList"> 466<li class="blockList"> 467<h4>isSetterVisible</h4> 468<pre>boolean isSetterVisible(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre> 469<div class="block">Method for checking whether given method is auto-detectable 470 as setter, with respect to its visibility (not considering 471 method signature or name, just visibility)</div> 472</li> 473</ul> 474<a name="isSetterVisible-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-"> 475<!-- --> 476</a> 477<ul class="blockList"> 478<li class="blockList"> 479<h4>isSetterVisible</h4> 480<pre>boolean isSetterVisible(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> m)</pre> 481</li> 482</ul> 483<a name="isCreatorVisible-java.lang.reflect.Member-"> 484<!-- --> 485</a> 486<ul class="blockList"> 487<li class="blockList"> 488<h4>isCreatorVisible</h4> 489<pre>boolean isCreatorVisible(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a> m)</pre> 490<div class="block">Method for checking whether given method is auto-detectable 491 as Creator, with respect to its visibility (not considering 492 method signature or name, just visibility)</div> 493</li> 494</ul> 495<a name="isCreatorVisible-com.fasterxml.jackson.databind.introspect.AnnotatedMember-"> 496<!-- --> 497</a> 498<ul class="blockList"> 499<li class="blockList"> 500<h4>isCreatorVisible</h4> 501<pre>boolean isCreatorVisible(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> m)</pre> 502</li> 503</ul> 504<a name="isFieldVisible-java.lang.reflect.Field-"> 505<!-- --> 506</a> 507<ul class="blockList"> 508<li class="blockList"> 509<h4>isFieldVisible</h4> 510<pre>boolean isFieldVisible(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> f)</pre> 511<div class="block">Method for checking whether given field is auto-detectable 512 as property, with respect to its visibility (not considering 513 method signature or name, just visibility)</div> 514</li> 515</ul> 516<a name="isFieldVisible-com.fasterxml.jackson.databind.introspect.AnnotatedField-"> 517<!-- --> 518</a> 519<ul class="blockListLast"> 520<li class="blockList"> 521<h4>isFieldVisible</h4> 522<pre>boolean isFieldVisible(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</a> f)</pre> 523</li> 524</ul> 525</li> 526</ul> 527</li> 528</ul> 529</div> 530</div> 531<!-- ========= END OF CLASS DATA ========= --> 532<!-- ======= START OF BOTTOM NAVBAR ====== --> 533<div class="bottomNav"><a name="navbar.bottom"> 534<!-- --> 535</a> 536<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 537<a name="navbar.bottom.firstrow"> 538<!-- --> 539</a> 540<ul class="navList" title="Navigation"> 541<li><a href="../../../../../overview-summary.html">Overview</a></li> 542<li><a href="package-summary.html">Package</a></li> 543<li class="navBarCell1Rev">Class</li> 544<li><a href="class-use/VisibilityChecker.html">Use</a></li> 545<li><a href="package-tree.html">Tree</a></li> 546<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 547<li><a href="../../../../../index-all.html">Index</a></li> 548<li><a href="../../../../../help-doc.html">Help</a></li> 549</ul> 550</div> 551<div class="subNav"> 552<ul class="navList"> 553<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/VirtualAnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="typeNameLink">Prev Class</span></a></li> 554<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.Std.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="typeNameLink">Next Class</span></a></li> 555</ul> 556<ul class="navList"> 557<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" target="_top">Frames</a></li> 558<li><a href="VisibilityChecker.html" target="_top">No Frames</a></li> 559</ul> 560<ul class="navList" id="allclasses_navbar_bottom"> 561<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 562</ul> 563<div> 564<script type="text/javascript"><!-- 565 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 566 if(window==top) { 567 allClassesLink.style.display = "block"; 568 } 569 else { 570 allClassesLink.style.display = "none"; 571 } 572 //--> 573</script> 574</div> 575<div> 576<ul class="subNavList"> 577<li>Summary: </li> 578<li><a href="#nested.class.summary">Nested</a> | </li> 579<li>Field | </li> 580<li>Constr | </li> 581<li><a href="#method.summary">Method</a></li> 582</ul> 583<ul class="subNavList"> 584<li>Detail: </li> 585<li>Field | </li> 586<li>Constr | </li> 587<li><a href="#method.detail">Method</a></li> 588</ul> 589</div> 590<a name="skip.navbar.bottom"> 591<!-- --> 592</a></div> 593<!-- ======== END OF BOTTOM NAVBAR ======= --> 594<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 595</body> 596</html> 597