.class public Lh2/y;
.super Lh2/x;
.source ""


# instance fields
.field public w:I

.field public x:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lp2/a<",
            "Lk2/c;",
            ">;>;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .registers 2

    invoke-direct {p0}, Lh2/x;-><init>()V

    const/4 v0, 0x0

    iput-object v0, p0, Lh2/y;->x:Ljava/util/List;

    return-void
.end method


# virtual methods
.method public E(Ljava/lang/StringBuilder;Lk2/i;)V
    .registers 3

    return-void
.end method

.method public final F(Ljava/lang/StringBuilder;Ljava/lang/String;ILk2/d;)V
    .registers 10

    if-nez p4, :cond_3

    return-void

    :cond_3
    add-int/lit8 v0, p3, -0x1

    .line 1
    invoke-static {p1, v0}, Lp/f;->i(Ljava/lang/StringBuilder;I)V

    if-eqz p2, :cond_d

    invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 2
    :cond_d
    move-object p2, p4

    check-cast p2, Lk2/j;

    .line 3
    iget-object v0, p2, Lk2/j;->b:Ljava/lang/String;

    .line 4
    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, ": "

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 5
    iget-object v0, p2, Lk2/j;->c:Ljava/lang/String;

    .line 6
    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 7
    sget-object v0, Ln2/f;->b:Ljava/lang/String;

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0, p1, p3, p4}, Lh2/y;->G(Ljava/lang/StringBuilder;ILk2/d;)V

    .line 8
    iget-object p4, p2, Lk2/j;->g:[Lk2/j;

    if-eqz p4, :cond_3b

    .line 9
    array-length v0, p4

    const/4 v1, 0x0

    :goto_2d
    if-ge v1, v0, :cond_3b

    aget-object v2, p4, v1

    add-int/lit8 v3, p3, 0x1

    const-string v4, "Suppressed: "

    invoke-virtual {p0, p1, v4, v3, v2}, Lh2/y;->F(Ljava/lang/StringBuilder;Ljava/lang/String;ILk2/d;)V

    add-int/lit8 v1, v1, 0x1

    goto :goto_2d

    .line 10
    :cond_3b
    iget-object p2, p2, Lk2/j;->f:Lk2/j;

    const-string p4, "Caused by: "

    .line 11
    invoke-virtual {p0, p1, p4, p3, p2}, Lh2/y;->F(Ljava/lang/StringBuilder;Ljava/lang/String;ILk2/d;)V

    return-void
.end method

.method public G(Ljava/lang/StringBuilder;ILk2/d;)V
    .registers 10

    check-cast p3, Lk2/j;

    .line 1
    iget-object v0, p3, Lk2/j;->d:[Lk2/i;

    .line 2
    iget v1, p3, Lk2/j;->e:I

    .line 3
    iget v2, p0, Lh2/y;->w:I

    array-length v3, v0

    const/4 v4, 0x0

    if-le v2, v3, :cond_e

    const/4 v3, 0x1

    goto :goto_f

    :cond_e
    move v3, v4

    :goto_f
    if-eqz v3, :cond_12

    array-length v2, v0

    :cond_12
    if-lez v1, :cond_17

    if-eqz v3, :cond_17

    sub-int/2addr v2, v1

    :cond_17
    :goto_17
    if-ge v4, v2, :cond_2e

    invoke-static {p1, p2}, Lp/f;->i(Ljava/lang/StringBuilder;I)V

    aget-object v5, v0, v4

    invoke-virtual {p1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    aget-object v5, v0, v4

    invoke-virtual {p0, p1, v5}, Lh2/y;->E(Ljava/lang/StringBuilder;Lk2/i;)V

    sget-object v5, Ln2/f;->b:Ljava/lang/String;

    invoke-virtual {p1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    add-int/lit8 v4, v4, 0x1

    goto :goto_17

    :cond_2e
    if-lez v1, :cond_49

    if-eqz v3, :cond_49

    invoke-static {p1, p2}, Lp/f;->i(Ljava/lang/StringBuilder;I)V

    const-string p2, "... "

    invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 4
    iget p2, p3, Lk2/j;->e:I

    .line 5
    invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string p2, " common frames omitted"

    invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    sget-object p2, Ln2/f;->b:Ljava/lang/String;

    invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_49
    return-void
.end method

.method public H(Lk2/d;)Ljava/lang/String;
    .registers 5

    new-instance v0, Ljava/lang/StringBuilder;

    const/16 v1, 0x800

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(I)V

    const/4 v1, 0x0

    const/4 v2, 0x1

    invoke-virtual {p0, v0, v1, v2, p1}, Lh2/y;->F(Ljava/lang/StringBuilder;Ljava/lang/String;ILk2/d;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method public b(Ljava/lang/Object;)Ljava/lang/String;
    .registers 7

    check-cast p1, Lk2/c;

    .line 1
    invoke-interface {p1}, Lk2/c;->j()Lk2/d;

    move-result-object v0

    const-string v1, ""

    if-nez v0, :cond_b

    goto :goto_33

    :cond_b
    iget-object v2, p0, Lh2/y;->x:Ljava/util/List;

    if-eqz v2, :cond_2f

    const/4 v2, 0x0

    move v3, v2

    :goto_11
    iget-object v4, p0, Lh2/y;->x:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    if-ge v3, v4, :cond_2b

    iget-object v4, p0, Lh2/y;->x:Ljava/util/List;

    invoke-interface {v4, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lp2/a;

    invoke-interface {v4, p1}, Lp2/a;->s(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_28

    goto :goto_2c

    :cond_28
    add-int/lit8 v3, v3, 0x1

    goto :goto_11

    :cond_2b
    const/4 v2, 0x1

    :goto_2c
    if-nez v2, :cond_2f

    goto :goto_33

    :cond_2f
    invoke-virtual {p0, v0}, Lh2/y;->H(Lk2/d;)Ljava/lang/String;

    move-result-object v1

    :goto_33
    return-object v1
.end method

.method public start()V
    .registers 8

    invoke-virtual {p0}, Lz2/c;->D()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x1

    if-nez v0, :cond_8

    goto :goto_34

    :cond_8
    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    const-string v2, "full"

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_15

    goto :goto_34

    :cond_15
    const-string v2, "short"

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_20

    iput v1, p0, Lh2/y;->w:I

    goto :goto_39

    :cond_20
    :try_start_20
    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    iput v2, p0, Lh2/y;->w:I
    :try_end_26
    .catch Ljava/lang/NumberFormatException; {:try_start_20 .. :try_end_26} :catch_27

    goto :goto_39

    :catch_27
    const-string v2, "Could not parse ["

    const-string v3, "] as an integer"

    invoke-static {v2, v0, v3}, Le/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 1
    iget-object v2, p0, Lz2/c;->t:Lc3/d;

    invoke-virtual {v2, v0}, Lc3/d;->t(Ljava/lang/String;)V

    :goto_34
    const v0, 0x7fffffff

    .line 2
    iput v0, p0, Lh2/y;->w:I

    .line 3
    :goto_39
    iget-object v0, p0, Lz2/c;->u:Ljava/util/List;

    if-eqz v0, :cond_77

    .line 4
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v2

    if-le v2, v1, :cond_77

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v2

    move v3, v1

    :goto_48
    if-ge v3, v2, :cond_77

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    .line 5
    iget-object v5, p0, Lz2/c;->t:Lc3/d;

    invoke-virtual {v5}, Lc3/d;->y()Ln2/e;

    move-result-object v5

    const-string v6, "EVALUATOR_MAP"

    .line 6
    invoke-interface {v5, v6}, Ln2/e;->f(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/util/Map;

    invoke-interface {v5, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lp2/a;

    .line 7
    iget-object v5, p0, Lh2/y;->x:Ljava/util/List;

    if-nez v5, :cond_6f

    new-instance v5, Ljava/util/ArrayList;

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

    iput-object v5, p0, Lh2/y;->x:Ljava/util/List;

    :cond_6f
    iget-object v5, p0, Lh2/y;->x:Ljava/util/List;

    invoke-interface {v5, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v3, v3, 0x1

    goto :goto_48

    .line 8
    :cond_77
    iput-boolean v1, p0, Lz2/c;->v:Z

    return-void
.end method

.method public stop()V
    .registers 2

    const/4 v0, 0x0

    iput-object v0, p0, Lh2/y;->x:Ljava/util/List;

    const/4 v0, 0x0

    .line 1
    iput-boolean v0, p0, Lz2/c;->v:Z

    return-void
.end method
