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

dagger.hilt.processor.internal.uninstallmodules.AutoValue_AggregatedUninstallModulesMetadata Maven / Gradle / Ivy

There is a newer version: 2.45-kim-rc1
Show newest version


package dagger.hilt.processor.internal.uninstallmodules;

import com.google.common.collect.ImmutableList;
import javax.annotation.Generated;
import javax.lang.model.element.TypeElement;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_AggregatedUninstallModulesMetadata extends AggregatedUninstallModulesMetadata {

  private final TypeElement aggregatingElement;
  private final TypeElement testElement;
  private final ImmutableList uninstallModuleElements;

  AutoValue_AggregatedUninstallModulesMetadata(
      TypeElement aggregatingElement,
      TypeElement testElement,
      ImmutableList uninstallModuleElements) {
    if (aggregatingElement == null) {
      throw new NullPointerException("Null aggregatingElement");
    }
    this.aggregatingElement = aggregatingElement;
    if (testElement == null) {
      throw new NullPointerException("Null testElement");
    }
    this.testElement = testElement;
    if (uninstallModuleElements == null) {
      throw new NullPointerException("Null uninstallModuleElements");
    }
    this.uninstallModuleElements = uninstallModuleElements;
  }

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

  @Override
  public TypeElement testElement() {
    return testElement;
  }

  @Override
  public ImmutableList uninstallModuleElements() {
    return uninstallModuleElements;
  }

  @Override
  public String toString() {
    return "AggregatedUninstallModulesMetadata{"
         + "aggregatingElement=" + aggregatingElement + ", "
         + "testElement=" + testElement + ", "
         + "uninstallModuleElements=" + uninstallModuleElements
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy