Class NopAnnotationIntrospector

  • All Implemented Interfaces:
    Versioned, java.io.Serializable

    public abstract class NopAnnotationIntrospector
    extends AnnotationIntrospector
    implements java.io.Serializable
    Dummy, "no-operation" implementation of AnnotationIntrospector. Can be used as is to suppress handling of annotations; or as a basis for simple configuration overrides (whether based on annotations or not).
    See Also:
    Serialized Form
    • Field Detail

      • instance

        public static final NopAnnotationIntrospector instance
        Static immutable and shareable instance that can be used as "null" introspector: one that never finds any annotation information.
    • Constructor Detail

      • NopAnnotationIntrospector

        public NopAnnotationIntrospector()
    • Method Detail

      • version

        public Version version()
        Description copied from interface: Versioned
        Method called to detect version of the component that implements this interface; returned version should never be null, but may return specific "not available" instance (see Version for details).
        Specified by:
        version in interface Versioned
        Specified by:
        version in class AnnotationIntrospector
        Returns:
        Version of the component