JSONPath$h.smali
.class Lcom/tradplus/ads/common/serialization/JSONPath$h;
.super Lcom/tradplus/ads/common/serialization/JSONPath$u;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/tradplus/ads/common/serialization/JSONPath;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "h"
.end annotation
# instance fields
.field private final f:[J
.field private final g:Z
# direct methods
.method public constructor <init>(Ljava/lang/String;Z[JZ)V
.registers 5
invoke-direct {p0, p1, p2}, Lcom/tradplus/ads/common/serialization/JSONPath$u;-><init>(Ljava/lang/String;Z)V
iput-object p3, p0, Lcom/tradplus/ads/common/serialization/JSONPath$h;->f:[J
iput-boolean p4, p0, Lcom/tradplus/ads/common/serialization/JSONPath$h;->g:Z
return-void
.end method
# virtual methods
.method public apply(Lcom/tradplus/ads/common/serialization/JSONPath;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
.registers 9
invoke-virtual {p0, p1, p2, p4}, Lcom/tradplus/ads/common/serialization/JSONPath$u;->a(Lcom/tradplus/ads/common/serialization/JSONPath;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const/4 p2, 0x0
if-nez p1, :cond_8
return p2
:cond_8
instance-of p3, p1, Ljava/lang/Number;
if-eqz p3, :cond_25
check-cast p1, Ljava/lang/Number;
invoke-static {p1}, Lcom/tradplus/ads/common/serialization/util/TypeUtils;->longExtractValue(Ljava/lang/Number;)J
move-result-wide p3
iget-object p1, p0, Lcom/tradplus/ads/common/serialization/JSONPath$h;->f:[J
array-length v0, p1
:goto_15
if-ge p2, v0, :cond_25
aget-wide v1, p1, p2
cmp-long v3, v1, p3
if-nez v3, :cond_22
iget-boolean p1, p0, Lcom/tradplus/ads/common/serialization/JSONPath$h;->g:Z
xor-int/lit8 p1, p1, 0x1
return p1
:cond_22
add-int/lit8 p2, p2, 0x1
goto :goto_15
:cond_25
iget-boolean p1, p0, Lcom/tradplus/ads/common/serialization/JSONPath$h;->g:Z
return p1
.end method