2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/stores/StoreSearchQuery$parseAndQuery$2;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "StoreSearchQuery.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lrx/functions/Func2;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/stores/StoreSearchQuery;->parseAndQuery(Lcom/discord/stores/StoreSearch;Lcom/discord/stores/StoreSearch$SearchTarget;Ljava/lang/String;Lcom/discord/utilities/search/strings/SearchStringProvider;Z)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T1:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"T2:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"R:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Lrx/functions/Func2<",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Ljava/util/List<",
|
|
|
|
"Lcom/discord/utilities/search/query/node/QueryNode;",
|
|
|
|
">;",
|
|
|
|
"Lcom/discord/utilities/search/validation/SearchData;",
|
|
|
|
"Lcom/discord/utilities/search/network/SearchQuery;",
|
|
|
|
">;"
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $includeNsfw:Z
|
|
|
|
|
|
|
|
.field public final synthetic $searchStore:Lcom/discord/stores/StoreSearch;
|
|
|
|
|
|
|
|
.field public final synthetic $searchTarget:Lcom/discord/stores/StoreSearch$SearchTarget;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/discord/stores/StoreSearch;Lcom/discord/stores/StoreSearch$SearchTarget;Z)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreSearchQuery$parseAndQuery$2;->$searchStore:Lcom/discord/stores/StoreSearch;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/stores/StoreSearchQuery$parseAndQuery$2;->$searchTarget:Lcom/discord/stores/StoreSearch$SearchTarget;
|
|
|
|
|
|
|
|
iput-boolean p3, p0, Lcom/discord/stores/StoreSearchQuery$parseAndQuery$2;->$includeNsfw:Z
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final call(Ljava/util/List;Lcom/discord/utilities/search/validation/SearchData;)Lcom/discord/utilities/search/network/SearchQuery;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Lcom/discord/utilities/search/query/node/QueryNode;",
|
|
|
|
">;",
|
|
|
|
"Lcom/discord/utilities/search/validation/SearchData;",
|
|
|
|
")",
|
|
|
|
"Lcom/discord/utilities/search/network/SearchQuery;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/utilities/search/query/node/QueryNode;->Preprocessor:Lcom/discord/utilities/search/query/node/QueryNode$Preprocessor;
|
|
|
|
|
|
|
|
const-string v1, "queryNodes"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {p1, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const-string v1, "searchData"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {p2, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1, p2}, Lcom/discord/utilities/search/query/node/QueryNode$Preprocessor;->preprocess(Ljava/util/List;Lcom/discord/utilities/search/validation/SearchData;)V
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreSearchQuery$parseAndQuery$2;->$searchStore:Lcom/discord/stores/StoreSearch;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/stores/StoreSearchQuery$parseAndQuery$2;->$searchTarget:Lcom/discord/stores/StoreSearch$SearchTarget;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, p1}, Lcom/discord/stores/StoreSearch;->persistQuery$app_productionDiscordExternalRelease(Lcom/discord/stores/StoreSearch$SearchTarget;Ljava/util/List;)V
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/utilities/search/network/SearchQuery$Builder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lcom/discord/utilities/search/network/SearchQuery$Builder;-><init>()V
|
|
|
|
|
|
|
|
iget-boolean v1, p0, Lcom/discord/stores/StoreSearchQuery$parseAndQuery$2;->$includeNsfw:Z
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/utilities/search/network/SearchQuery$Builder;->setIncludeNsfw(Z)Lcom/discord/utilities/search/network/SearchQuery$Builder;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1, p2}, Lcom/discord/utilities/search/network/SearchQuery$Builder;->buildFrom(Ljava/util/List;Lcom/discord/utilities/search/validation/SearchData;)Lcom/discord/utilities/search/network/SearchQuery;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public bridge synthetic call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Ljava/util/List;
|
|
|
|
|
|
|
|
check-cast p2, Lcom/discord/utilities/search/validation/SearchData;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/discord/stores/StoreSearchQuery$parseAndQuery$2;->call(Ljava/util/List;Lcom/discord/utilities/search/validation/SearchData;)Lcom/discord/utilities/search/network/SearchQuery;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|