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

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

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


package dagger.internal.codegen.base;

import com.squareup.javapoet.ClassName;
import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 abstract class $AutoValue_ModuleAnnotation extends ModuleAnnotation {

  private final ClassName className;

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

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

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

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof ModuleAnnotation) {
      ModuleAnnotation that = (ModuleAnnotation) 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