CustomEventInterstitialFactory.smali
.class public Lcom/mopub/mobileads/factories/CustomEventInterstitialFactory;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field private static instance:Lcom/mopub/mobileads/factories/CustomEventInterstitialFactory;
# direct methods
.method static constructor <clinit>()V
.registers 1
.line 12
new-instance v0, Lcom/mopub/mobileads/factories/CustomEventInterstitialFactory;
invoke-direct {v0}, Lcom/mopub/mobileads/factories/CustomEventInterstitialFactory;-><init>()V
sput-object v0, Lcom/mopub/mobileads/factories/CustomEventInterstitialFactory;->instance:Lcom/mopub/mobileads/factories/CustomEventInterstitialFactory;
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 11
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static create(Ljava/lang/String;)Lcom/mopub/mobileads/CustomEventInterstitial;
.registers 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 15
sget-object v0, Lcom/mopub/mobileads/factories/CustomEventInterstitialFactory;->instance:Lcom/mopub/mobileads/factories/CustomEventInterstitialFactory;
invoke-virtual {v0, p0}, Lcom/mopub/mobileads/factories/CustomEventInterstitialFactory;->internalCreate(Ljava/lang/String;)Lcom/mopub/mobileads/CustomEventInterstitial;
move-result-object p0
return-object p0
.end method
.method public static setInstance(Lcom/mopub/mobileads/factories/CustomEventInterstitialFactory;)V
.registers 1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 20
sput-object p0, Lcom/mopub/mobileads/factories/CustomEventInterstitialFactory;->instance:Lcom/mopub/mobileads/factories/CustomEventInterstitialFactory;
return-void
.end method
# virtual methods
.method protected internalCreate(Ljava/lang/String;)Lcom/mopub/mobileads/CustomEventInterstitial;
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 24
invoke-static {p1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object p1
const-class v0, Lcom/mopub/mobileads/CustomEventInterstitial;
.line 25
invoke-virtual {p1, v0}, Ljava/lang/Class;->asSubclass(Ljava/lang/Class;)Ljava/lang/Class;
move-result-object p1
const/4 v0, 0x0
.line 26
invoke-virtual {p1, v0}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
move-result-object p1
const/4 v0, 0x1
.line 27
invoke-virtual {p1, v0}, Ljava/lang/reflect/Constructor;->setAccessible(Z)V
const/4 v0, 0x0
new-array v0, v0, [Ljava/lang/Object;
.line 28
invoke-virtual {p1, v0}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/mopub/mobileads/CustomEventInterstitial;
return-object p1
.end method