Class WildcardKey.QualifiedImpl

  • All Implemented Interfaces:
    java.lang.annotation.Annotation, javax.inject.Provider<java.lang.annotation.Annotation>
    Enclosing class:
    WildcardKey

    private static final class WildcardKey.QualifiedImpl
    extends java.lang.Object
    implements WildcardKey.Qualified, javax.inject.Provider<java.lang.annotation.Annotation>
    Pseudo-Annotation that can wrap any implementation type as a Qualifier.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.annotation.Annotation qualifier  
      private java.lang.Class<?> value  
    • Constructor Summary

      Constructors 
      Constructor Description
      QualifiedImpl​(java.lang.Class<?> value, java.lang.annotation.Annotation qualifier)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()  
      boolean equals​(java.lang.Object rhs)  
      java.lang.annotation.Annotation get()  
      int hashCode()  
      java.lang.String toString()  
      java.lang.Class<?> value()  
      • Methods inherited from class java.lang.Object

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

      • value

        private final java.lang.Class<?> value
      • qualifier

        private final java.lang.annotation.Annotation qualifier
    • Constructor Detail

      • QualifiedImpl

        QualifiedImpl​(java.lang.Class<?> value,
                      java.lang.annotation.Annotation qualifier)
    • Method Detail

      • value

        public java.lang.Class<?> value()
      • get

        public java.lang.annotation.Annotation get()
        Specified by:
        get in interface javax.inject.Provider<java.lang.annotation.Annotation>
      • annotationType

        public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
        Specified by:
        annotationType in interface java.lang.annotation.Annotation
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.lang.annotation.Annotation
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object rhs)
        Specified by:
        equals in interface java.lang.annotation.Annotation
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface java.lang.annotation.Annotation
        Overrides:
        toString in class java.lang.Object