125 lines
2.9 KiB
Smali
125 lines
2.9 KiB
Smali
.class public final Lcom/moji/httpdns/config/HttpDnsConfig$Builder;
|
|
.super Ljava/lang/Object;
|
|
.source "HttpDnsConfig.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/moji/httpdns/config/HttpDnsConfig;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Builder"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private a:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private b:I
|
|
|
|
.field private c:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 41
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/httpdns/config/HttpDnsConfig$Builder;)Ljava/util/Set;
|
|
.locals 0
|
|
|
|
.line 36
|
|
iget-object p0, p0, Lcom/moji/httpdns/config/HttpDnsConfig$Builder;->a:Ljava/util/Set;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic b(Lcom/moji/httpdns/config/HttpDnsConfig$Builder;)I
|
|
.locals 0
|
|
|
|
.line 36
|
|
iget p0, p0, Lcom/moji/httpdns/config/HttpDnsConfig$Builder;->b:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic c(Lcom/moji/httpdns/config/HttpDnsConfig$Builder;)I
|
|
.locals 0
|
|
|
|
.line 36
|
|
iget p0, p0, Lcom/moji/httpdns/config/HttpDnsConfig$Builder;->c:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Ljava/util/Set;)Lcom/moji/httpdns/config/HttpDnsConfig$Builder;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;)",
|
|
"Lcom/moji/httpdns/config/HttpDnsConfig$Builder;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 51
|
|
iput-object p1, p0, Lcom/moji/httpdns/config/HttpDnsConfig$Builder;->a:Ljava/util/Set;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public a()Lcom/moji/httpdns/config/HttpDnsConfig;
|
|
.locals 2
|
|
|
|
.line 71
|
|
iget-object v0, p0, Lcom/moji/httpdns/config/HttpDnsConfig$Builder;->a:Ljava/util/Set;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/moji/httpdns/config/HttpDnsConfig$Builder;->a:Ljava/util/Set;
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 74
|
|
new-instance v0, Lcom/moji/httpdns/config/HttpDnsConfig;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, p0, v1}, Lcom/moji/httpdns/config/HttpDnsConfig;-><init>(Lcom/moji/httpdns/config/HttpDnsConfig$Builder;Lcom/moji/httpdns/config/HttpDnsConfig$1;)V
|
|
|
|
return-object v0
|
|
|
|
.line 72
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v1, "\u57df\u540d\u5217\u8868\u4e3a\u5fc5\u586b\u5185\u5bb9"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|