apkfuckery/com.discord/smali/com/discord/restapi/utils/RetryWithDelay$restRetry$3....

115 lines
3.5 KiB
Smali

.class public final Lcom/discord/restapi/utils/RetryWithDelay$restRetry$3;
.super Ljava/lang/Object;
.source "RetryWithDelay.kt"
# interfaces
.implements Ll0/k/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/restapi/utils/RetryWithDelay;->restRetry(Lrx/Observable;JLjava/lang/Integer;Ljava/lang/Integer;Lkotlin/jvm/functions/Function1;)Lrx/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ll0/k/b<",
"Lrx/Observable<",
"+",
"Ljava/lang/Throwable;",
">;",
"Lrx/Observable<",
"*>;>;"
}
.end annotation
# instance fields
.field public final synthetic $delayMillis:J
.field public final synthetic $maxHalfLives:Ljava/lang/Integer;
.field public final synthetic $maxRetries:Ljava/lang/Integer;
.field public final synthetic $predicate:Lkotlin/jvm/functions/Function1;
# direct methods
.method public constructor <init>(JLjava/lang/Integer;Ljava/lang/Integer;Lkotlin/jvm/functions/Function1;)V
.locals 0
iput-wide p1, p0, Lcom/discord/restapi/utils/RetryWithDelay$restRetry$3;->$delayMillis:J
iput-object p3, p0, Lcom/discord/restapi/utils/RetryWithDelay$restRetry$3;->$maxHalfLives:Ljava/lang/Integer;
iput-object p4, p0, Lcom/discord/restapi/utils/RetryWithDelay$restRetry$3;->$maxRetries:Ljava/lang/Integer;
iput-object p5, p0, Lcom/discord/restapi/utils/RetryWithDelay$restRetry$3;->$predicate:Lkotlin/jvm/functions/Function1;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lrx/Observable;
invoke-virtual {p0, p1}, Lcom/discord/restapi/utils/RetryWithDelay$restRetry$3;->call(Lrx/Observable;)Lrx/Observable;
move-result-object p1
return-object p1
.end method
.method public final call(Lrx/Observable;)Lrx/Observable;
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Observable<",
"+",
"Ljava/lang/Throwable;",
">;)",
"Lrx/Observable<",
"*>;"
}
.end annotation
sget-object v0, Lcom/discord/restapi/utils/RetryWithDelay;->INSTANCE:Lcom/discord/restapi/utils/RetryWithDelay;
const-string v1, "it"
invoke-static {p1, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
iget-wide v2, p0, Lcom/discord/restapi/utils/RetryWithDelay$restRetry$3;->$delayMillis:J
iget-object v4, p0, Lcom/discord/restapi/utils/RetryWithDelay$restRetry$3;->$maxHalfLives:Ljava/lang/Integer;
iget-object v5, p0, Lcom/discord/restapi/utils/RetryWithDelay$restRetry$3;->$maxRetries:Ljava/lang/Integer;
iget-object v6, p0, Lcom/discord/restapi/utils/RetryWithDelay$restRetry$3;->$predicate:Lkotlin/jvm/functions/Function1;
move-object v1, p1
invoke-static/range {v0 .. v6}, Lcom/discord/restapi/utils/RetryWithDelay;->access$retryWithDelay(Lcom/discord/restapi/utils/RetryWithDelay;Lrx/Observable;JLjava/lang/Integer;Ljava/lang/Integer;Lkotlin/jvm/functions/Function1;)Lrx/Observable;
move-result-object p1
return-object p1
.end method