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

dagger.internal.codegen.validation.$AutoValue_ModelBindingGraphConverter_MissingBindingImpl Maven / Gradle / Ivy

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

import dagger.internal.codegen.model.BindingGraph;
import dagger.model.ComponentPath;
import dagger.model.Key;

// Generated by com.google.auto.value.processor.AutoValueProcessor
abstract class $AutoValue_ModelBindingGraphConverter_MissingBindingImpl extends ModelBindingGraphConverter.MissingBindingImpl {

  private final ComponentPath componentPath;

  private final Key key;

  private final BindingGraph.MissingBinding delegate;

  $AutoValue_ModelBindingGraphConverter_MissingBindingImpl(
      ComponentPath componentPath,
      Key key,
      BindingGraph.MissingBinding delegate) {
    if (componentPath == null) {
      throw new NullPointerException("Null componentPath");
    }
    this.componentPath = componentPath;
    if (key == null) {
      throw new NullPointerException("Null key");
    }
    this.key = key;
    if (delegate == null) {
      throw new NullPointerException("Null delegate");
    }
    this.delegate = delegate;
  }

  @Override
  public ComponentPath componentPath() {
    return componentPath;
  }

  @Override
  public Key key() {
    return key;
  }

  @Override
  BindingGraph.MissingBinding delegate() {
    return delegate;
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof ModelBindingGraphConverter.MissingBindingImpl) {
      ModelBindingGraphConverter.MissingBindingImpl that = (ModelBindingGraphConverter.MissingBindingImpl) o;
      return this.componentPath.equals(that.componentPath())
          && this.key.equals(that.key())
          && this.delegate.equals(that.delegate());
    }
    return false;
  }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy