tmap/smali_classes3/com/google/api/client/json/JsonObjectParser$Builder.smali
2022-06-10 21:38:30 +09:00

113 lines
3.1 KiB
Smali

.class public Lcom/google/api/client/json/JsonObjectParser$Builder;
.super Ljava/lang/Object;
.source "JsonObjectParser.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/api/client/json/JsonObjectParser;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Builder"
.end annotation
# instance fields
.field public final jsonFactory:Lcom/google/api/client/json/JsonFactory;
.field public wrapperKeys:Ljava/util/Collection;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Collection<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lcom/google/api/client/json/JsonFactory;)V
.locals 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
invoke-static {}, Lcom/google/api/client/util/Sets;->newHashSet()Ljava/util/HashSet;
move-result-object v0
iput-object v0, p0, Lcom/google/api/client/json/JsonObjectParser$Builder;->wrapperKeys:Ljava/util/Collection;
.line 3
invoke-static {p1}, Lcom/google/api/client/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/google/api/client/json/JsonFactory;
iput-object p1, p0, Lcom/google/api/client/json/JsonObjectParser$Builder;->jsonFactory:Lcom/google/api/client/json/JsonFactory;
return-void
.end method
# virtual methods
.method public build()Lcom/google/api/client/json/JsonObjectParser;
.locals 1
.line 1
new-instance v0, Lcom/google/api/client/json/JsonObjectParser;
invoke-direct {v0, p0}, Lcom/google/api/client/json/JsonObjectParser;-><init>(Lcom/google/api/client/json/JsonObjectParser$Builder;)V
return-object v0
.end method
.method public final getJsonFactory()Lcom/google/api/client/json/JsonFactory;
.locals 1
.line 1
iget-object v0, p0, Lcom/google/api/client/json/JsonObjectParser$Builder;->jsonFactory:Lcom/google/api/client/json/JsonFactory;
return-object v0
.end method
.method public final getWrapperKeys()Ljava/util/Collection;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Collection<",
"Ljava/lang/String;",
">;"
}
.end annotation
.line 1
iget-object v0, p0, Lcom/google/api/client/json/JsonObjectParser$Builder;->wrapperKeys:Ljava/util/Collection;
return-object v0
.end method
.method public setWrapperKeys(Ljava/util/Collection;)Lcom/google/api/client/json/JsonObjectParser$Builder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"Ljava/lang/String;",
">;)",
"Lcom/google/api/client/json/JsonObjectParser$Builder;"
}
.end annotation
.line 1
iput-object p1, p0, Lcom/google/api/client/json/JsonObjectParser$Builder;->wrapperKeys:Ljava/util/Collection;
return-object p0
.end method