Package dagger.model

Class Key.MultibindingContributionIdentifier

  • Enclosing class:
    Key

    public static final class Key.MultibindingContributionIdentifier
    extends java.lang.Object
    An object that identifies a multibinding contribution method and the module class that contributes it to the graph.
    See Also:
    Key.multibindingContributionIdentifier()
    • Constructor Summary

      Constructors 
      Constructor Description
      MultibindingContributionIdentifier​(java.lang.String bindingElement, java.lang.String module)
      Deprecated.
      MultibindingContributionIdentifier​(javax.lang.model.element.ExecutableElement bindingMethod, javax.lang.model.element.TypeElement contributingModule)
      Deprecated.
      This is only meant to be called from code in dagger.internal.codegen.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String bindingElement()
      Deprecated.
      This is only meant to be called from code in dagger.internal.codegen.
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.lang.String module()
      Deprecated.
      This is only meant to be called from code in dagger.internal.codegen.
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

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

      • MultibindingContributionIdentifier

        @Deprecated
        public MultibindingContributionIdentifier​(javax.lang.model.element.ExecutableElement bindingMethod,
                                                  javax.lang.model.element.TypeElement contributingModule)
        Deprecated.
        This is only meant to be called from code in dagger.internal.codegen. It is not part of a specified API and may change at any point.
      • MultibindingContributionIdentifier

        @Deprecated
        public MultibindingContributionIdentifier​(java.lang.String bindingElement,
                                                  java.lang.String module)
        Deprecated.
    • Method Detail

      • module

        @Deprecated
        public java.lang.String module()
        Deprecated.
        This is only meant to be called from code in dagger.internal.codegen. It is not part of a specified API and may change at any point.
      • bindingElement

        @Deprecated
        public java.lang.String bindingElement()
        Deprecated.
        This is only meant to be called from code in dagger.internal.codegen. It is not part of a specified API and may change at any point.
      • toString

        public java.lang.String toString()

        The returned string is human-readable and distinguishes the keys in the same way as the whole object.

        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object