granularity level: instruction
.class public final Lr0/k;
.super Ljava/lang/Object;
.source "SourceFile"
.field public final a:Ljava/lang/Class;
.field public final b:I
.field public final c:I
.method public constructor <init>(Ljava/lang/Class;II)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lr0/k;->a:Ljava/lang/Class;
iput p2, p0, Lr0/k;->b:I
iput p3, p0, Lr0/k;->c:I
return-void
.end method
.method public final equals(Ljava/lang/Object;)Z
.locals 3
instance-of v0, p1, Lr0/k;
const/4 v1, 0x0
if-eqz v0, :cond_0
check-cast p1, Lr0/k;
iget-object v0, p0, Lr0/k;->a:Ljava/lang/Class;
iget-object v2, p1, Lr0/k;->a:Ljava/lang/Class;
if-ne v0, v2, :cond_0
iget v0, p0, Lr0/k;->b:I
iget v2, p1, Lr0/k;->b:I
if-ne v0, v2, :cond_0
iget v0, p0, Lr0/k;->c:I
iget p1, p1, Lr0/k;->c:I
if-ne v0, p1, :cond_0
const/4 v1, 0x1
:cond_0
return v1
.end method
.method public final hashCode()I
.locals 3
iget-object v0, p0, Lr0/k;->a:Ljava/lang/Class;
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
const v1, 0xf4243
xor-int/2addr v0, v1
mul-int v0, v0, v1
iget v2, p0, Lr0/k;->b:I
xor-int/2addr v0, v2
mul-int v0, v0, v1
iget v1, p0, Lr0/k;->c:I
xor-int/2addr v0, v1
return v0
.end method
.method public final toString()Ljava/lang/String;
.locals 4
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "Dependency{anInterface="
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v1, p0, Lr0/k;->a:Ljava/lang/Class;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", type="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v1, p0, Lr0/k;->b:I
const/4 v2, 0x1
if-ne v1, v2, :cond_0
const-string v1, "required"
goto :goto_0
:cond_0
if-nez v1, :cond_1
const-string v1, "optional"
goto :goto_0
:cond_1
const-string v1, "set"
:goto_0
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", injection="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v1, p0, Lr0/k;->c:I
if-eqz v1, :cond_4
if-eq v1, v2, :cond_3
const/4 v2, 0x2
if-ne v1, v2, :cond_2
const-string v1, "deferred"
goto :goto_1
:cond_2
new-instance v0, Ljava/lang/AssertionError;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Unsupported injection: "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
throw v0
:cond_3
const-string v1, "provider"
goto :goto_1
:cond_4
const-string v1, "direct"
:goto_1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, "}"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method