2020-01-11 23:35:37 +08:00
|
|
|
.class final Lc/s;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source ""
|
|
|
|
|
2020-03-24 03:54:23 +08:00
|
|
|
# interfaces
|
|
|
|
.implements Lc/t;
|
2020-01-11 23:35:37 +08:00
|
|
|
|
|
|
|
|
2020-03-24 03:54:23 +08:00
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lc/t;
|
|
|
|
.end annotation
|
2020-01-11 23:35:37 +08:00
|
|
|
|
2020-03-24 03:54:23 +08:00
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x8
|
|
|
|
name = null
|
|
|
|
.end annotation
|
2020-01-11 23:35:37 +08:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-03-24 03:54:23 +08:00
|
|
|
.method public lookup(Ljava/lang/String;)Ljava/util/List;
|
2020-01-11 23:35:37 +08:00
|
|
|
.locals 1
|
2020-03-24 03:54:23 +08:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
")",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/net/InetAddress;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2020-01-11 23:35:37 +08:00
|
|
|
|
2020-03-24 03:54:23 +08:00
|
|
|
if-eqz p1, :cond_0
|
2020-01-11 23:35:37 +08:00
|
|
|
|
2020-03-24 03:54:23 +08:00
|
|
|
invoke-static {p1}, Ljava/net/InetAddress;->getAllByName(Ljava/lang/String;)[Ljava/net/InetAddress;
|
2020-01-11 23:35:37 +08:00
|
|
|
|
2020-03-24 03:54:23 +08:00
|
|
|
move-result-object p1
|
2020-01-11 23:35:37 +08:00
|
|
|
|
2020-03-24 03:54:23 +08:00
|
|
|
invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
2020-01-11 23:35:37 +08:00
|
|
|
|
2020-03-24 03:54:23 +08:00
|
|
|
move-result-object p1
|
2020-01-11 23:35:37 +08:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_0
|
2020-03-24 03:54:23 +08:00
|
|
|
new-instance p1, Ljava/net/UnknownHostException;
|
2020-01-11 23:35:37 +08:00
|
|
|
|
2020-03-24 03:54:23 +08:00
|
|
|
const-string v0, "hostname == null"
|
2020-01-11 23:35:37 +08:00
|
|
|
|
2020-03-24 03:54:23 +08:00
|
|
|
invoke-direct {p1, v0}, Ljava/net/UnknownHostException;-><init>(Ljava/lang/String;)V
|
2020-01-11 23:35:37 +08:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|