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

dagger.hilt.processor.internal.earlyentrypoint.AutoValue_AggregatedEarlyEntryPointMetadata Maven / Gradle / Ivy

There is a newer version: 2.52
Show newest version
package dagger.hilt.processor.internal.earlyentrypoint;

import androidx.room.compiler.processing.XTypeElement;

// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_AggregatedEarlyEntryPointMetadata extends AggregatedEarlyEntryPointMetadata {

  private final XTypeElement aggregatingElement;

  private final XTypeElement earlyEntryPoint;

  AutoValue_AggregatedEarlyEntryPointMetadata(
      XTypeElement aggregatingElement,
      XTypeElement earlyEntryPoint) {
    if (aggregatingElement == null) {
      throw new NullPointerException("Null aggregatingElement");
    }
    this.aggregatingElement = aggregatingElement;
    if (earlyEntryPoint == null) {
      throw new NullPointerException("Null earlyEntryPoint");
    }
    this.earlyEntryPoint = earlyEntryPoint;
  }

  @Override
  public XTypeElement aggregatingElement() {
    return aggregatingElement;
  }

  @Override
  public XTypeElement earlyEntryPoint() {
    return earlyEntryPoint;
  }

  @Override
  public String toString() {
    return "AggregatedEarlyEntryPointMetadata{"
        + "aggregatingElement=" + aggregatingElement + ", "
        + "earlyEntryPoint=" + earlyEntryPoint
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof AggregatedEarlyEntryPointMetadata) {
      AggregatedEarlyEntryPointMetadata that = (AggregatedEarlyEntryPointMetadata) o;
      return this.aggregatingElement.equals(that.aggregatingElement())
          && this.earlyEntryPoint.equals(that.earlyEntryPoint());
    }
    return false;
  }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy