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

dagger.internal.codegen.model.AutoValue_Scope Maven / Gradle / Ivy

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

// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_Scope extends Scope {

  private final DaggerAnnotation scopeAnnotation;

  AutoValue_Scope(
      DaggerAnnotation scopeAnnotation) {
    if (scopeAnnotation == null) {
      throw new NullPointerException("Null scopeAnnotation");
    }
    this.scopeAnnotation = scopeAnnotation;
  }

  @Override
  public DaggerAnnotation scopeAnnotation() {
    return scopeAnnotation;
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy