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

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

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

import androidx.room.compiler.processing.XAnnotation;
import com.google.common.base.Equivalence;

// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_DaggerAnnotation extends DaggerAnnotation {

  private final Equivalence.Wrapper equivalenceWrapper;

  AutoValue_DaggerAnnotation(
      Equivalence.Wrapper equivalenceWrapper) {
    if (equivalenceWrapper == null) {
      throw new NullPointerException("Null equivalenceWrapper");
    }
    this.equivalenceWrapper = equivalenceWrapper;
  }

  @Override
  Equivalence.Wrapper equivalenceWrapper() {
    return equivalenceWrapper;
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy