Class AnnotationBundleKey

java.lang.Object
org.glassfish.jersey.jackson.internal.jackson.jaxrs.cfg.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 JAX-RS end points.
Since:
2.2
  • Constructor Details

    • AnnotationBundleKey

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

    • 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
    • toString

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object