Class ConfigImpl

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.annotation.Annotation

    public class ConfigImpl
    extends java.lang.Object
    implements Config, java.io.Serializable
    Utility class for using Config annotation as guice bindings qualifier. Supposed internal usage only (ConfigBindingModule).

    Implementation is the same as core guice's com.google.inject.name.NamedImpl.

    Since:
    05.05.2018
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigImpl​(java.lang.String val)  
    • 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 o)  
      int hashCode()  
      java.lang.String toString()  
      java.lang.String value()  
      • Methods inherited from class java.lang.Object

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

      • ConfigImpl

        public ConfigImpl​(java.lang.String val)
    • Method Detail

      • value

        public java.lang.String value()
      • 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 o)
        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
      • annotationType

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