dagger.internal.codegen.base.$AutoValue_ModuleAnnotation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dagger-compiler Show documentation
Show all versions of dagger-compiler Show documentation
A fast dependency injector for Android and Java.
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$;
}
}