j.smali

.class public Ld/a/a/j;
.super Ld/a/a/d;
.source "JythonSequenceModel.java"

# interfaces
.implements Lfreemarker/template/L;
.implements Lfreemarker/template/s;


# static fields
.field static final e:Lfreemarker/ext/util/e;


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

    .line 1
    new-instance v0, Ld/a/a/h;

    invoke-direct {v0}, Ld/a/a/h;-><init>()V

    sput-object v0, Ld/a/a/j;->e:Lfreemarker/ext/util/e;

    return-void
.end method

.method public constructor <init>(Lorg/python/core/PyObject;Ld/a/a/m;)V
    .registers 3

    .line 1
    invoke-direct {p0, p1, p2}, Ld/a/a/d;-><init>(Lorg/python/core/PyObject;Ld/a/a/m;)V

    return-void
.end method


# virtual methods
.method public get(I)Lfreemarker/template/E;
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lfreemarker/template/TemplateModelException;
        }
    .end annotation

    .line 1
    :try_start_0
    iget-object v0, p0, Ld/a/a/d;->d:Ld/a/a/m;

    iget-object v1, p0, Ld/a/a/d;->c:Lorg/python/core/PyObject;

    invoke-virtual {v1, p1}, Lorg/python/core/PyObject;->__finditem__(I)Lorg/python/core/PyObject;

    move-result-object p1

    invoke-virtual {v0, p1}, Ld/a/a/m;->a(Ljava/lang/Object;)Lfreemarker/template/E;

    move-result-object p1
    :try_end_c
    .catch Lorg/python/core/PyException; {:try_start_0 .. :try_end_c} :catch_d

    return-object p1

    :catch_d
    move-exception p1

    .line 2
    new-instance v0, Lfreemarker/template/TemplateModelException;

    invoke-direct {v0, p1}, Lfreemarker/template/TemplateModelException;-><init>(Ljava/lang/Exception;)V

    throw v0
.end method

.method public iterator()Lfreemarker/template/G;
    .registers 2

    .line 1
    new-instance v0, Ld/a/a/i;

    invoke-direct {v0, p0}, Ld/a/a/i;-><init>(Ld/a/a/j;)V

    return-object v0
.end method

.method public size()I
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lfreemarker/template/TemplateModelException;
        }
    .end annotation

    .line 1
    :try_start_0
    iget-object v0, p0, Ld/a/a/d;->c:Lorg/python/core/PyObject;

    invoke-virtual {v0}, Lorg/python/core/PyObject;->__len__()I

    move-result v0
    :try_end_6
    .catch Lorg/python/core/PyException; {:try_start_0 .. :try_end_6} :catch_7

    return v0

    :catch_7
    move-exception v0

    .line 2
    new-instance v1, Lfreemarker/template/TemplateModelException;

    invoke-direct {v1, v0}, Lfreemarker/template/TemplateModelException;-><init>(Ljava/lang/Exception;)V

    throw v1
.end method