granularity level: instruction
.class public final Lcom/google/firebase/components/Dependency;
.super Ljava/lang/Object;
.source "Dependency.java"
.field private final anInterface:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
.field private final injection:I
.field private final type:I
.method private constructor <init>(Ljava/lang/Class;II)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;II)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-string v0, "Null dependency anInterface."
invoke-static {p1, v0}, Lcom/google/firebase/components/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/Class;
iput-object p1, p0, Lcom/google/firebase/components/Dependency;->anInterface:Ljava/lang/Class;
iput p2, p0, Lcom/google/firebase/components/Dependency;->type:I
iput p3, p0, Lcom/google/firebase/components/Dependency;->injection:I
return-void
.end method
.method public static deferred(Ljava/lang/Class;)Lcom/google/firebase/components/Dependency;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;)",
"Lcom/google/firebase/components/Dependency;"
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method private static describeInjection(I)Ljava/lang/String;
.locals 3
const/4 v0, 0x0
return-object v0
.end method
.method public static optional(Ljava/lang/Class;)Lcom/google/firebase/components/Dependency;
.locals 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;)",
"Lcom/google/firebase/components/Dependency;"
}
.end annotation
new-instance v0, Lcom/google/firebase/components/Dependency;
const/4 v1, 0x0
invoke-direct {v0, p0, v1, v1}, Lcom/google/firebase/components/Dependency;-><init>(Ljava/lang/Class;II)V
return-object v0
.end method
.method public static optionalProvider(Ljava/lang/Class;)Lcom/google/firebase/components/Dependency;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;)",
"Lcom/google/firebase/components/Dependency;"
}
.end annotation
new-instance v0, Lcom/google/firebase/components/Dependency;
const/4 v1, 0x0
const/4 v2, 0x1
invoke-direct {v0, p0, v1, v2}, Lcom/google/firebase/components/Dependency;-><init>(Ljava/lang/Class;II)V
return-object v0
.end method
.method public static required(Ljava/lang/Class;)Lcom/google/firebase/components/Dependency;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;)",
"Lcom/google/firebase/components/Dependency;"
}
.end annotation
new-instance v0, Lcom/google/firebase/components/Dependency;
const/4 v1, 0x1
const/4 v2, 0x0
invoke-direct {v0, p0, v1, v2}, Lcom/google/firebase/components/Dependency;-><init>(Ljava/lang/Class;II)V
return-object v0
.end method
.method public static requiredProvider(Ljava/lang/Class;)Lcom/google/firebase/components/Dependency;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;)",
"Lcom/google/firebase/components/Dependency;"
}
.end annotation
new-instance v0, Lcom/google/firebase/components/Dependency;
const/4 v1, 0x1
invoke-direct {v0, p0, v1, v1}, Lcom/google/firebase/components/Dependency;-><init>(Ljava/lang/Class;II)V
return-object v0
.end method
.method public static setOf(Ljava/lang/Class;)Lcom/google/firebase/components/Dependency;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;)",
"Lcom/google/firebase/components/Dependency;"
}
.end annotation
new-instance v0, Lcom/google/firebase/components/Dependency;
const/4 v1, 0x2
const/4 v2, 0x0
invoke-direct {v0, p0, v1, v2}, Lcom/google/firebase/components/Dependency;-><init>(Ljava/lang/Class;II)V
return-object v0
.end method
.method public static setOfProvider(Ljava/lang/Class;)Lcom/google/firebase/components/Dependency;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;)",
"Lcom/google/firebase/components/Dependency;"
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 3
const/4 v0, 0x0
return v0
.end method
.method public getInterface()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
iget-object v0, p0, Lcom/google/firebase/components/Dependency;->anInterface:Ljava/lang/Class;
return-object v0
.end method
.method public hashCode()I
.locals 3
iget-object v0, p0, Lcom/google/firebase/components/Dependency;->anInterface: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, Lcom/google/firebase/components/Dependency;->type:I
xor-int/2addr v0, v2
mul-int v0, v0, v1
iget v1, p0, Lcom/google/firebase/components/Dependency;->injection:I
xor-int/2addr v0, v1
return v0
.end method
.method public isDeferred()Z
.locals 2
iget v0, p0, Lcom/google/firebase/components/Dependency;->injection:I
const/4 v1, 0x2
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public isDirectInjection()Z
.locals 1
iget v0, p0, Lcom/google/firebase/components/Dependency;->injection:I
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public isRequired()Z
.locals 2
iget v0, p0, Lcom/google/firebase/components/Dependency;->type:I
const/4 v1, 0x1
const/4 v1, 0x0
:goto_0
return v1
.end method
.method public isSet()Z
.locals 2
iget v0, p0, Lcom/google/firebase/components/Dependency;->type:I
const/4 v1, 0x2
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
const/4 v0, 0x0
return-object v0
.end method