BehaviorCodeImpl.smali
.class public Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;
.super Ljava/lang/Object;
.source "BehaviorCodeImpl.java"
# interfaces
.implements Lcom/cm/plugincluster/softmgr/interfaces/scan/IBehaviorCode;
# instance fields
.field private mAdwareCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IAdwareCode;
.field private mBehaviorCode:Ljava/lang/String;
.field private mCodePaser:Lcom/cm/plugincluster/softmgr/interfaces/scan/ICodeBitPaser;
.field private mPaymentCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IPaymentCode;
.field private mVirusCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IVirusCode;
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.registers 4
.prologue
.line 23
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 24
iput-object p1, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mBehaviorCode:Ljava/lang/String;
.line 25
new-instance v0, Lcom/cm/plugincluster/softmgr/interfaces/scan/CodePaserImpl;
iget-object v1, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mBehaviorCode:Ljava/lang/String;
invoke-direct {v0, v1}, Lcom/cm/plugincluster/softmgr/interfaces/scan/CodePaserImpl;-><init>(Ljava/lang/String;)V
iput-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mCodePaser:Lcom/cm/plugincluster/softmgr/interfaces/scan/ICodeBitPaser;
.line 26
return-void
.end method
# virtual methods
.method public getAdwareCode()Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IAdwareCode;
.registers 3
.prologue
.line 40
iget-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mBehaviorCode:Ljava/lang/String;
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_a
.line 41
const/4 v0, 0x0
.line 48
:goto_9
return-object v0
.line 44
:cond_a
iget-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mAdwareCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IAdwareCode;
if-eqz v0, :cond_11
.line 45
iget-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mAdwareCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IAdwareCode;
goto :goto_9
.line 47
:cond_11
new-instance v0, Lcom/cm/plugincluster/softmgr/interfaces/scan/AdwareCodeImpl;
iget-object v1, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mBehaviorCode:Ljava/lang/String;
invoke-direct {v0, v1}, Lcom/cm/plugincluster/softmgr/interfaces/scan/AdwareCodeImpl;-><init>(Ljava/lang/String;)V
iput-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mAdwareCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IAdwareCode;
.line 48
iget-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mAdwareCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IAdwareCode;
goto :goto_9
.end method
.method public getPaymentCode()Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IPaymentCode;
.registers 3
.prologue
.line 53
iget-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mBehaviorCode:Ljava/lang/String;
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_a
.line 54
const/4 v0, 0x0
.line 61
:goto_9
return-object v0
.line 57
:cond_a
iget-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mPaymentCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IPaymentCode;
if-eqz v0, :cond_11
.line 58
iget-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mPaymentCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IPaymentCode;
goto :goto_9
.line 60
:cond_11
new-instance v0, Lcom/cm/plugincluster/softmgr/interfaces/scan/PaymentCodeImpl;
iget-object v1, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mCodePaser:Lcom/cm/plugincluster/softmgr/interfaces/scan/ICodeBitPaser;
invoke-direct {v0, v1}, Lcom/cm/plugincluster/softmgr/interfaces/scan/PaymentCodeImpl;-><init>(Lcom/cm/plugincluster/softmgr/interfaces/scan/ICodeBitPaser;)V
iput-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mPaymentCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IPaymentCode;
.line 61
iget-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mPaymentCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IPaymentCode;
goto :goto_9
.end method
.method public getVirusCode()Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IVirusCode;
.registers 3
.prologue
.line 30
iget-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mVirusCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IVirusCode;
if-eqz v0, :cond_7
.line 31
iget-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mVirusCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IVirusCode;
.line 35
:goto_6
return-object v0
.line 34
:cond_7
new-instance v0, Lcom/cm/plugincluster/softmgr/interfaces/scan/VirusCodeImpl;
iget-object v1, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mCodePaser:Lcom/cm/plugincluster/softmgr/interfaces/scan/ICodeBitPaser;
invoke-direct {v0, v1}, Lcom/cm/plugincluster/softmgr/interfaces/scan/VirusCodeImpl;-><init>(Lcom/cm/plugincluster/softmgr/interfaces/scan/ICodeBitPaser;)V
iput-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mVirusCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IVirusCode;
.line 35
iget-object v0, p0, Lcom/cm/plugincluster/softmgr/interfaces/scan/BehaviorCodeImpl;->mVirusCode:Lcom/cm/plugincluster/softmgr/interfaces/scan/CodeInterface$IVirusCode;
goto :goto_6
.end method