MethodId.smali
.class public final Lcom/tencent/tinker/android/dex/MethodId;
.super Lcom/tencent/tinker/android/dex/TableOfContents$Section$Item;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/tencent/tinker/android/dex/TableOfContents$Section$Item",
"<",
"Lcom/tencent/tinker/android/dex/MethodId;",
">;"
}
.end annotation
# instance fields
.field public declaringClassIndex:I
.field public nameIndex:I
.field public protoIndex:I
# direct methods
.method public constructor <init>(IIII)V
.registers 5
invoke-direct {p0, p1}, Lcom/tencent/tinker/android/dex/TableOfContents$Section$Item;-><init>(I)V
iput p2, p0, Lcom/tencent/tinker/android/dex/MethodId;->declaringClassIndex:I
iput p3, p0, Lcom/tencent/tinker/android/dex/MethodId;->protoIndex:I
iput p4, p0, Lcom/tencent/tinker/android/dex/MethodId;->nameIndex:I
return-void
.end method
# virtual methods
.method public byteCountInDex()I
.registers 2
const/16 v0, 0x8
return v0
.end method
.method public compareTo(Lcom/tencent/tinker/android/dex/MethodId;)I
.registers 4
iget v0, p0, Lcom/tencent/tinker/android/dex/MethodId;->declaringClassIndex:I
iget v1, p1, Lcom/tencent/tinker/android/dex/MethodId;->declaringClassIndex:I
if-eq v0, v1, :cond_f
iget v0, p0, Lcom/tencent/tinker/android/dex/MethodId;->declaringClassIndex:I
iget v1, p1, Lcom/tencent/tinker/android/dex/MethodId;->declaringClassIndex:I
invoke-static {v0, v1}, Lcom/tencent/tinker/android/dex/util/CompareUtils;->uCompare(II)I
move-result v0
:goto_e
return v0
:cond_f
iget v0, p0, Lcom/tencent/tinker/android/dex/MethodId;->nameIndex:I
iget v1, p1, Lcom/tencent/tinker/android/dex/MethodId;->nameIndex:I
if-eq v0, v1, :cond_1e
iget v0, p0, Lcom/tencent/tinker/android/dex/MethodId;->nameIndex:I
iget v1, p1, Lcom/tencent/tinker/android/dex/MethodId;->nameIndex:I
invoke-static {v0, v1}, Lcom/tencent/tinker/android/dex/util/CompareUtils;->uCompare(II)I
move-result v0
goto :goto_e
:cond_1e
iget v0, p0, Lcom/tencent/tinker/android/dex/MethodId;->protoIndex:I
iget v1, p1, Lcom/tencent/tinker/android/dex/MethodId;->protoIndex:I
invoke-static {v0, v1}, Lcom/tencent/tinker/android/dex/util/CompareUtils;->uCompare(II)I
move-result v0
goto :goto_e
.end method
.method public bridge synthetic compareTo(Ljava/lang/Object;)I
.registers 3
check-cast p1, Lcom/tencent/tinker/android/dex/MethodId;
invoke-virtual {p0, p1}, Lcom/tencent/tinker/android/dex/MethodId;->compareTo(Lcom/tencent/tinker/android/dex/MethodId;)I
move-result v0
return v0
.end method