granularity level: instruction
.class public final Lcom/google/android/gms/common/server/converter/zaa;
.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;
.source "com.google.android.gms:play-services-base@@18.0.1"
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/os/Parcelable$Creator<",
"Lcom/google/android/gms/common/server/converter/zaa;",
">;"
}
.end annotation
.end field
.field final zaa:I
.field private final zab:Lcom/google/android/gms/common/server/converter/StringToIntConverter;
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/google/android/gms/common/server/converter/zab;
invoke-direct {v0}, Lcom/google/android/gms/common/server/converter/zab;-><init>()V
sput-object v0, Lcom/google/android/gms/common/server/converter/zaa;->CREATOR:Landroid/os/Parcelable$Creator;
return-void
.end method
.method constructor <init>(ILcom/google/android/gms/common/server/converter/StringToIntConverter;)V
.locals 0
invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;-><init>()V
iput p1, p0, Lcom/google/android/gms/common/server/converter/zaa;->zaa:I
iput-object p2, p0, Lcom/google/android/gms/common/server/converter/zaa;->zab:Lcom/google/android/gms/common/server/converter/StringToIntConverter;
return-void
.end method
.method private constructor <init>(Lcom/google/android/gms/common/server/converter/StringToIntConverter;)V
.locals 1
invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;-><init>()V
const/4 v0, 0x1
iput v0, p0, Lcom/google/android/gms/common/server/converter/zaa;->zaa:I
iput-object p1, p0, Lcom/google/android/gms/common/server/converter/zaa;->zab:Lcom/google/android/gms/common/server/converter/StringToIntConverter;
return-void
.end method
.method public static zaa(Lcom/google/android/gms/common/server/response/FastJsonResponse$FieldConverter;)Lcom/google/android/gms/common/server/converter/zaa;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/android/gms/common/server/response/FastJsonResponse$FieldConverter<",
"**>;)",
"Lcom/google/android/gms/common/server/converter/zaa;"
}
.end annotation
instance-of v0, p0, Lcom/google/android/gms/common/server/converter/StringToIntConverter;
if-eqz v0, :cond_0
new-instance v0, Lcom/google/android/gms/common/server/converter/zaa;
check-cast p0, Lcom/google/android/gms/common/server/converter/StringToIntConverter;
invoke-direct {v0, p0}, Lcom/google/android/gms/common/server/converter/zaa;-><init>(Lcom/google/android/gms/common/server/converter/StringToIntConverter;)V
return-object v0
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "Unsupported safe parcelable field converter class."
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public final writeToParcel(Landroid/os/Parcel;I)V
.locals 4
invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->beginObjectHeader(Landroid/os/Parcel;)I
move-result v0
iget v1, p0, Lcom/google/android/gms/common/server/converter/zaa;->zaa:I
const/4 v2, 0x1
invoke-static {p1, v2, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeInt(Landroid/os/Parcel;II)V
iget-object v1, p0, Lcom/google/android/gms/common/server/converter/zaa;->zab:Lcom/google/android/gms/common/server/converter/StringToIntConverter;
const/4 v2, 0x2
const/4 v3, 0x0
invoke-static {p1, v2, v1, p2, v3}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeParcelable(Landroid/os/Parcel;ILandroid/os/Parcelable;IZ)V
invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->finishObjectHeader(Landroid/os/Parcel;I)V
return-void
.end method
.method public final zab()Lcom/google/android/gms/common/server/response/FastJsonResponse$FieldConverter;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/android/gms/common/server/response/FastJsonResponse$FieldConverter<",
"**>;"
}
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/server/converter/zaa;->zab:Lcom/google/android/gms/common/server/converter/StringToIntConverter;
if-eqz v0, :cond_0
return-object v0
:cond_0
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "There was no converter wrapped in this ConverterWrapper."
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method