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

dagger.spi.model.$AutoValue_ComponentPath Maven / Gradle / Ivy

There is a newer version: 2.52
Show newest version
package dagger.spi.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