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

302 lines
6.6 KiB
Smali
Raw Normal View History

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