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

dagger.internal.codegen.validation.AutoValue_SpiModelBindingGraphConverter_DaggerAnnotationImpl Maven / Gradle / Ivy

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

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

// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_SpiModelBindingGraphConverter_DaggerAnnotationImpl extends SpiModelBindingGraphConverter.DaggerAnnotationImpl {

  private final Equivalence.Wrapper annotation;

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy