apkfuckery/com.discord/smali_classes2/g0/e.smali

302 lines
6.6 KiB
Smali
Raw Normal View History

2020-09-22 07:09:10 +00:00
.class public final Lg0/e;
2020-07-23 01:06:17 +00:00
.super Ljava/lang/Object;
2020-10-05 23:18:16 +00:00
.source "CacheControl.kt"
2020-07-23 01:06:17 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-09-22 07:09:10 +00:00
Lg0/e$a;
2020-07-23 01:06:17 +00:00
}
.end annotation
2020-10-05 23:18:16 +00:00
# static fields
.field public static final n:Lg0/e$a;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
# instance fields
.field public final a:Z
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
.field public final b:Z
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
.field public final c:I
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
.field public final d:I
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
.field public final e:Z
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
.field public final f:Z
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
.field public final g:Z
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
.field public final h:I
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
.field public final i:I
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
.field public final j:Z
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
.field public final k:Z
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
.field public final l:Z
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
.field public m:Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
# direct methods
.method public static constructor <clinit>()V
.locals 3
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
new-instance v0, Lg0/e$a;
2020-07-23 01:06:17 +00:00
const/4 v1, 0x0
2020-10-05 23:18:16 +00:00
invoke-direct {v0, v1}, Lg0/e$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
sput-object v0, Lg0/e;->n:Lg0/e$a;
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
const-string v1, "timeUnit"
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {v0, v1}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
const v1, 0x7fffffff
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
int-to-long v1, v1
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toSeconds(J)J
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
return-void
.end method
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
.method public constructor <init>(ZZIIZZZIIZZZLjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
iput-boolean p1, p0, Lg0/e;->a:Z
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
iput-boolean p2, p0, Lg0/e;->b:Z
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
iput p3, p0, Lg0/e;->c:I
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
iput p4, p0, Lg0/e;->d:I
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
iput-boolean p5, p0, Lg0/e;->e:Z
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
iput-boolean p6, p0, Lg0/e;->f:Z
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
iput-boolean p7, p0, Lg0/e;->g:Z
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
iput p8, p0, Lg0/e;->h:I
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
iput p9, p0, Lg0/e;->i:I
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
iput-boolean p10, p0, Lg0/e;->j:Z
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
iput-boolean p11, p0, Lg0/e;->k:Z
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
iput-boolean p12, p0, Lg0/e;->l:Z
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
iput-object p13, p0, Lg0/e;->m:Ljava/lang/String;
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
return-void
2020-09-29 21:44:44 +00:00
.end method
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
# virtual methods
.method public toString()Ljava/lang/String;
.locals 4
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Lg0/e;->m:Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
if-nez v0, :cond_e
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
new-instance v0, Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
iget-boolean v1, p0, Lg0/e;->a:Z
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
if-eqz v1, :cond_0
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
const-string v1, "no-cache, "
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-29 21:44:44 +00:00
:cond_0
2020-10-05 23:18:16 +00:00
iget-boolean v1, p0, Lg0/e;->b:Z
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
if-eqz v1, :cond_1
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
const-string v1, "no-store, "
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
:cond_1
iget v1, p0, Lg0/e;->c:I
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
const-string v2, ", "
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
const/4 v3, -0x1
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
if-eq v1, v3, :cond_2
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
const-string v1, "max-age="
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
iget v1, p0, Lg0/e;->c:I
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
:cond_2
iget v1, p0, Lg0/e;->d:I
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
if-eq v1, v3, :cond_3
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
const-string v1, "s-maxage="
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
iget v1, p0, Lg0/e;->d:I
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
:cond_3
iget-boolean v1, p0, Lg0/e;->e:Z
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
if-eqz v1, :cond_4
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
const-string v1, "private, "
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-09-29 21:44:44 +00:00
:cond_4
2020-10-05 23:18:16 +00:00
iget-boolean v1, p0, Lg0/e;->f:Z
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
if-eqz v1, :cond_5
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
const-string v1, "public, "
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-09-29 21:44:44 +00:00
:cond_5
2020-10-05 23:18:16 +00:00
iget-boolean v1, p0, Lg0/e;->g:Z
if-eqz v1, :cond_6
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
const-string v1, "must-revalidate, "
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
:cond_6
iget v1, p0, Lg0/e;->h:I
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
if-eq v1, v3, :cond_7
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
const-string v1, "max-stale="
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
iget v1, p0, Lg0/e;->h:I
2020-07-25 00:57:58 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-09-29 21:44:44 +00:00
:cond_7
2020-10-05 23:18:16 +00:00
iget v1, p0, Lg0/e;->i:I
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
if-eq v1, v3, :cond_8
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
const-string v1, "min-fresh="
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
iget v1, p0, Lg0/e;->i:I
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
:cond_8
iget-boolean v1, p0, Lg0/e;->j:Z
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
if-eqz v1, :cond_9
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
const-string v1, "only-if-cached, "
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
:cond_9
iget-boolean v1, p0, Lg0/e;->k:Z
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
if-eqz v1, :cond_a
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
const-string v1, "no-transform, "
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
:cond_a
iget-boolean v1, p0, Lg0/e;->l:Z
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
if-eqz v1, :cond_b
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
const-string v1, "immutable, "
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-29 21:44:44 +00:00
:cond_b
2020-10-05 23:18:16 +00:00
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
move-result v1
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
if-nez v1, :cond_c
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
const/4 v1, 0x1
2020-09-29 21:44:44 +00:00
goto :goto_0
2020-10-05 23:18:16 +00:00
:cond_c
const/4 v1, 0x0
2020-09-29 21:44:44 +00:00
:goto_0
2020-10-05 23:18:16 +00:00
if-eqz v1, :cond_d
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
const-string v0, ""
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
return-object v0
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
:cond_d
invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
move-result v1
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
add-int/lit8 v1, v1, -0x2
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
move-result v2
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->delete(II)Ljava/lang/StringBuilder;
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
move-result-object v0
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
const-string v1, "StringBuilder().apply(builderAction).toString()"
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {v0, v1}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
iput-object v0, p0, Lg0/e;->m:Ljava/lang/String;
2020-09-29 21:44:44 +00:00
2020-10-05 23:18:16 +00:00
:cond_e
return-object v0
2020-07-23 01:06:17 +00:00
.end method