All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dagger.internal.codegen.binding.AutoValue_BindingGraphConverter_ResolvedBindingsWithPath Maven / Gradle / Ivy

There is a newer version: 2.52
Show newest version
package dagger.internal.codegen.binding;

import dagger.internal.codegen.model.ComponentPath;

// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_BindingGraphConverter_ResolvedBindingsWithPath extends BindingGraphConverter.ResolvedBindingsWithPath {

  private final ResolvedBindings resolvedBindings;

  private final ComponentPath componentPath;

  AutoValue_BindingGraphConverter_ResolvedBindingsWithPath(
      ResolvedBindings resolvedBindings,
      ComponentPath componentPath) {
    if (resolvedBindings == null) {
      throw new NullPointerException("Null resolvedBindings");
    }
    this.resolvedBindings = resolvedBindings;
    if (componentPath == null) {
      throw new NullPointerException("Null componentPath");
    }
    this.componentPath = componentPath;
  }

  @Override
  ResolvedBindings resolvedBindings() {
    return resolvedBindings;
  }

  @Override
  ComponentPath componentPath() {
    return componentPath;
  }

  @Override
  public String toString() {
    return "ResolvedBindingsWithPath{"
        + "resolvedBindings=" + resolvedBindings + ", "
        + "componentPath=" + componentPath
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof BindingGraphConverter.ResolvedBindingsWithPath) {
      BindingGraphConverter.ResolvedBindingsWithPath that = (BindingGraphConverter.ResolvedBindingsWithPath) o;
      return this.resolvedBindings.equals(that.resolvedBindings())
          && this.componentPath.equals(that.componentPath());
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= resolvedBindings.hashCode();
    h$ *= 1000003;
    h$ ^= componentPath.hashCode();
    return h$;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy