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

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

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

import androidx.room.compiler.processing.XElement;

// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_SpiModelBindingGraphConverter_DaggerElementImpl extends SpiModelBindingGraphConverter.DaggerElementImpl {

  private final XElement element;

  AutoValue_SpiModelBindingGraphConverter_DaggerElementImpl(
      XElement element) {
    if (element == null) {
      throw new NullPointerException("Null element");
    }
    this.element = element;
  }

  @Override
  XElement element() {
    return element;
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy