Class Key.MultibindingContributionIdentifier

java.lang.Object
dagger.spi.model.Key.MultibindingContributionIdentifier
Enclosing class:
Key

public abstract static class Key.MultibindingContributionIdentifier extends Object
An object that identifies a multibinding contribution method and the module class that contributes it to the graph.
See Also:
  • Constructor Details

    • MultibindingContributionIdentifier

      public MultibindingContributionIdentifier()
  • Method Details

    • contributingModule

      public abstract String contributingModule()
      Returns the module containing the multibinding method.
    • bindingMethod

      public abstract String bindingMethod()
      Returns the multibinding method that defines teh multibinding contribution.
    • toString

      public final String toString()

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

      Overrides:
      toString in class Object