Class AnnotationBundleKey


  • public final class AnnotationBundleKey
    extends Object
    Helper class used to allow efficient caching of information, given a sequence of Annotations. This is mostly used for reusing introspected information on Jakarta-RS end points.
    • Constructor Detail

      • AnnotationBundleKey

        public AnnotationBundleKey​(Annotation[] annotations,
                                   Class<?> type)
    • Method Detail

      • immutableKey

        public AnnotationBundleKey immutableKey()
        Method called to create a safe immutable copy of the key; used when adding entry with this key -- lookups are ok without calling the method.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object