Rabbit-R1/switch port/smali/smali_classes3/okhttp3/Route.smali

312 lines
8.4 KiB
Smali
Raw Normal View History

2024-05-21 16:08:36 -05:00
.class public final Lokhttp3/Route;
.super Ljava/lang/Object;
.source "Route.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0006\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0004\n\u0002\u0010\u000e\n\u0000\u0018\u00002\u00020\u0001B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u00a2\u0006\u0002\u0010\u0008J\r\u0010\u0002\u001a\u00020\u0003H\u0007\u00a2\u0006\u0002\u0008\u000cJ\u0013\u0010\r\u001a\u00020\u000e2\u0008\u0010\u000f\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\u0008\u0010\u0010\u001a\u00020\u0011H\u0016J\r\u0010\u0004\u001a\u00020\u0005H\u0007\u00a2\u0006\u0002\u0008\u0012J\u0006\u0010\u0013\u001a\u00020\u000eJ\r\u0010\u0006\u001a\u00020\u0007H\u0007\u00a2\u0006\u0002\u0008\u0014J\u0008\u0010\u0015\u001a\u00020\u0016H\u0016R\u0013\u0010\u0002\u001a\u00020\u00038\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0002\u0010\tR\u0013\u0010\u0004\u001a\u00020\u00058\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0004\u0010\nR\u0013\u0010\u0006\u001a\u00020\u00078\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0006\u0010\u000b\u00a8\u0006\u0017"
}
d2 = {
"Lokhttp3/Route;",
"",
"address",
"Lokhttp3/Address;",
"proxy",
"Ljava/net/Proxy;",
"socketAddress",
"Ljava/net/InetSocketAddress;",
"(Lokhttp3/Address;Ljava/net/Proxy;Ljava/net/InetSocketAddress;)V",
"()Lokhttp3/Address;",
"()Ljava/net/Proxy;",
"()Ljava/net/InetSocketAddress;",
"-deprecated_address",
"equals",
"",
"other",
"hashCode",
"",
"-deprecated_proxy",
"requiresTunnel",
"-deprecated_socketAddress",
"toString",
"",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field private final address:Lokhttp3/Address;
.field private final proxy:Ljava/net/Proxy;
.field private final socketAddress:Ljava/net/InetSocketAddress;
# direct methods
.method public constructor <init>(Lokhttp3/Address;Ljava/net/Proxy;Ljava/net/InetSocketAddress;)V
.locals 1
const-string v0, "address"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "proxy"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "socketAddress"
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 34
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lokhttp3/Route;->address:Lokhttp3/Address;
iput-object p2, p0, Lokhttp3/Route;->proxy:Ljava/net/Proxy;
iput-object p3, p0, Lokhttp3/Route;->socketAddress:Ljava/net/InetSocketAddress;
return-void
.end method
# virtual methods
.method public final -deprecated_address()Lokhttp3/Address;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "address"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/Route;->address:Lokhttp3/Address;
return-object p0
.end method
.method public final -deprecated_proxy()Ljava/net/Proxy;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "proxy"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/Route;->proxy:Ljava/net/Proxy;
return-object p0
.end method
.method public final -deprecated_socketAddress()Ljava/net/InetSocketAddress;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "socketAddress"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokhttp3/Route;->socketAddress:Ljava/net/InetSocketAddress;
return-object p0
.end method
.method public final address()Lokhttp3/Address;
.locals 0
iget-object p0, p0, Lokhttp3/Route;->address:Lokhttp3/Address;
return-object p0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 2
.line 76
instance-of v0, p1, Lokhttp3/Route;
if-eqz v0, :cond_0
check-cast p1, Lokhttp3/Route;
iget-object v0, p1, Lokhttp3/Route;->address:Lokhttp3/Address;
iget-object v1, p0, Lokhttp3/Route;->address:Lokhttp3/Address;
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p1, Lokhttp3/Route;->proxy:Ljava/net/Proxy;
iget-object v1, p0, Lokhttp3/Route;->proxy:Ljava/net/Proxy;
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object p1, p1, Lokhttp3/Route;->socketAddress:Ljava/net/InetSocketAddress;
iget-object p0, p0, Lokhttp3/Route;->socketAddress:Ljava/net/InetSocketAddress;
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p0
if-eqz p0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public hashCode()I
.locals 2
iget-object v0, p0, Lokhttp3/Route;->address:Lokhttp3/Address;
.line 84
invoke-virtual {v0}, Lokhttp3/Address;->hashCode()I
move-result v0
const/16 v1, 0x20f
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-object v0, p0, Lokhttp3/Route;->proxy:Ljava/net/Proxy;
.line 85
invoke-virtual {v0}, Ljava/net/Proxy;->hashCode()I
move-result v0
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-object p0, p0, Lokhttp3/Route;->socketAddress:Ljava/net/InetSocketAddress;
.line 86
invoke-virtual {p0}, Ljava/net/InetSocketAddress;->hashCode()I
move-result p0
add-int/2addr v1, p0
return v1
.end method
.method public final proxy()Ljava/net/Proxy;
.locals 0
iget-object p0, p0, Lokhttp3/Route;->proxy:Ljava/net/Proxy;
return-object p0
.end method
.method public final requiresTunnel()Z
.locals 1
iget-object v0, p0, Lokhttp3/Route;->address:Lokhttp3/Address;
.line 73
invoke-virtual {v0}, Lokhttp3/Address;->sslSocketFactory()Ljavax/net/ssl/SSLSocketFactory;
move-result-object v0
if-eqz v0, :cond_0
iget-object p0, p0, Lokhttp3/Route;->proxy:Ljava/net/Proxy;
invoke-virtual {p0}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;
move-result-object p0
sget-object v0, Ljava/net/Proxy$Type;->HTTP:Ljava/net/Proxy$Type;
if-ne p0, v0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public final socketAddress()Ljava/net/InetSocketAddress;
.locals 0
iget-object p0, p0, Lokhttp3/Route;->socketAddress:Ljava/net/InetSocketAddress;
return-object p0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.line 90
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "Route{"
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object p0, p0, Lokhttp3/Route;->socketAddress:Ljava/net/InetSocketAddress;
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object p0
const/16 v0, 0x7d
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method