dagger.internal.codegen.base.$AutoValue_ComponentAnnotation 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.
The 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$;
}
}