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

dagger.internal.codegen.kotlin.$AutoValue_KotlinMetadata Maven / Gradle / Ivy

There is a newer version: 2.52
Show newest version
package dagger.internal.codegen.kotlin;

import androidx.room.compiler.processing.XTypeElement;

// Generated by com.google.auto.value.processor.AutoValueProcessor
abstract class $AutoValue_KotlinMetadata extends KotlinMetadata {

  private final XTypeElement typeElement;

  private final KotlinMetadata.ClassMetadata classMetadata;

  $AutoValue_KotlinMetadata(
      XTypeElement typeElement,
      KotlinMetadata.ClassMetadata classMetadata) {
    if (typeElement == null) {
      throw new NullPointerException("Null typeElement");
    }
    this.typeElement = typeElement;
    if (classMetadata == null) {
      throw new NullPointerException("Null classMetadata");
    }
    this.classMetadata = classMetadata;
  }

  @Override
  XTypeElement typeElement() {
    return typeElement;
  }

  @Override
  KotlinMetadata.ClassMetadata classMetadata() {
    return classMetadata;
  }

  @Override
  public String toString() {
    return "KotlinMetadata{"
        + "typeElement=" + typeElement + ", "
        + "classMetadata=" + classMetadata
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof KotlinMetadata) {
      KotlinMetadata that = (KotlinMetadata) o;
      return this.typeElement.equals(that.typeElement())
          && this.classMetadata.equals(that.classMetadata());
    }
    return false;
  }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy