202 lines
6.6 KiB
Smali
202 lines
6.6 KiB
Smali
.class public Lcom/amazonaws/services/cognitoidentity/model/transform/LookupDeveloperIdentityResultJsonUnmarshaller;
|
|
.super Ljava/lang/Object;
|
|
.source "LookupDeveloperIdentityResultJsonUnmarshaller.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/LookupDeveloperIdentityResult;",
|
|
"Lcom/amazonaws/transform/JsonUnmarshallerContext;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static instance:Lcom/amazonaws/services/cognitoidentity/model/transform/LookupDeveloperIdentityResultJsonUnmarshaller;
|
|
|
|
|
|
# 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/LookupDeveloperIdentityResultJsonUnmarshaller;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/amazonaws/services/cognitoidentity/model/transform/LookupDeveloperIdentityResultJsonUnmarshaller;->instance:Lcom/amazonaws/services/cognitoidentity/model/transform/LookupDeveloperIdentityResultJsonUnmarshaller;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
new-instance v0, Lcom/amazonaws/services/cognitoidentity/model/transform/LookupDeveloperIdentityResultJsonUnmarshaller;
|
|
|
|
invoke-direct {v0}, Lcom/amazonaws/services/cognitoidentity/model/transform/LookupDeveloperIdentityResultJsonUnmarshaller;-><init>()V
|
|
|
|
sput-object v0, Lcom/amazonaws/services/cognitoidentity/model/transform/LookupDeveloperIdentityResultJsonUnmarshaller;->instance:Lcom/amazonaws/services/cognitoidentity/model/transform/LookupDeveloperIdentityResultJsonUnmarshaller;
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget-object v0, Lcom/amazonaws/services/cognitoidentity/model/transform/LookupDeveloperIdentityResultJsonUnmarshaller;->instance:Lcom/amazonaws/services/cognitoidentity/model/transform/LookupDeveloperIdentityResultJsonUnmarshaller;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public unmarshall(Lcom/amazonaws/transform/JsonUnmarshallerContext;)Lcom/amazonaws/services/cognitoidentity/model/LookupDeveloperIdentityResult;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/Exception;
|
|
}
|
|
.end annotation
|
|
|
|
.line 2
|
|
new-instance v0, Lcom/amazonaws/services/cognitoidentity/model/LookupDeveloperIdentityResult;
|
|
|
|
invoke-direct {v0}, Lcom/amazonaws/services/cognitoidentity/model/LookupDeveloperIdentityResult;-><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_3
|
|
|
|
.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 v3
|
|
|
|
if-eqz v3, :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/LookupDeveloperIdentityResult;->setIdentityId(Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string v3, "DeveloperUserIdentifierList"
|
|
|
|
.line 11
|
|
invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
.line 12
|
|
new-instance v2, Lcom/amazonaws/transform/ListUnmarshaller;
|
|
|
|
.line 13
|
|
invoke-static {}, Lcom/amazonaws/transform/SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller;->getInstance()Lcom/amazonaws/transform/SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-direct {v2, v3}, Lcom/amazonaws/transform/ListUnmarshaller;-><init>(Lcom/amazonaws/transform/Unmarshaller;)V
|
|
|
|
.line 14
|
|
invoke-virtual {v2, p1}, Lcom/amazonaws/transform/ListUnmarshaller;->unmarshall(Lcom/amazonaws/transform/JsonUnmarshallerContext;)Ljava/util/List;
|
|
|
|
move-result-object v2
|
|
|
|
.line 15
|
|
invoke-virtual {v0, v2}, Lcom/amazonaws/services/cognitoidentity/model/LookupDeveloperIdentityResult;->setDeveloperUserIdentifierList(Ljava/util/Collection;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const-string v3, "NextToken"
|
|
|
|
.line 16
|
|
invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 17
|
|
invoke-static {}, Lcom/amazonaws/transform/SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller;->getInstance()Lcom/amazonaws/transform/SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller;
|
|
|
|
move-result-object v2
|
|
|
|
.line 18
|
|
invoke-virtual {v2, p1}, Lcom/amazonaws/transform/SimpleTypeJsonUnmarshallers$StringJsonUnmarshaller;->unmarshall(Lcom/amazonaws/transform/JsonUnmarshallerContext;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
.line 19
|
|
invoke-virtual {v0, v2}, Lcom/amazonaws/services/cognitoidentity/model/LookupDeveloperIdentityResult;->setNextToken(Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 20
|
|
:cond_2
|
|
invoke-interface {v1}, Lcom/amazonaws/util/json/AwsJsonReader;->skipValue()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 21
|
|
:cond_3
|
|
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/LookupDeveloperIdentityResultJsonUnmarshaller;->unmarshall(Lcom/amazonaws/transform/JsonUnmarshallerContext;)Lcom/amazonaws/services/cognitoidentity/model/LookupDeveloperIdentityResult;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|