@@ -327,24 +327,12 @@ public AccessPattern getNullAccessPattern() {
327
327
return AccessPattern .CONSTANT ;
328
328
}
329
329
330
- /**
331
- * This method may be called in conjunction with calls to
332
- * {@link #getEmptyValue(DeserializationContext)}, to check whether it needs
333
- * to be called just once (static values), or each time empty value is
334
- * needed.
335
- *
336
- * @since 2.9
337
- */
338
- public AccessPattern getEmptyAccessPattern () {
339
- return AccessPattern .DYNAMIC ;
340
- }
341
-
342
330
/*
343
331
/**********************************************************
344
- /* Other accessors
332
+ /* Accessors for other replacement/placeholder values
345
333
/**********************************************************
346
334
*/
347
-
335
+
348
336
/**
349
337
* Method called to determine value to be used for "empty" values
350
338
* (most commonly when deserializing from empty JSON Strings).
@@ -365,6 +353,24 @@ public Object getEmptyValue(DeserializationContext ctxt) throws JsonMappingExcep
365
353
return getNullValue (ctxt );
366
354
}
367
355
356
+ /**
357
+ * This method may be called in conjunction with calls to
358
+ * {@link #getEmptyValue(DeserializationContext)}, to check whether it needs
359
+ * to be called just once (static values), or each time empty value is
360
+ * needed.
361
+ *
362
+ * @since 2.9
363
+ */
364
+ public AccessPattern getEmptyAccessPattern () {
365
+ return AccessPattern .DYNAMIC ;
366
+ }
367
+
368
+ /*
369
+ /**********************************************************
370
+ /* Other accessors
371
+ /**********************************************************
372
+ */
373
+
368
374
/**
369
375
* Accessor that can be used to check whether this deserializer
370
376
* is expecting to possibly get an Object Identifier value instead of full value
0 commit comments