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

dagger.internal.codegen.binding.$AutoValue_BindingGraphConverter_MissingBindingImpl Maven / Gradle / Ivy

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

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

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

  private final ComponentPath componentPath;

  private final Key key;

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

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy