granularity level: instruction
.class public final Lcom/google/firebase/components/Component;
.super Ljava/lang/Object;
.source "Component.java"
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/firebase/components/Component$Builder;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
.field private final dependencies:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Lcom/google/firebase/components/Dependency;",
">;"
}
.end annotation
.end field
.field private final factory:Lcom/google/firebase/components/ComponentFactory;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/firebase/components/ComponentFactory<",
"TT;>;"
}
.end annotation
.end field
.field private final instantiation:I
.field private final name:Ljava/lang/String;
.field private final providedInterfaces:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Ljava/lang/Class<",
"-TT;>;>;"
}
.end annotation
.end field
.field private final publishedEvents:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
.end field
.field private final type:I
.method private constructor <init>(Ljava/lang/String;Ljava/util/Set;Ljava/util/Set;IILcom/google/firebase/components/ComponentFactory;Ljava/util/Set;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/util/Set<",
"Ljava/lang/Class<",
"-TT;>;>;",
"Ljava/util/Set<",
"Lcom/google/firebase/components/Dependency;",
">;II",
"Lcom/google/firebase/components/ComponentFactory<",
"TT;>;",
"Ljava/util/Set<",
"Ljava/lang/Class<",
"*>;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/google/firebase/components/Component;->name:Ljava/lang/String;
invoke-static {p2}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set;
move-result-object p1
iput-object p1, p0, Lcom/google/firebase/components/Component;->providedInterfaces:Ljava/util/Set;
invoke-static {p3}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set;
move-result-object p1
iput-object p1, p0, Lcom/google/firebase/components/Component;->dependencies:Ljava/util/Set;
iput p4, p0, Lcom/google/firebase/components/Component;->instantiation:I
iput p5, p0, Lcom/google/firebase/components/Component;->type:I
iput-object p6, p0, Lcom/google/firebase/components/Component;->factory:Lcom/google/firebase/components/ComponentFactory;
invoke-static {p7}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set;
move-result-object p1
iput-object p1, p0, Lcom/google/firebase/components/Component;->publishedEvents:Ljava/util/Set;
return-void
.end method
.method synthetic constructor <init>(Ljava/lang/String;Ljava/util/Set;Ljava/util/Set;IILcom/google/firebase/components/ComponentFactory;Ljava/util/Set;Lcom/google/firebase/components/Component$1;)V
.locals 0
invoke-direct/range {p0 .. p7}, Lcom/google/firebase/components/Component;-><init>(Ljava/lang/String;Ljava/util/Set;Ljava/util/Set;IILcom/google/firebase/components/ComponentFactory;Ljava/util/Set;)V
return-void
.end method
.method public static builder(Ljava/lang/Class;)Lcom/google/firebase/components/Component$Builder;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TT;>;)",
"Lcom/google/firebase/components/Component$Builder<",
"TT;>;"
}
.end annotation
new-instance v0, Lcom/google/firebase/components/Component$Builder;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Class;
const/4 v2, 0x0
invoke-direct {v0, p0, v1, v2}, Lcom/google/firebase/components/Component$Builder;-><init>(Ljava/lang/Class;[Ljava/lang/Class;Lcom/google/firebase/components/Component$1;)V
return-object v0
.end method
.method public static varargs builder(Ljava/lang/Class;[Ljava/lang/Class;)Lcom/google/firebase/components/Component$Builder;
.locals 2
.annotation runtime Ljava/lang/SafeVarargs;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TT;>;[",
"Ljava/lang/Class<",
"-TT;>;)",
"Lcom/google/firebase/components/Component$Builder<",
"TT;>;"
}
.end annotation
new-instance v0, Lcom/google/firebase/components/Component$Builder;
const/4 v1, 0x0
invoke-direct {v0, p0, p1, v1}, Lcom/google/firebase/components/Component$Builder;-><init>(Ljava/lang/Class;[Ljava/lang/Class;Lcom/google/firebase/components/Component$1;)V
return-object v0
.end method
.method public static intoSet(Ljava/lang/Object;Ljava/lang/Class;)Lcom/google/firebase/components/Component;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Ljava/lang/Class<",
"TT;>;)",
"Lcom/google/firebase/components/Component<",
"TT;>;"
}
.end annotation
invoke-static {p1}, Lcom/google/firebase/components/Component;->intoSetBuilder(Ljava/lang/Class;)Lcom/google/firebase/components/Component$Builder;
move-result-object p1
new-instance v0, Lcom/google/firebase/components/Component$$ExternalSyntheticLambda1;
invoke-direct {v0, p0}, Lcom/google/firebase/components/Component$$ExternalSyntheticLambda1;-><init>(Ljava/lang/Object;)V
invoke-virtual {p1, v0}, Lcom/google/firebase/components/Component$Builder;->factory(Lcom/google/firebase/components/ComponentFactory;)Lcom/google/firebase/components/Component$Builder;
move-result-object p0
invoke-virtual {p0}, Lcom/google/firebase/components/Component$Builder;->build()Lcom/google/firebase/components/Component;
move-result-object p0
return-object p0
.end method
.method public static intoSetBuilder(Ljava/lang/Class;)Lcom/google/firebase/components/Component$Builder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TT;>;)",
"Lcom/google/firebase/components/Component$Builder<",
"TT;>;"
}
.end annotation
invoke-static {p0}, Lcom/google/firebase/components/Component;->builder(Ljava/lang/Class;)Lcom/google/firebase/components/Component$Builder;
move-result-object p0
invoke-static {p0}, Lcom/google/firebase/components/Component$Builder;->access$100(Lcom/google/firebase/components/Component$Builder;)Lcom/google/firebase/components/Component$Builder;
move-result-object p0
return-object p0
.end method
.method static synthetic lambda$intoSet$2(Ljava/lang/Object;Lcom/google/firebase/components/ComponentContainer;)Ljava/lang/Object;
.locals 0
return-object p0
.end method
.method static synthetic lambda$of$0(Ljava/lang/Object;Lcom/google/firebase/components/ComponentContainer;)Ljava/lang/Object;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic lambda$of$1(Ljava/lang/Object;Lcom/google/firebase/components/ComponentContainer;)Ljava/lang/Object;
.locals 0
return-object p0
.end method
.method public static of(Ljava/lang/Class;Ljava/lang/Object;)Lcom/google/firebase/components/Component;
.locals 1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TT;>;TT;)",
"Lcom/google/firebase/components/Component<",
"TT;>;"
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public static varargs of(Ljava/lang/Object;Ljava/lang/Class;[Ljava/lang/Class;)Lcom/google/firebase/components/Component;
.locals 0
.annotation runtime Ljava/lang/SafeVarargs;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Ljava/lang/Class<",
"TT;>;[",
"Ljava/lang/Class<",
"-TT;>;)",
"Lcom/google/firebase/components/Component<",
"TT;>;"
}
.end annotation
invoke-static {p1, p2}, Lcom/google/firebase/components/Component;->builder(Ljava/lang/Class;[Ljava/lang/Class;)Lcom/google/firebase/components/Component$Builder;
move-result-object p1
new-instance p2, Lcom/google/firebase/components/Component$$ExternalSyntheticLambda0;
invoke-direct {p2, p0}, Lcom/google/firebase/components/Component$$ExternalSyntheticLambda0;-><init>(Ljava/lang/Object;)V
invoke-virtual {p1, p2}, Lcom/google/firebase/components/Component$Builder;->factory(Lcom/google/firebase/components/ComponentFactory;)Lcom/google/firebase/components/Component$Builder;
move-result-object p0
invoke-virtual {p0}, Lcom/google/firebase/components/Component$Builder;->build()Lcom/google/firebase/components/Component;
move-result-object p0
return-object p0
.end method
.method public getDependencies()Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set<",
"Lcom/google/firebase/components/Dependency;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/google/firebase/components/Component;->dependencies:Ljava/util/Set;
return-object v0
.end method
.method public getFactory()Lcom/google/firebase/components/ComponentFactory;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/firebase/components/ComponentFactory<",
"TT;>;"
}
.end annotation
iget-object v0, p0, Lcom/google/firebase/components/Component;->factory:Lcom/google/firebase/components/ComponentFactory;
return-object v0
.end method
.method public getName()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/firebase/components/Component;->name:Ljava/lang/String;
return-object v0
.end method
.method public getProvidedInterfaces()Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set<",
"Ljava/lang/Class<",
"-TT;>;>;"
}
.end annotation
iget-object v0, p0, Lcom/google/firebase/components/Component;->providedInterfaces:Ljava/util/Set;
return-object v0
.end method
.method public getPublishedEvents()Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set<",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
iget-object v0, p0, Lcom/google/firebase/components/Component;->publishedEvents:Ljava/util/Set;
return-object v0
.end method
.method public isAlwaysEager()Z
.locals 2
iget v0, p0, Lcom/google/firebase/components/Component;->instantiation:I
const/4 v1, 0x1
if-ne v0, v1, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
return v1
.end method
.method public isEagerInDefaultApp()Z
.locals 2
iget v0, p0, Lcom/google/firebase/components/Component;->instantiation:I
const/4 v1, 0x2
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public isLazy()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public isValue()Z
.locals 1
iget v0, p0, Lcom/google/firebase/components/Component;->type: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 toString()Ljava/lang/String;
.locals 2
const/4 v0, 0x0
return-object v0
.end method
.method public withFactory(Lcom/google/firebase/components/ComponentFactory;)Lcom/google/firebase/components/Component;
.locals 9
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/firebase/components/ComponentFactory<",
"TT;>;)",
"Lcom/google/firebase/components/Component<",
"TT;>;"
}
.end annotation
new-instance v8, Lcom/google/firebase/components/Component;
iget-object v1, p0, Lcom/google/firebase/components/Component;->name:Ljava/lang/String;
iget-object v2, p0, Lcom/google/firebase/components/Component;->providedInterfaces:Ljava/util/Set;
iget-object v3, p0, Lcom/google/firebase/components/Component;->dependencies:Ljava/util/Set;
iget v4, p0, Lcom/google/firebase/components/Component;->instantiation:I
iget v5, p0, Lcom/google/firebase/components/Component;->type:I
iget-object v7, p0, Lcom/google/firebase/components/Component;->publishedEvents:Ljava/util/Set;
move-object v0, v8
move-object v6, p1
invoke-direct/range {v0 .. v7}, Lcom/google/firebase/components/Component;-><init>(Ljava/lang/String;Ljava/util/Set;Ljava/util/Set;IILcom/google/firebase/components/ComponentFactory;Ljava/util/Set;)V
return-object v8
.end method