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

203 lines
3.8 KiB
Smali
Raw Normal View History

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