12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- .class final Lokhttp3/Dns$1;
- .super Ljava/lang/Object;
- .source ""
- # interfaces
- .implements Lokhttp3/Dns;
- # annotations
- .annotation system Ldalvik/annotation/EnclosingClass;
- value = Lokhttp3/Dns;
- .end annotation
- .annotation system Ldalvik/annotation/InnerClass;
- accessFlags = 0x0
- name = null
- .end annotation
- # direct methods
- .method constructor <init>()V
- .locals 0
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
- return-void
- .end method
- # virtual methods
- .method public lookup(Ljava/lang/String;)Ljava/util/List;
- .locals 1
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "(",
- "Ljava/lang/String;",
- ")",
- "Ljava/util/List<",
- "Ljava/net/InetAddress;",
- ">;"
- }
- .end annotation
- .annotation system Ldalvik/annotation/Throws;
- value = {
- Ljava/net/UnknownHostException;
- }
- .end annotation
- if-eqz p1, :cond_0
- invoke-static {p1}, Ljava/net/InetAddress;->getAllByName(Ljava/lang/String;)[Ljava/net/InetAddress;
- move-result-object p1
- invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
- move-result-object p1
- return-object p1
- :cond_0
- new-instance p1, Ljava/net/UnknownHostException;
- const-string v0, "hostname == null"
- invoke-direct {p1, v0}, Ljava/net/UnknownHostException;-><init>(Ljava/lang/String;)V
- throw p1
- .end method
|