Class AnnotationBundleKey


  • public final class AnnotationBundleKey
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      AnnotationBundleKey​(java.lang.annotation.Annotation[] annotations, java.lang.Class<?> type)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      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.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AnnotationBundleKey

        public AnnotationBundleKey​(java.lang.annotation.Annotation[] annotations,
                                   java.lang.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 java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object