dagger.hilt.processor.internal.root.AutoValue_ComponentTreeDepsMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hilt-compiler Show documentation
Show all versions of hilt-compiler Show documentation
A fast dependency injector for Android and Java.
The newest version!
package dagger.hilt.processor.internal.root;
import androidx.room.compiler.processing.XTypeElement;
import com.google.common.collect.ImmutableSet;
import com.squareup.javapoet.ClassName;
// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_ComponentTreeDepsMetadata extends ComponentTreeDepsMetadata {
private final ClassName name;
private final ImmutableSet aggregatedRootDeps;
private final ImmutableSet defineComponentDeps;
private final ImmutableSet aliasOfDeps;
private final ImmutableSet aggregatedDeps;
private final ImmutableSet aggregatedUninstallModulesDeps;
private final ImmutableSet aggregatedEarlyEntryPointDeps;
AutoValue_ComponentTreeDepsMetadata(
ClassName name,
ImmutableSet aggregatedRootDeps,
ImmutableSet defineComponentDeps,
ImmutableSet aliasOfDeps,
ImmutableSet aggregatedDeps,
ImmutableSet aggregatedUninstallModulesDeps,
ImmutableSet aggregatedEarlyEntryPointDeps) {
if (name == null) {
throw new NullPointerException("Null name");
}
this.name = name;
if (aggregatedRootDeps == null) {
throw new NullPointerException("Null aggregatedRootDeps");
}
this.aggregatedRootDeps = aggregatedRootDeps;
if (defineComponentDeps == null) {
throw new NullPointerException("Null defineComponentDeps");
}
this.defineComponentDeps = defineComponentDeps;
if (aliasOfDeps == null) {
throw new NullPointerException("Null aliasOfDeps");
}
this.aliasOfDeps = aliasOfDeps;
if (aggregatedDeps == null) {
throw new NullPointerException("Null aggregatedDeps");
}
this.aggregatedDeps = aggregatedDeps;
if (aggregatedUninstallModulesDeps == null) {
throw new NullPointerException("Null aggregatedUninstallModulesDeps");
}
this.aggregatedUninstallModulesDeps = aggregatedUninstallModulesDeps;
if (aggregatedEarlyEntryPointDeps == null) {
throw new NullPointerException("Null aggregatedEarlyEntryPointDeps");
}
this.aggregatedEarlyEntryPointDeps = aggregatedEarlyEntryPointDeps;
}
@Override
ClassName name() {
return name;
}
@Override
ImmutableSet aggregatedRootDeps() {
return aggregatedRootDeps;
}
@Override
ImmutableSet defineComponentDeps() {
return defineComponentDeps;
}
@Override
ImmutableSet aliasOfDeps() {
return aliasOfDeps;
}
@Override
ImmutableSet aggregatedDeps() {
return aggregatedDeps;
}
@Override
ImmutableSet aggregatedUninstallModulesDeps() {
return aggregatedUninstallModulesDeps;
}
@Override
ImmutableSet aggregatedEarlyEntryPointDeps() {
return aggregatedEarlyEntryPointDeps;
}
@Override
public String toString() {
return "ComponentTreeDepsMetadata{"
+ "name=" + name + ", "
+ "aggregatedRootDeps=" + aggregatedRootDeps + ", "
+ "defineComponentDeps=" + defineComponentDeps + ", "
+ "aliasOfDeps=" + aliasOfDeps + ", "
+ "aggregatedDeps=" + aggregatedDeps + ", "
+ "aggregatedUninstallModulesDeps=" + aggregatedUninstallModulesDeps + ", "
+ "aggregatedEarlyEntryPointDeps=" + aggregatedEarlyEntryPointDeps
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ComponentTreeDepsMetadata) {
ComponentTreeDepsMetadata that = (ComponentTreeDepsMetadata) o;
return this.name.equals(that.name())
&& this.aggregatedRootDeps.equals(that.aggregatedRootDeps())
&& this.defineComponentDeps.equals(that.defineComponentDeps())
&& this.aliasOfDeps.equals(that.aliasOfDeps())
&& this.aggregatedDeps.equals(that.aggregatedDeps())
&& this.aggregatedUninstallModulesDeps.equals(that.aggregatedUninstallModulesDeps())
&& this.aggregatedEarlyEntryPointDeps.equals(that.aggregatedEarlyEntryPointDeps());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= name.hashCode();
h$ *= 1000003;
h$ ^= aggregatedRootDeps.hashCode();
h$ *= 1000003;
h$ ^= defineComponentDeps.hashCode();
h$ *= 1000003;
h$ ^= aliasOfDeps.hashCode();
h$ *= 1000003;
h$ ^= aggregatedDeps.hashCode();
h$ *= 1000003;
h$ ^= aggregatedUninstallModulesDeps.hashCode();
h$ *= 1000003;
h$ ^= aggregatedEarlyEntryPointDeps.hashCode();
return h$;
}
}