@@ -387,7 +387,7 @@ public <T> T readValue(JsonParser p, JavaType type) throws JacksonException {
387
387
388
388
/*
389
389
/**********************************************************************
390
- /* Public API, config setting accessors
390
+ /* Public API, config feature accessors
391
391
/**********************************************************************
392
392
*/
393
393
@@ -425,16 +425,6 @@ public final boolean hasSomeOfFeatures(int featureMask) {
425
425
return (_featureFlags & featureMask ) != 0 ;
426
426
}
427
427
428
- /**
429
- * Method for accessing the currently active parser.
430
- * May be different from the outermost parser
431
- * when content is buffered.
432
- *<p>
433
- * Use of this method is discouraged: if code has direct access
434
- * to the active parser, that should be used instead.
435
- */
436
- public final JsonParser getParser () { return _parser ; }
437
-
438
428
/**
439
429
* Accessor for checking whether input format has specified capability
440
430
* or not.
@@ -445,6 +435,22 @@ public final boolean isEnabled(StreamReadCapability cap) {
445
435
return _readCapabilities .isEnabled (cap );
446
436
}
447
437
438
+ /*
439
+ /**********************************************************************
440
+ /* Public API, accessor for helper objects
441
+ /**********************************************************************
442
+ */
443
+
444
+ /**
445
+ * Method for accessing the currently active parser.
446
+ * May be different from the outermost parser
447
+ * when content is buffered.
448
+ *<p>
449
+ * Use of this method is discouraged: if code has direct access
450
+ * to the active parser, that should be used instead.
451
+ */
452
+ public final JsonParser getParser () { return _parser ; }
453
+
448
454
public final Object findInjectableValue (Object valueId ,
449
455
BeanProperty forProperty , Object beanInstance )
450
456
{
@@ -543,7 +549,7 @@ public boolean hasExplicitDeserializerFor(Class<?> valueType) {
543
549
544
550
/*
545
551
/**********************************************************************
546
- /* Public API, CoercionConfig access (2.12+)
552
+ /* Public API, CoercionConfig access
547
553
/**********************************************************************
548
554
*/
549
555
0 commit comments