mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
146 lines
3.4 KiB
Smali
146 lines
3.4 KiB
Smali
![]() |
.class public final Lcom/google/common/net/InetAddresses$TeredoInfo;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "InetAddresses.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/google/common/net/InetAddresses;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x19
|
||
|
name = "TeredoInfo"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field private final client:Ljava/net/Inet4Address;
|
||
|
|
||
|
.field private final flags:I
|
||
|
|
||
|
.field private final port:I
|
||
|
|
||
|
.field private final server:Ljava/net/Inet4Address;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Ljava/net/Inet4Address;Ljava/net/Inet4Address;II)V
|
||
|
.locals 5
|
||
|
.param p1 # Ljava/net/Inet4Address;
|
||
|
.annotation runtime Ljavax/annotation/CheckForNull;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
.param p2 # Ljava/net/Inet4Address;
|
||
|
.annotation runtime Ljavax/annotation/CheckForNull;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
|
||
|
.line 687
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
const v1, 0xffff
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
if-ltz p3, :cond_0
|
||
|
|
||
|
if-gt p3, v1, :cond_0
|
||
|
|
||
|
move v3, v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
move v3, v2
|
||
|
|
||
|
:goto_0
|
||
|
const-string v4, "port \'%s\' is out of range (0 <= port <= 0xffff)"
|
||
|
|
||
|
.line 688
|
||
|
invoke-static {v3, v4, p3}, Lcom/google/common/base/Preconditions;->checkArgument(ZLjava/lang/String;I)V
|
||
|
|
||
|
if-ltz p4, :cond_1
|
||
|
|
||
|
if-gt p4, v1, :cond_1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
move v0, v2
|
||
|
|
||
|
:goto_1
|
||
|
const-string v1, "flags \'%s\' is out of range (0 <= flags <= 0xffff)"
|
||
|
|
||
|
.line 690
|
||
|
invoke-static {v0, v1, p4}, Lcom/google/common/base/Preconditions;->checkArgument(ZLjava/lang/String;I)V
|
||
|
|
||
|
.line 695
|
||
|
invoke-static {}, Lcom/google/common/net/InetAddresses;->access$000()Ljava/net/Inet4Address;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-static {p1, v0}, Lcom/google/common/base/MoreObjects;->firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
check-cast p1, Ljava/net/Inet4Address;
|
||
|
|
||
|
iput-object p1, p0, Lcom/google/common/net/InetAddresses$TeredoInfo;->server:Ljava/net/Inet4Address;
|
||
|
|
||
|
.line 696
|
||
|
invoke-static {}, Lcom/google/common/net/InetAddresses;->access$000()Ljava/net/Inet4Address;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-static {p2, p1}, Lcom/google/common/base/MoreObjects;->firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
check-cast p1, Ljava/net/Inet4Address;
|
||
|
|
||
|
iput-object p1, p0, Lcom/google/common/net/InetAddresses$TeredoInfo;->client:Ljava/net/Inet4Address;
|
||
|
|
||
|
iput p3, p0, Lcom/google/common/net/InetAddresses$TeredoInfo;->port:I
|
||
|
|
||
|
iput p4, p0, Lcom/google/common/net/InetAddresses$TeredoInfo;->flags:I
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public getClient()Ljava/net/Inet4Address;
|
||
|
.locals 0
|
||
|
|
||
|
iget-object p0, p0, Lcom/google/common/net/InetAddresses$TeredoInfo;->client:Ljava/net/Inet4Address;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public getFlags()I
|
||
|
.locals 0
|
||
|
|
||
|
iget p0, p0, Lcom/google/common/net/InetAddresses$TeredoInfo;->flags:I
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public getPort()I
|
||
|
.locals 0
|
||
|
|
||
|
iget p0, p0, Lcom/google/common/net/InetAddresses$TeredoInfo;->port:I
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public getServer()Ljava/net/Inet4Address;
|
||
|
.locals 0
|
||
|
|
||
|
iget-object p0, p0, Lcom/google/common/net/InetAddresses$TeredoInfo;->server:Ljava/net/Inet4Address;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|