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

dagger.hilt.android.processor.internal.customtestapplication.AutoValue_CustomTestApplicationMetadata Maven / Gradle / Ivy

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


package dagger.hilt.android.processor.internal.customtestapplication;

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_CustomTestApplicationMetadata extends CustomTestApplicationMetadata {

  private final TypeElement element;
  private final ClassName baseAppName;

  AutoValue_CustomTestApplicationMetadata(
      TypeElement element,
      ClassName baseAppName) {
    if (element == null) {
      throw new NullPointerException("Null element");
    }
    this.element = element;
    if (baseAppName == null) {
      throw new NullPointerException("Null baseAppName");
    }
    this.baseAppName = baseAppName;
  }

  @Override
  TypeElement element() {
    return element;
  }

  @Override
  ClassName baseAppName() {
    return baseAppName;
  }

  @Override
  public String toString() {
    return "CustomTestApplicationMetadata{"
         + "element=" + element + ", "
         + "baseAppName=" + baseAppName
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy