b.smali

.class public abstract Lvo/b;
.super Ljava/lang/Object;
.source "WebBridgeModule.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<Request:",
        "Ljava/lang/Object;",
        "Response:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;"
    }
.end annotation


# instance fields
.field public a:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Landroid/webkit/WebView;",
            ">;"
        }
    .end annotation
.end field

.field public b:Landroid/content/Context;

.field public c:Ljava/lang/Class;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/Class<",
            "TRequest;>;"
        }
    .end annotation
.end field

.field public d:Z

.field public e:Lvo/e;
    .annotation build Landroidx/annotation/Nullable;
    .end annotation

    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lvo/e<",
            "TResponse;>;"
        }
    .end annotation
.end field

.field public f:Lvo/d;
    .annotation build Landroidx/annotation/Nullable;
    .end annotation
.end field


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/Class;Ljava/lang/Class;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/lang/Class<",
            "TRequest;>;",
            "Ljava/lang/Class<",
            "TResponse;>;)V"
        }
    .end annotation

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

    iput-object p1, p0, Lvo/b;->b:Landroid/content/Context;

    iput-object p2, p0, Lvo/b;->c:Ljava/lang/Class;

    return-void
.end method


# virtual methods
.method public a()Landroid/content/Context;
    .registers 2

    iget-object v0, p0, Lvo/b;->b:Landroid/content/Context;

    return-object v0
.end method

.method public a(Landroid/app/Activity;IILandroid/content/Intent;)V
    .registers 5

    return-void
.end method

.method public a(Landroid/app/Activity;I[Ljava/lang/String;[I)V
    .registers 5
    .param p1    # Landroid/app/Activity;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # I
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    return-void
.end method

.method public a(Landroid/webkit/WebView;Lvo/d;)V
    .registers 4

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lvo/b;->a:Ljava/lang/ref/WeakReference;

    iput-object p2, p0, Lvo/b;->f:Lvo/d;

    return-void
.end method

.method public abstract a(Ljava/lang/Object;)V
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TRequest;)V"
        }
    .end annotation
.end method

.method public a(Ljava/lang/String;Ljava/lang/Object;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "TRequest;)V"
        }
    .end annotation

    iget-boolean v0, p0, Lvo/b;->d:Z

    if-eqz v0, :cond_12

    iget-object v0, p0, Lvo/b;->f:Lvo/d;

    if-eqz v0, :cond_12

    new-instance v1, Lvo/e;

    invoke-direct {v1, p1, v0}, Lvo/e;-><init>(Ljava/lang/String;Lvo/d;)V

    iput-object v1, p0, Lvo/b;->e:Lvo/e;

    invoke-virtual {p0, p2}, Lvo/b;->a(Ljava/lang/Object;)V

    :cond_12
    return-void
.end method

.method public abstract b()Ljava/lang/String;
    .annotation build Landroidx/annotation/NonNull;
    .end annotation
.end method

.method public b(Ljava/lang/Object;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TResponse;)V"
        }
    .end annotation

    invoke-virtual {p0}, Lvo/b;->d()Landroid/webkit/WebView;

    move-result-object v0

    if-eqz v0, :cond_10

    iget-object v0, p0, Lvo/b;->e:Lvo/e;

    if-eqz v0, :cond_10

    invoke-virtual {v0, p1}, Lvo/e;->a(Ljava/lang/Object;)V

    const/4 p1, 0x0

    iput-object p1, p0, Lvo/b;->e:Lvo/e;

    :cond_10
    return-void
.end method

.method public c()Ljava/lang/Class;
    .registers 2

    iget-object v0, p0, Lvo/b;->c:Ljava/lang/Class;

    return-object v0
.end method

.method public d()Landroid/webkit/WebView;
    .registers 2
    .annotation build Landroidx/annotation/Nullable;
    .end annotation

    iget-object v0, p0, Lvo/b;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/webkit/WebView;

    return-object v0
.end method

.method public e()V
    .registers 1

    return-void
.end method

.method public f()V
    .registers 2

    const/4 v0, 0x0

    iput-boolean v0, p0, Lvo/b;->d:Z

    return-void
.end method

.method public g()V
    .registers 2

    const/4 v0, 0x1

    iput-boolean v0, p0, Lvo/b;->d:Z

    return-void
.end method