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

dagger.hilt.processor.internal.kotlin.AutoValue_KotlinMetadata_ValueParameterMetadata Maven / Gradle / Ivy

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

// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_KotlinMetadata_ValueParameterMetadata extends KotlinMetadata.ValueParameterMetadata {

  private final int flags;

  private final String name;

  AutoValue_KotlinMetadata_ValueParameterMetadata(
      int flags,
      String name) {
    this.flags = flags;
    if (name == null) {
      throw new NullPointerException("Null name");
    }
    this.name = name;
  }

  @Override
  int flags() {
    return flags;
  }

  @Override
  String name() {
    return name;
  }

  @Override
  public String toString() {
    return "ValueParameterMetadata{"
        + "flags=" + flags + ", "
        + "name=" + name
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy