.class public Lu2/d;
.super Lu2/b;
.source ""


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


# instance fields
.field public final synthetic v:I


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

    iput p1, p0, Lu2/d;->v:I

    .line 1
    invoke-direct {p0}, Lu2/b;-><init>()V

    return-void
.end method


# virtual methods
.method public A(Lw2/i;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
    .registers 8

    iget v0, p0, Lu2/d;->v:I

    const-string v1, "]"

    packed-switch v0, :pswitch_data_162

    goto/16 :goto_f5

    :pswitch_9
    const-string p2, "PATTERN_RULE_REGISTRY"

    const-string v0, "conversionWord"

    .line 1
    invoke-interface {p3, v0}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v2, "converterClass"

    invoke-interface {p3, v2}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p3

    invoke-static {v0}, Le/c;->h(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_20

    const-string p1, "No \'conversionWord\' attribute in <conversionRule>"

    goto :goto_65

    :cond_20
    invoke-static {p3}, Le/c;->h(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2c

    const-string p2, "No \'converterClass\' attribute in <conversionRule>"

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

    goto :goto_68

    :cond_2c
    :try_start_2c
    iget-object p1, p0, Lc3/d;->t:Ln2/e;

    invoke-interface {p1, p2}, Ln2/e;->f(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/util/Map;

    if-nez p1, :cond_40

    new-instance p1, Ljava/util/HashMap;

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

    iget-object v2, p0, Lc3/d;->t:Ln2/e;

    invoke-interface {v2, p2, p1}, Ln2/e;->l(Ljava/lang/String;Ljava/lang/Object;)V

    :cond_40
    new-instance p2, Ljava/lang/StringBuilder;

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

    const-string v2, "registering conversion word "

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

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

    const-string v2, " with class ["

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

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

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

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

    move-result-object p2

    invoke-virtual {p0, p2}, Lc3/d;->u(Ljava/lang/String;)V

    invoke-interface {p1, v0, p3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_62
    .catch Ljava/lang/Exception; {:try_start_2c .. :try_end_62} :catch_63

    goto :goto_68

    :catch_63
    const-string p1, "Could not add conversion rule to PatternLayout."

    :goto_65
    invoke-virtual {p0, p1}, Lc3/d;->t(Ljava/lang/String;)V

    :goto_68
    return-void

    .line 2
    :pswitch_69
    invoke-virtual {p1}, Lw2/i;->C()Ljava/lang/Object;

    move-result-object v0

    instance-of v1, v0, Lc3/a;

    if-nez v1, :cond_8f

    new-instance p3, Ljava/lang/StringBuilder;

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

    const-string v0, "Could not find an AppenderAttachable at the top of execution stack. Near ["

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

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

    const-string p2, "] line "

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

    invoke-virtual {p0, p1}, Lu2/b;->D(Lw2/i;)I

    move-result p1

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

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

    move-result-object p1

    goto :goto_d1

    :cond_8f
    check-cast v0, Lc3/a;

    const-string p2, "ref"

    invoke-interface {p3, p2}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Lw2/i;->E(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    invoke-static {p2}, Le/c;->h(Ljava/lang/String;)Z

    move-result p3

    if-eqz p3, :cond_a4

    const-string p1, "Missing appender ref attribute in <appender-ref> tag."

    goto :goto_d1

    .line 3
    :cond_a4
    iget-object p1, p1, Lw2/i;->w:Ljava/util/Map;

    const-string p3, "APPENDER_BAG"

    .line 4
    invoke-interface {p1, p3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/util/HashMap;

    invoke-virtual {p1, p2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ln2/a;

    if-nez p1, :cond_d5

    new-instance p1, Ljava/lang/StringBuilder;

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

    const-string p3, "Could not find an appender named ["

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

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

    const-string p2, "]. Did you define it below instead of above in the configuration file?"

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

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

    move-result-object p1

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

    const-string p1, "See http://logback.qos.ch/codes.html#appender_order for more details."

    :goto_d1
    invoke-virtual {p0, p1}, Lc3/d;->t(Ljava/lang/String;)V

    goto :goto_f4

    :cond_d5
    new-instance p3, Ljava/lang/StringBuilder;

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

    const-string v1, "Attaching appender named ["

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

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

    const-string p2, "] to "

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

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

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

    move-result-object p2

    invoke-virtual {p0, p2}, Lc3/d;->u(Ljava/lang/String;)V

    invoke-interface {v0, p1}, Lc3/a;->e(Ln2/a;)V

    :goto_f4
    return-void

    :goto_f5
    const-string p2, ","

    const-string v0, "pattern"

    .line 5
    invoke-interface {p3, v0}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v2, "actionClass"

    invoke-interface {p3, v2}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p3

    invoke-static {v0}, Le/c;->h(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_10c

    const-string p1, "No \'pattern\' attribute in <newRule>"

    goto :goto_15d

    :cond_10c
    invoke-static {p3}, Le/c;->h(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_115

    const-string p1, "No \'actionClass\' attribute in <newRule>"

    goto :goto_15d

    :cond_115
    :try_start_115
    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, "About to add new Joran parsing rule ["

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

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

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

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

    const-string v3, "]."

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

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

    move-result-object v2

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

    .line 6
    iget-object p1, p1, Lw2/i;->y:Lw2/j;

    .line 7
    iget-object p1, p1, Lw2/j;->a:Lw2/n;

    .line 8
    new-instance v2, Lw2/f;

    invoke-direct {v2, v0}, Lw2/f;-><init>(Ljava/lang/String;)V

    check-cast p1, Lw2/o;

    invoke-virtual {p1, v2, p3}, Lw2/o;->A(Lw2/f;Ljava/lang/String;)V
    :try_end_142
    .catch Ljava/lang/Exception; {:try_start_115 .. :try_end_142} :catch_143

    goto :goto_160

    :catch_143
    new-instance p1, Ljava/lang/StringBuilder;

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

    const-string v2, "Could not add new Joran parsing rule ["

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

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

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

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

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

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

    move-result-object p1

    :goto_15d
    invoke-virtual {p0, p1}, Lc3/d;->t(Ljava/lang/String;)V

    :goto_160
    return-void

    nop

    :pswitch_data_162
    .packed-switch 0x0
        :pswitch_69
        :pswitch_9
    .end packed-switch
.end method

.method public C(Lw2/i;Ljava/lang/String;)V
    .registers 3

    return-void
.end method
