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

dagger.internal.codegen.base.$AutoValue_ComponentAnnotation Maven / Gradle / Ivy

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

import com.squareup.javapoet.ClassName;

// Generated by com.google.auto.value.processor.AutoValueProcessor
abstract class $AutoValue_ComponentAnnotation extends ComponentAnnotation {

  private final ClassName className;

  $AutoValue_ComponentAnnotation(
      ClassName className) {
    if (className == null) {
      throw new NullPointerException("Null className");
    }
    this.className = className;
  }

  @Override
  public ClassName className() {
    return className;
  }

  @Override
  public String toString() {
    return "ComponentAnnotation{"
        + "className=" + className
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof ComponentAnnotation) {
      ComponentAnnotation that = (ComponentAnnotation) o;
      return this.className.equals(that.className());
    }
    return false;
  }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy