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

The newest version!
package dagger.hilt.android.processor.internal.customtestapplication;

import androidx.room.compiler.processing.XTypeElement;
import com.squareup.javapoet.ClassName;

// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_CustomTestApplicationMetadata extends CustomTestApplicationMetadata {

  private final XTypeElement element;

  private final ClassName baseAppName;

  AutoValue_CustomTestApplicationMetadata(
      XTypeElement 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
  XTypeElement 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