@Override @Deprecated // since 2.9 public boolean hasAsValueAnnotation(AnnotatedMethod am) { return _primary.hasAsValueAnnotation(am) || _secondary.hasAsValueAnnotation(am); }
/** * Method for checking whether given method has an annotation * that suggests that the return value of annotated method * should be used as "the value" of the object instance; usually * serialized as a primitive value such as String or number. * * @return {@link Boolean#TRUE} if such annotation is found and is not disabled; * {@link Boolean#FALSE} if disabled annotation (block) is found (to indicate * accessor is definitely NOT to be used "as value"); or `null` if no * information found. * * @since 2.9 */ public Boolean hasAsValue(Annotated a) { // 20-Nov-2016, tatu: Delegate in 2.9; remove redirect from later versions if (a instanceof AnnotatedMethod) { if (hasAsValueAnnotation((AnnotatedMethod) a)) { return true; } } return null; }
@Override public boolean hasAsValueAnnotation(AnnotatedMethod am) { return _primary.hasAsValueAnnotation(am) || _secondary.hasAsValueAnnotation(am); }
@Override public boolean hasAsValueAnnotation(AnnotatedMethod am) { return _primary.hasAsValueAnnotation(am) || _secondary.hasAsValueAnnotation(am); }
@Override public boolean hasAsValueAnnotation(AnnotatedMethod am) { return _primary.hasAsValueAnnotation(am) || _secondary.hasAsValueAnnotation(am); }
@Override public boolean hasAsValueAnnotation(AnnotatedMethod am) { return _primary.hasAsValueAnnotation(am) || _secondary.hasAsValueAnnotation(am); }
@Override public boolean hasAsValueAnnotation(AnnotatedMethod am) { return _primary.hasAsValueAnnotation(am) || _secondary.hasAsValueAnnotation(am); }
@Override @Deprecated // since 2.9 public boolean hasAsValueAnnotation(AnnotatedMethod am) { return _primary.hasAsValueAnnotation(am) || _secondary.hasAsValueAnnotation(am); }
/** * Method for checking whether given method has an annotation * that suggests that the return value of annotated method * should be used as "the value" of the object instance; usually * serialized as a primitive value such as String or number. * * @return {@link Boolean#TRUE} if such annotation is found and is not disabled; * {@link Boolean#FALSE} if disabled annotation (block) is found (to indicate * accessor is definitely NOT to be used "as value"); or `null` if no * information found. * * @since 2.9 */ public Boolean hasAsValue(Annotated a) { // 20-Nov-2016, tatu: Delegate in 2.9; remove redirect from later versions if (a instanceof AnnotatedMethod) { if (hasAsValueAnnotation((AnnotatedMethod) a)) { return true; } } return null; }
if (ai.hasAsValueAnnotation(m)) { if (_jsonValueGetters == null) { _jsonValueGetters = new LinkedList<AnnotatedMethod>();
if (ai.hasAsValueAnnotation(m)) { if (_jsonValueGetters == null) { _jsonValueGetters = new LinkedList<AnnotatedMethod>();
if (ai.hasAsValueAnnotation(m)) { if (_jsonValueGetters == null) { _jsonValueGetters = new LinkedList<AnnotatedMethod>();
if (ai.hasAsValueAnnotation(m)) { if (_jsonValueGetters == null) { _jsonValueGetters = new LinkedList<AnnotatedMethod>();
if (ai.hasAsValueAnnotation(m)) { if (_jsonValueGetters == null) { _jsonValueGetters = new LinkedList<AnnotatedMethod>();