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

dagger.hilt.processor.internal.root.AutoValue_ComponentTreeDepsMetadata Maven / Gradle / Ivy

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


package dagger.hilt.processor.internal.root;

import com.google.common.collect.ImmutableSet;
import com.squareup.javapoet.ClassName;
import javax.annotation.Generated;
import javax.lang.model.element.TypeElement;

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

  private final ClassName name;
  private final ImmutableSet aggregatedRootDeps;
  private final ImmutableSet defineComponentDeps;
  private final ImmutableSet aliasOfDeps;
  private final ImmutableSet aggregatedDeps;
  private final ImmutableSet aggregatedUninstallModulesDeps;
  private final ImmutableSet aggregatedEarlyEntryPointDeps;

  AutoValue_ComponentTreeDepsMetadata(
      ClassName name,
      ImmutableSet aggregatedRootDeps,
      ImmutableSet defineComponentDeps,
      ImmutableSet aliasOfDeps,
      ImmutableSet aggregatedDeps,
      ImmutableSet aggregatedUninstallModulesDeps,
      ImmutableSet aggregatedEarlyEntryPointDeps) {
    if (name == null) {
      throw new NullPointerException("Null name");
    }
    this.name = name;
    if (aggregatedRootDeps == null) {
      throw new NullPointerException("Null aggregatedRootDeps");
    }
    this.aggregatedRootDeps = aggregatedRootDeps;
    if (defineComponentDeps == null) {
      throw new NullPointerException("Null defineComponentDeps");
    }
    this.defineComponentDeps = defineComponentDeps;
    if (aliasOfDeps == null) {
      throw new NullPointerException("Null aliasOfDeps");
    }
    this.aliasOfDeps = aliasOfDeps;
    if (aggregatedDeps == null) {
      throw new NullPointerException("Null aggregatedDeps");
    }
    this.aggregatedDeps = aggregatedDeps;
    if (aggregatedUninstallModulesDeps == null) {
      throw new NullPointerException("Null aggregatedUninstallModulesDeps");
    }
    this.aggregatedUninstallModulesDeps = aggregatedUninstallModulesDeps;
    if (aggregatedEarlyEntryPointDeps == null) {
      throw new NullPointerException("Null aggregatedEarlyEntryPointDeps");
    }
    this.aggregatedEarlyEntryPointDeps = aggregatedEarlyEntryPointDeps;
  }

  @Override
  ClassName name() {
    return name;
  }

  @Override
  ImmutableSet aggregatedRootDeps() {
    return aggregatedRootDeps;
  }

  @Override
  ImmutableSet defineComponentDeps() {
    return defineComponentDeps;
  }

  @Override
  ImmutableSet aliasOfDeps() {
    return aliasOfDeps;
  }

  @Override
  ImmutableSet aggregatedDeps() {
    return aggregatedDeps;
  }

  @Override
  ImmutableSet aggregatedUninstallModulesDeps() {
    return aggregatedUninstallModulesDeps;
  }

  @Override
  ImmutableSet aggregatedEarlyEntryPointDeps() {
    return aggregatedEarlyEntryPointDeps;
  }

  @Override
  public String toString() {
    return "ComponentTreeDepsMetadata{"
         + "name=" + name + ", "
         + "aggregatedRootDeps=" + aggregatedRootDeps + ", "
         + "defineComponentDeps=" + defineComponentDeps + ", "
         + "aliasOfDeps=" + aliasOfDeps + ", "
         + "aggregatedDeps=" + aggregatedDeps + ", "
         + "aggregatedUninstallModulesDeps=" + aggregatedUninstallModulesDeps + ", "
         + "aggregatedEarlyEntryPointDeps=" + aggregatedEarlyEntryPointDeps
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof ComponentTreeDepsMetadata) {
      ComponentTreeDepsMetadata that = (ComponentTreeDepsMetadata) o;
      return (this.name.equals(that.name()))
           && (this.aggregatedRootDeps.equals(that.aggregatedRootDeps()))
           && (this.defineComponentDeps.equals(that.defineComponentDeps()))
           && (this.aliasOfDeps.equals(that.aliasOfDeps()))
           && (this.aggregatedDeps.equals(that.aggregatedDeps()))
           && (this.aggregatedUninstallModulesDeps.equals(that.aggregatedUninstallModulesDeps()))
           && (this.aggregatedEarlyEntryPointDeps.equals(that.aggregatedEarlyEntryPointDeps()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= name.hashCode();
    h$ *= 1000003;
    h$ ^= aggregatedRootDeps.hashCode();
    h$ *= 1000003;
    h$ ^= defineComponentDeps.hashCode();
    h$ *= 1000003;
    h$ ^= aliasOfDeps.hashCode();
    h$ *= 1000003;
    h$ ^= aggregatedDeps.hashCode();
    h$ *= 1000003;
    h$ ^= aggregatedUninstallModulesDeps.hashCode();
    h$ *= 1000003;
    h$ ^= aggregatedEarlyEntryPointDeps.hashCode();
    return h$;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy