147 lines
4.9 KiB
Smali
147 lines
4.9 KiB
Smali
.class public Lcom/amazonaws/services/cognitoidentity/model/transform/MergeDeveloperIdentitiesResultJsonUnmarshaller;
|
|
.super Ljava/lang/Object;
|
|
.source "MergeDeveloperIdentitiesResultJsonUnmarshaller.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/amazonaws/transform/Unmarshaller;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Lcom/amazonaws/transform/Unmarshaller<",
|
|
"Lcom/amazonaws/services/cognitoidentity/model/MergeDeveloperIdentitiesResult;",
|
|
"Lcom/amazonaws/transform/JsonUnmarshallerContext;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static instance:Lcom/amazonaws/services/cognitoidentity/model/transform/MergeDeveloperIdentitiesResultJsonUnmarshaller;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getInstance()Lcom/amazonaws/services/cognitoidentity/model/transform/MergeDeveloperIdentitiesResultJsonUnmarshaller;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/amazonaws/services/cognitoidentity/model/transform/MergeDeveloperIdentitiesResultJsonUnmarshaller;->instance:Lcom/amazonaws/services/cognitoidentity/model/transform/MergeDeveloperIdentitiesResultJsonUnmarshaller;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
new-instance v0, Lcom/amazonaws/services/cognitoidentity/model/transform/MergeDeveloperIdentitiesResultJsonUnmarshaller;
|
|
|
|
invoke-direct {v0}, Lcom/amazonaws/services/cognitoidentity/model/transform/MergeDeveloperIdentitiesResultJsonUnmarshaller;-><init>()V
|
|
|
|
sput-object v0, Lcom/amazonaws/services/cognitoidentity/model/transform/MergeDeveloperIdentitiesResultJsonUnmarshaller;->instance:Lcom/amazonaws/services/cognitoidentity/model/transform/MergeDeveloperIdentitiesResultJsonUnmarshaller;
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget-object v0, Lcom/amazonaws/services/cognitoidentity/model/transform/MergeDeveloperIdentitiesResultJsonUnmarshaller;->instance:Lcom/amazonaws/services/cognitoidentity/model/transform/MergeDeveloperIdentitiesResultJsonUnmarshaller;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public unmarshall(Lcom/amazonaws/transform/JsonUnmarshallerContext;)Lcom/amazonaws/services/cognitoidentity/model/MergeDeveloperIdentitiesResult;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/Exception;
|
|
}
|
|
.end annotation
|
|
|
|
.line 2
|
|
new-instance v0, Lcom/amazonaws/services/cognitoidentity/model/MergeDeveloperIdentitiesResult;
|
|
|
|
invoke-direct {v0}, Lcom/amazonaws/services/cognitoidentity/model/MergeDeveloperIdentitiesResult;-><init>()V
|
|
|
|
.line 3
|
|
invoke-virtual {p1}, Lcom/amazonaws/transform/JsonUnmarshallerContext;->getReader()Lcom/amazonaws/util/json/AwsJsonReader;
|
|
|
|
move-result-object v1
|
|
|
|
.line 4
|
|
invoke-interface {v1}, Lcom/amazonaws/util/json/AwsJsonReader;->beginObject()V
|
|
|
|
.line 5
|
|
:goto_0
|
|
invoke-interface {v1}, Lcom/amazonaws/util/json/AwsJsonReader;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 6
|
|
invoke-interface {v1}, Lcom/amazonaws/util/json/AwsJsonReader;->nextName()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "IdentityId"
|
|
|
|
.line 7
|
|
invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 8
|
|
invoke-static {}, Lcom/amazonaws/transform/SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller;->getInstance()Lcom/amazonaws/transform/SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller;
|
|
|
|
move-result-object v2
|
|
|
|
.line 9
|
|
invoke-virtual {v2, p1}, Lcom/amazonaws/transform/SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller;->unmarshall(Lcom/amazonaws/transform/JsonUnmarshallerContext;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
.line 10
|
|
invoke-virtual {v0, v2}, Lcom/amazonaws/services/cognitoidentity/model/MergeDeveloperIdentitiesResult;->setIdentityId(Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 11
|
|
:cond_0
|
|
invoke-interface {v1}, Lcom/amazonaws/util/json/AwsJsonReader;->skipValue()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 12
|
|
:cond_1
|
|
invoke-interface {v1}, Lcom/amazonaws/util/json/AwsJsonReader;->endObject()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic unmarshall(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/Exception;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
check-cast p1, Lcom/amazonaws/transform/JsonUnmarshallerContext;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/amazonaws/services/cognitoidentity/model/transform/MergeDeveloperIdentitiesResultJsonUnmarshaller;->unmarshall(Lcom/amazonaws/transform/JsonUnmarshallerContext;)Lcom/amazonaws/services/cognitoidentity/model/MergeDeveloperIdentitiesResult;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|