granularity level: instruction
.class public Lcom/google/firebase/events/Event;
.super Ljava/lang/Object;
.source "Event.java"
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
.field private final payload:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
.field private final type:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"TT;>;"
}
.end annotation
.end field
.method public constructor <init>(Ljava/lang/Class;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"TT;>;TT;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
invoke-static {p1}, Lcom/google/firebase/components/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/Class;
iput-object p1, p0, Lcom/google/firebase/events/Event;->type:Ljava/lang/Class;
invoke-static {p2}, Lcom/google/firebase/components/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
iput-object p1, p0, Lcom/google/firebase/events/Event;->payload:Ljava/lang/Object;
return-void
.end method
.method public getPayload()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
iget-object v0, p0, Lcom/google/firebase/events/Event;->payload:Ljava/lang/Object;
return-object v0
.end method
.method public getType()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"TT;>;"
}
.end annotation
iget-object v0, p0, Lcom/google/firebase/events/Event;->type:Ljava/lang/Class;
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
const/4 v0, 0x2
new-array v0, v0, [Ljava/lang/Object;
iget-object v1, p0, Lcom/google/firebase/events/Event;->type:Ljava/lang/Class;
const/4 v2, 0x0
aput-object v1, v0, v2
iget-object v1, p0, Lcom/google/firebase/events/Event;->payload:Ljava/lang/Object;
const/4 v2, 0x1
aput-object v1, v0, v2
const-string v1, "Event{type: %s, payload: %s}"
invoke-static {v1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method