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

dagger.internal.codegen.model.$AutoValue_ComponentPath Maven / Gradle / Ivy

The newest version!
package dagger.internal.codegen.model;

import com.google.common.collect.ImmutableList;

// Generated by com.google.auto.value.processor.AutoValueProcessor
abstract class $AutoValue_ComponentPath extends ComponentPath {

  private final ImmutableList components;

  $AutoValue_ComponentPath(
      ImmutableList components) {
    if (components == null) {
      throw new NullPointerException("Null components");
    }
    this.components = components;
  }

  @Override
  public ImmutableList components() {
    return components;
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof ComponentPath) {
      ComponentPath that = (ComponentPath) o;
      return this.components.equals(that.components());
    }
    return false;
  }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy