apkfuckery/com.discord/smali_classes2/okhttp3/ab.smali
2019-12-06 02:29:57 +01:00

177 lines
3.9 KiB
Smali

.class public final Lokhttp3/ab;
.super Ljava/lang/Object;
.source "Route.kt"
# instance fields
.field public final bnE:Ljava/net/Proxy;
.field public final btY:Lokhttp3/a;
.field public final btZ:Ljava/net/InetSocketAddress;
# direct methods
.method public constructor <init>(Lokhttp3/a;Ljava/net/Proxy;Ljava/net/InetSocketAddress;)V
.locals 1
const-string v0, "address"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "proxy"
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "socketAddress"
invoke-static {p3, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lokhttp3/ab;->btY:Lokhttp3/a;
iput-object p2, p0, Lokhttp3/ab;->bnE:Ljava/net/Proxy;
iput-object p3, p0, Lokhttp3/ab;->btZ:Ljava/net/InetSocketAddress;
return-void
.end method
# virtual methods
.method public final GA()Z
.locals 2
iget-object v0, p0, Lokhttp3/ab;->btY:Lokhttp3/a;
iget-object v0, v0, Lokhttp3/a;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
if-eqz v0, :cond_0
iget-object v0, p0, Lokhttp3/ab;->bnE:Ljava/net/Proxy;
invoke-virtual {v0}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;
move-result-object v0
sget-object v1, Ljava/net/Proxy$Type;->HTTP:Ljava/net/Proxy$Type;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public final equals(Ljava/lang/Object;)Z
.locals 2
instance-of v0, p1, Lokhttp3/ab;
if-eqz v0, :cond_0
check-cast p1, Lokhttp3/ab;
iget-object v0, p1, Lokhttp3/ab;->btY:Lokhttp3/a;
iget-object v1, p0, Lokhttp3/ab;->btY:Lokhttp3/a;
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p1, Lokhttp3/ab;->bnE:Ljava/net/Proxy;
iget-object v1, p0, Lokhttp3/ab;->bnE:Ljava/net/Proxy;
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object p1, p1, Lokhttp3/ab;->btZ:Ljava/net/InetSocketAddress;
iget-object v0, p0, Lokhttp3/ab;->btZ:Ljava/net/InetSocketAddress;
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x1
return p1
:cond_0
const/4 p1, 0x0
return p1
.end method
.method public final hashCode()I
.locals 2
iget-object v0, p0, Lokhttp3/ab;->btY:Lokhttp3/a;
invoke-virtual {v0}, Lokhttp3/a;->hashCode()I
move-result v0
add-int/lit16 v0, v0, 0x20f
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Lokhttp3/ab;->bnE:Ljava/net/Proxy;
invoke-virtual {v1}, Ljava/net/Proxy;->hashCode()I
move-result v1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Lokhttp3/ab;->btZ:Ljava/net/InetSocketAddress;
invoke-virtual {v1}, Ljava/net/InetSocketAddress;->hashCode()I
move-result v1
add-int/2addr v0, v1
return v0
.end method
.method public final toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "Route{"
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v1, p0, Lokhttp3/ab;->btZ:Ljava/net/InetSocketAddress;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x7d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method