apkfuckery/com.discord/smali_classes2/d0/w.smali
2020-04-11 17:34:05 +02:00

202 lines
3.8 KiB
Smali

.class public final enum Ld0/w;
.super Ljava/lang/Enum;
.source "Protocol.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Ld0/w$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Ld0/w;",
">;"
}
.end annotation
# static fields
.field public static final enum d:Ld0/w;
.field public static final enum e:Ld0/w;
.field public static final enum f:Ld0/w;
.field public static final enum g:Ld0/w;
.field public static final enum h:Ld0/w;
.field public static final enum i:Ld0/w;
.field public static final synthetic j:[Ld0/w;
.field public static final k:Ld0/w$a;
# instance fields
.field public final protocol:Ljava/lang/String;
# direct methods
.method public static constructor <clinit>()V
.locals 5
const/4 v0, 0x6
new-array v0, v0, [Ld0/w;
new-instance v1, Ld0/w;
const/4 v2, 0x0
const-string v3, "HTTP_1_0"
const-string v4, "http/1.0"
invoke-direct {v1, v3, v2, v4}, Ld0/w;-><init>(Ljava/lang/String;ILjava/lang/String;)V
sput-object v1, Ld0/w;->d:Ld0/w;
aput-object v1, v0, v2
new-instance v1, Ld0/w;
const/4 v2, 0x1
const-string v3, "HTTP_1_1"
const-string v4, "http/1.1"
invoke-direct {v1, v3, v2, v4}, Ld0/w;-><init>(Ljava/lang/String;ILjava/lang/String;)V
sput-object v1, Ld0/w;->e:Ld0/w;
aput-object v1, v0, v2
new-instance v1, Ld0/w;
const/4 v2, 0x2
const-string v3, "SPDY_3"
const-string v4, "spdy/3.1"
invoke-direct {v1, v3, v2, v4}, Ld0/w;-><init>(Ljava/lang/String;ILjava/lang/String;)V
sput-object v1, Ld0/w;->f:Ld0/w;
aput-object v1, v0, v2
new-instance v1, Ld0/w;
const/4 v2, 0x3
const-string v3, "HTTP_2"
const-string v4, "h2"
invoke-direct {v1, v3, v2, v4}, Ld0/w;-><init>(Ljava/lang/String;ILjava/lang/String;)V
sput-object v1, Ld0/w;->g:Ld0/w;
aput-object v1, v0, v2
new-instance v1, Ld0/w;
const/4 v2, 0x4
const-string v3, "H2_PRIOR_KNOWLEDGE"
const-string v4, "h2_prior_knowledge"
invoke-direct {v1, v3, v2, v4}, Ld0/w;-><init>(Ljava/lang/String;ILjava/lang/String;)V
sput-object v1, Ld0/w;->h:Ld0/w;
aput-object v1, v0, v2
new-instance v1, Ld0/w;
const/4 v2, 0x5
const-string v3, "QUIC"
const-string v4, "quic"
invoke-direct {v1, v3, v2, v4}, Ld0/w;-><init>(Ljava/lang/String;ILjava/lang/String;)V
sput-object v1, Ld0/w;->i:Ld0/w;
aput-object v1, v0, v2
sput-object v0, Ld0/w;->j:[Ld0/w;
new-instance v0, Ld0/w$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Ld0/w$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Ld0/w;->k:Ld0/w$a;
return-void
.end method
.method public constructor <init>(Ljava/lang/String;ILjava/lang/String;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
")V"
}
.end annotation
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
iput-object p3, p0, Ld0/w;->protocol:Ljava/lang/String;
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Ld0/w;
.locals 1
const-class v0, Ld0/w;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Ld0/w;
return-object p0
.end method
.method public static values()[Ld0/w;
.locals 1
sget-object v0, Ld0/w;->j:[Ld0/w;
invoke-virtual {v0}, [Ld0/w;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Ld0/w;
return-object v0
.end method
# virtual methods
.method public toString()Ljava/lang/String;
.locals 1
iget-object v0, p0, Ld0/w;->protocol:Ljava/lang/String;
return-object v0
.end method