.class Lcom/moji/credit/CreditWebActivity$4;
.super Ljava/lang/Object;
.source "CreditWebActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/credit/CreditWebActivity;->k()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/credit/CreditWebActivity;


# direct methods
.method constructor <init>(Lcom/moji/credit/CreditWebActivity;)V
    .locals 0

    .line 158
    iput-object p1, p0, Lcom/moji/credit/CreditWebActivity$4;->a:Lcom/moji/credit/CreditWebActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public copyCode(Ljava/lang/String;)V
    .locals 2
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 162
    iget-object v0, p0, Lcom/moji/credit/CreditWebActivity$4;->a:Lcom/moji/credit/CreditWebActivity;

    invoke-static {v0}, Lcom/moji/credit/CreditWebActivity;->b(Lcom/moji/credit/CreditWebActivity;)Lcom/moji/credit/CreditsH5Listener;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 163
    iget-object v0, p0, Lcom/moji/credit/CreditWebActivity$4;->a:Lcom/moji/credit/CreditWebActivity;

    invoke-static {v0}, Lcom/moji/credit/CreditWebActivity;->c(Lcom/moji/credit/CreditWebActivity;)Lcom/moji/webview/bridge/BridgeWebView;

    move-result-object v0

    new-instance v1, Lcom/moji/credit/CreditWebActivity$4$1;

    invoke-direct {v1, p0, p1}, Lcom/moji/credit/CreditWebActivity$4$1;-><init>(Lcom/moji/credit/CreditWebActivity$4;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Lcom/moji/webview/bridge/BridgeWebView;->post(Ljava/lang/Runnable;)Z

    :cond_0
    return-void
.end method

.method public localRefresh(Ljava/lang/String;)V
    .locals 2
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 175
    iget-object v0, p0, Lcom/moji/credit/CreditWebActivity$4;->a:Lcom/moji/credit/CreditWebActivity;

    invoke-static {v0}, Lcom/moji/credit/CreditWebActivity;->b(Lcom/moji/credit/CreditWebActivity;)Lcom/moji/credit/CreditsH5Listener;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 176
    iget-object v0, p0, Lcom/moji/credit/CreditWebActivity$4;->a:Lcom/moji/credit/CreditWebActivity;

    invoke-static {v0}, Lcom/moji/credit/CreditWebActivity;->c(Lcom/moji/credit/CreditWebActivity;)Lcom/moji/webview/bridge/BridgeWebView;

    move-result-object v0

    new-instance v1, Lcom/moji/credit/CreditWebActivity$4$2;

    invoke-direct {v1, p0, p1}, Lcom/moji/credit/CreditWebActivity$4$2;-><init>(Lcom/moji/credit/CreditWebActivity$4;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Lcom/moji/webview/bridge/BridgeWebView;->post(Ljava/lang/Runnable;)Z

    :cond_0
    return-void
.end method

.method public login()V
    .locals 2
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 187
    iget-object v0, p0, Lcom/moji/credit/CreditWebActivity$4;->a:Lcom/moji/credit/CreditWebActivity;

    invoke-static {v0}, Lcom/moji/credit/CreditWebActivity;->b(Lcom/moji/credit/CreditWebActivity;)Lcom/moji/credit/CreditsH5Listener;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 188
    iget-object v0, p0, Lcom/moji/credit/CreditWebActivity$4;->a:Lcom/moji/credit/CreditWebActivity;

    invoke-static {v0}, Lcom/moji/credit/CreditWebActivity;->c(Lcom/moji/credit/CreditWebActivity;)Lcom/moji/webview/bridge/BridgeWebView;

    move-result-object v0

    new-instance v1, Lcom/moji/credit/CreditWebActivity$4$3;

    invoke-direct {v1, p0}, Lcom/moji/credit/CreditWebActivity$4$3;-><init>(Lcom/moji/credit/CreditWebActivity$4;)V

    invoke-virtual {v0, v1}, Lcom/moji/webview/bridge/BridgeWebView;->post(Ljava/lang/Runnable;)Z

    :cond_0
    return-void
.end method
