e.smali

.class Ld/a/a/e;
.super Lfreemarker/ext/util/d;
.source "JythonModelCache.java"


# instance fields
.field private final d:Ld/a/a/m;


# direct methods
.method constructor <init>(Ld/a/a/m;)V
    .registers 2

    .line 1
    invoke-direct {p0}, Lfreemarker/ext/util/d;-><init>()V

    .line 2
    iput-object p1, p0, Ld/a/a/e;->d:Ld/a/a/m;

    return-void
.end method


# virtual methods
.method protected a(Ljava/lang/Object;)Lfreemarker/template/E;
    .registers 7

    .line 1
    sget-object v0, Ld/a/a/l;->a:Ld/a/a/k;

    .line 2
    invoke-virtual {v0, p1}, Ld/a/a/k;->a(Ljava/lang/Object;)Z

    move-result v1

    const/4 v2, 0x1

    const/4 v3, 0x0

    if-eqz v1, :cond_3c

    .line 3
    invoke-virtual {v0, p1}, Ld/a/a/k;->b(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 4
    instance-of v1, v0, Lfreemarker/template/E;

    if-eqz v1, :cond_15

    .line 5
    check-cast v0, Lfreemarker/template/E;

    return-object v0

    .line 6
    :cond_15
    instance-of v1, v0, Ljava/util/Map;

    if-eqz v1, :cond_1b

    const/4 v1, 0x1

    goto :goto_1c

    :cond_1b
    const/4 v1, 0x0

    .line 7
    :goto_1c
    instance-of v4, v0, Ljava/util/Date;

    if-eqz v4, :cond_2c

    .line 8
    new-instance p1, Lfreemarker/ext/beans/B;

    check-cast v0, Ljava/util/Date;

    invoke-static {}, Lfreemarker/ext/beans/m;->d()Lfreemarker/ext/beans/m;

    move-result-object v1

    invoke-direct {p1, v0, v1}, Lfreemarker/ext/beans/B;-><init>(Ljava/util/Date;Lfreemarker/ext/beans/m;)V

    return-object p1

    .line 9
    :cond_2c
    instance-of v4, v0, Ljava/util/Collection;

    if-eqz v4, :cond_3d

    .line 10
    instance-of v3, v0, Ljava/util/List;

    if-nez v3, :cond_3e

    .line 11
    new-instance p1, Ljava/util/ArrayList;

    check-cast v0, Ljava/util/Collection;

    invoke-direct {p1, v0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    goto :goto_3e

    :cond_3c
    const/4 v1, 0x0

    :cond_3d
    const/4 v2, 0x0

    .line 12
    :cond_3e
    :goto_3e
    instance-of v0, p1, Lorg/python/core/PyObject;

    if-nez v0, :cond_46

    .line 13
    invoke-static {p1}, Lorg/python/core/Py;->java2py(Ljava/lang/Object;)Lorg/python/core/PyObject;

    move-result-object p1

    :cond_46
    if-nez v1, :cond_86

    .line 14
    instance-of v0, p1, Lorg/python/core/PyDictionary;

    if-nez v0, :cond_86

    instance-of v0, p1, Lorg/python/core/PyStringMap;

    if-eqz v0, :cond_51

    goto :goto_86

    :cond_51
    if-nez v2, :cond_7d

    .line 15
    instance-of v0, p1, Lorg/python/core/PySequence;

    if-eqz v0, :cond_58

    goto :goto_7d

    .line 16
    :cond_58
    instance-of v0, p1, Lorg/python/core/PyInteger;

    if-nez v0, :cond_74

    instance-of v0, p1, Lorg/python/core/PyLong;

    if-nez v0, :cond_74

    instance-of v0, p1, Lorg/python/core/PyFloat;

    if-eqz v0, :cond_65

    goto :goto_74

    .line 17
    :cond_65
    instance-of v0, p1, Lorg/python/core/PyNone;

    if-eqz v0, :cond_6b

    const/4 p1, 0x0

    return-object p1

    .line 18
    :cond_6b
    sget-object v0, Ld/a/a/d;->a:Lfreemarker/ext/util/e;

    iget-object v1, p0, Ld/a/a/e;->d:Ld/a/a/m;

    invoke-interface {v0, p1, v1}, Lfreemarker/ext/util/e;->a(Ljava/lang/Object;Lfreemarker/template/l;)Lfreemarker/template/E;

    move-result-object p1

    return-object p1

    .line 19
    :cond_74
    :goto_74
    sget-object v0, Ld/a/a/g;->e:Lfreemarker/ext/util/e;

    iget-object v1, p0, Ld/a/a/e;->d:Ld/a/a/m;

    invoke-interface {v0, p1, v1}, Lfreemarker/ext/util/e;->a(Ljava/lang/Object;Lfreemarker/template/l;)Lfreemarker/template/E;

    move-result-object p1

    return-object p1

    .line 20
    :cond_7d
    :goto_7d
    sget-object v0, Ld/a/a/j;->e:Lfreemarker/ext/util/e;

    iget-object v1, p0, Ld/a/a/e;->d:Ld/a/a/m;

    invoke-interface {v0, p1, v1}, Lfreemarker/ext/util/e;->a(Ljava/lang/Object;Lfreemarker/template/l;)Lfreemarker/template/E;

    move-result-object p1

    return-object p1

    .line 21
    :cond_86
    :goto_86
    sget-object v0, Ld/a/a/b;->e:Lfreemarker/ext/util/e;

    iget-object v1, p0, Ld/a/a/e;->d:Ld/a/a/m;

    invoke-interface {v0, p1, v1}, Lfreemarker/ext/util/e;->a(Ljava/lang/Object;Lfreemarker/template/l;)Lfreemarker/template/E;

    move-result-object p1

    return-object p1
.end method

.method protected c(Ljava/lang/Object;)Z
    .registers 2

    const/4 p1, 0x1

    return p1
.end method