apkfuckery/com.discord/smali_classes2/q/d.smali
2019-12-20 08:00:35 +01:00

384 lines
7.7 KiB
Smali

.class public final Lq/d;
.super Ljava/lang/Object;
.source "CacheControl.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lq/d$a;
}
.end annotation
# static fields
.field public static final n:Lq/d$a;
# instance fields
.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
.field public final k:Z
.field public final l:Z
.field public m:Ljava/lang/String;
# direct methods
.method public static constructor <clinit>()V
.locals 27
new-instance v0, Lq/d$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lq/d$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lq/d;->n:Lq/d$a;
const/4 v11, -0x1
const/16 v22, 0x1
new-instance v2, Lq/d;
const/4 v6, -0x1
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v9, 0x0
const/4 v15, 0x0
const/16 v16, 0x0
const/4 v14, 0x0
const/4 v13, 0x0
const/4 v12, 0x0
const/4 v4, 0x0
move/from16 v3, v22
move v5, v11
move v10, v11
invoke-direct/range {v2 .. v16}, Lq/d;-><init>(ZZIIZZZIIZZZLjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
const/16 v24, 0x0
const/16 v23, 0x0
const/4 v14, 0x0
const/4 v13, 0x0
const/16 v21, -0x1
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
if-eqz v0, :cond_1
const v1, 0x7fffffff
int-to-long v2, v1
invoke-virtual {v0, v2, v3}, Ljava/util/concurrent/TimeUnit;->toSeconds(J)J
move-result-wide v4
cmp-long v0, v4, v2
if-lez v0, :cond_0
const v20, 0x7fffffff
goto :goto_0
:cond_0
long-to-int v0, v4
move/from16 v20, v0
:goto_0
new-instance v12, Lq/d;
const/16 v16, -0x1
const/16 v17, 0x0
const/16 v18, 0x0
const/16 v19, 0x0
const/16 v25, 0x0
const/16 v26, 0x0
move/from16 v15, v21
invoke-direct/range {v12 .. v26}, Lq/d;-><init>(ZZIIZZZIIZZZLjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
:cond_1
const-string v0, "timeUnit"
invoke-static {v0}, Lm/u/b/j;->a(Ljava/lang/String;)V
throw v1
.end method
.method public synthetic constructor <init>(ZZIIZZZIIZZZLjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-boolean p1, p0, Lq/d;->a:Z
iput-boolean p2, p0, Lq/d;->b:Z
iput p3, p0, Lq/d;->c:I
iput p4, p0, Lq/d;->d:I
iput-boolean p5, p0, Lq/d;->e:Z
iput-boolean p6, p0, Lq/d;->f:Z
iput-boolean p7, p0, Lq/d;->g:Z
iput p8, p0, Lq/d;->h:I
iput p9, p0, Lq/d;->i:I
iput-boolean p10, p0, Lq/d;->j:Z
iput-boolean p11, p0, Lq/d;->k:Z
iput-boolean p12, p0, Lq/d;->l:Z
iput-object p13, p0, Lq/d;->m:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public toString()Ljava/lang/String;
.locals 4
iget-object v0, p0, Lq/d;->m:Ljava/lang/String;
if-nez v0, :cond_e
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-boolean v1, p0, Lq/d;->a:Z
if-eqz v1, :cond_0
const-string v1, "no-cache, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_0
iget-boolean v1, p0, Lq/d;->b:Z
if-eqz v1, :cond_1
const-string v1, "no-store, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_1
iget v1, p0, Lq/d;->c:I
const-string v2, ", "
const/4 v3, -0x1
if-eq v1, v3, :cond_2
const-string v1, "max-age="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v1, p0, Lq/d;->c: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_2
iget v1, p0, Lq/d;->d:I
if-eq v1, v3, :cond_3
const-string v1, "s-maxage="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v1, p0, Lq/d;->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, Lq/d;->e:Z
if-eqz v1, :cond_4
const-string v1, "private, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_4
iget-boolean v1, p0, Lq/d;->f:Z
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, Lq/d;->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, Lq/d;->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, Lq/d;->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, Lq/d;->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, Lq/d;->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, Lq/d;->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, Lq/d;->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, Lq/d;->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
goto :goto_0
:cond_c
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_d
const-string v0, ""
return-object v0
:cond_d
invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
move-result v1
add-int/lit8 v1, v1, -0x2
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;
move-result-object v0
const-string v1, "StringBuilder().apply(builderAction).toString()"
invoke-static {v0, v1}, Lm/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iput-object v0, p0, Lq/d;->m:Ljava/lang/String;
:cond_e
return-object v0
.end method