JSONPath$a.smali

.class Lcom/tradplus/ads/common/serialization/JSONPath$a;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/tradplus/ads/common/serialization/JSONPath$aa;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/tradplus/ads/common/serialization/JSONPath;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = "a"
.end annotation


# instance fields
.field private final a:I


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

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

    iput p1, p0, Lcom/tradplus/ads/common/serialization/JSONPath$a;->a:I

    return-void
.end method

.method static synthetic a(Lcom/tradplus/ads/common/serialization/JSONPath$a;)I
    .registers 1

    iget p0, p0, Lcom/tradplus/ads/common/serialization/JSONPath$a;->a:I

    return p0
.end method


# virtual methods
.method public eval(Lcom/tradplus/ads/common/serialization/JSONPath;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .registers 4

    iget p2, p0, Lcom/tradplus/ads/common/serialization/JSONPath$a;->a:I

    invoke-virtual {p1, p3, p2}, Lcom/tradplus/ads/common/serialization/JSONPath;->a(Ljava/lang/Object;I)Ljava/lang/Object;

    move-result-object p1

    return-object p1
.end method

.method public extract(Lcom/tradplus/ads/common/serialization/JSONPath;Lcom/tradplus/ads/common/serialization/parser/DefaultJSONParser;Lcom/tradplus/ads/common/serialization/JSONPath$b;)V
    .registers 5

    iget-object p1, p2, Lcom/tradplus/ads/common/serialization/parser/DefaultJSONParser;->lexer:Lcom/tradplus/ads/common/serialization/parser/JSONLexer;

    check-cast p1, Lcom/tradplus/ads/common/serialization/parser/JSONLexerBase;

    iget v0, p0, Lcom/tradplus/ads/common/serialization/JSONPath$a;->a:I

    invoke-virtual {p1, v0}, Lcom/tradplus/ads/common/serialization/parser/JSONLexerBase;->seekArrayToItem(I)Z

    move-result p1

    if-eqz p1, :cond_16

    iget-boolean p1, p3, Lcom/tradplus/ads/common/serialization/JSONPath$b;->b:Z

    if-eqz p1, :cond_16

    invoke-virtual {p2}, Lcom/tradplus/ads/common/serialization/parser/DefaultJSONParser;->parse()Ljava/lang/Object;

    move-result-object p1

    iput-object p1, p3, Lcom/tradplus/ads/common/serialization/JSONPath$b;->c:Ljava/lang/Object;

    :cond_16
    return-void
.end method

.method public remove(Lcom/tradplus/ads/common/serialization/JSONPath;Ljava/lang/Object;)Z
    .registers 4

    iget v0, p0, Lcom/tradplus/ads/common/serialization/JSONPath$a;->a:I

    invoke-virtual {p1, p1, p2, v0}, Lcom/tradplus/ads/common/serialization/JSONPath;->removeArrayItem(Lcom/tradplus/ads/common/serialization/JSONPath;Ljava/lang/Object;I)Z

    move-result p1

    return p1
.end method

.method public setValue(Lcom/tradplus/ads/common/serialization/JSONPath;Ljava/lang/Object;Ljava/lang/Object;)Z
    .registers 5

    iget v0, p0, Lcom/tradplus/ads/common/serialization/JSONPath$a;->a:I

    invoke-virtual {p1, p1, p2, v0, p3}, Lcom/tradplus/ads/common/serialization/JSONPath;->setArrayItem(Lcom/tradplus/ads/common/serialization/JSONPath;Ljava/lang/Object;ILjava/lang/Object;)Z

    move-result p1

    return p1
.end method