98 lines
2.4 KiB
Smali
98 lines
2.4 KiB
Smali
.class public Lcom/vk/api/account/AccountGetCommentGroups;
|
|
.super Lcom/vk/api/base/ApiRequest;
|
|
.source "AccountGetCommentGroups.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/vk/api/base/ApiRequest<",
|
|
"Lcom/vk/dto/common/data/VKList<",
|
|
"Lcom/vk/dto/group/Group;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "account.getCommentGroups"
|
|
|
|
.line 1
|
|
invoke-direct {p0, v0}, Lcom/vk/api/base/ApiRequest;-><init>(Ljava/lang/String;)V
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {p1}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, "fields"
|
|
|
|
.line 3
|
|
invoke-virtual {p0, v0, p1}, Lcom/vk/api/base/ApiRequest;->c(Ljava/lang/String;Ljava/lang/String;)Lcom/vk/api/base/ApiRequest;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Lorg/json/JSONObject;)Lcom/vk/dto/common/data/VKList;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lorg/json/JSONObject;",
|
|
")",
|
|
"Lcom/vk/dto/common/data/VKList<",
|
|
"Lcom/vk/dto/group/Group;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/Exception;
|
|
}
|
|
.end annotation
|
|
|
|
.line 2
|
|
new-instance v0, Lcom/vk/dto/common/data/VKList;
|
|
|
|
const-string v1, "response"
|
|
|
|
invoke-virtual {p1, v1}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v1, Lcom/vk/api/account/AccountGetCommentGroups$a;
|
|
|
|
invoke-direct {v1, p0}, Lcom/vk/api/account/AccountGetCommentGroups$a;-><init>(Lcom/vk/api/account/AccountGetCommentGroups;)V
|
|
|
|
invoke-direct {v0, p1, v1}, Lcom/vk/dto/common/data/VKList;-><init>(Lorg/json/JSONObject;Lcom/vk/dto/common/data/JsonParser;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic a(Lorg/json/JSONObject;)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/Exception;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Lcom/vk/api/account/AccountGetCommentGroups;->a(Lorg/json/JSONObject;)Lcom/vk/dto/common/data/VKList;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|