AnnotationSet.smali

.class public Lcom/tencent/tinker/android/dex/AnnotationSet;
.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/AnnotationSet;",
        ">;"
    }
.end annotation


# instance fields
.field public annotationOffsets:[I


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

    invoke-direct {p0, p1}, Lcom/tencent/tinker/android/dex/TableOfContents$Section$Item;-><init>(I)V

    iput-object p2, p0, Lcom/tencent/tinker/android/dex/AnnotationSet;->annotationOffsets:[I

    return-void
.end method


# virtual methods
.method public byteCountInDex()I
    .registers 2

    iget-object v0, p0, Lcom/tencent/tinker/android/dex/AnnotationSet;->annotationOffsets:[I

    array-length v0, v0

    add-int/lit8 v0, v0, 0x1

    mul-int/lit8 v0, v0, 0x4

    return v0
.end method

.method public compareTo(Lcom/tencent/tinker/android/dex/AnnotationSet;)I
    .registers 7

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/tencent/tinker/android/dex/AnnotationSet;->annotationOffsets:[I

    array-length v2, v1

    iget-object v1, p1, Lcom/tencent/tinker/android/dex/AnnotationSet;->annotationOffsets:[I

    array-length v1, v1

    if-eq v2, v1, :cond_e

    invoke-static {v2, v1}, Lcom/tencent/tinker/android/dex/util/CompareUtils;->uCompare(II)I

    move-result v0

    :cond_d
    :goto_d
    return v0

    :cond_e
    move v1, v0

    :goto_f
    if-ge v1, v2, :cond_d

    iget-object v3, p0, Lcom/tencent/tinker/android/dex/AnnotationSet;->annotationOffsets:[I

    aget v3, v3, v1

    iget-object v4, p1, Lcom/tencent/tinker/android/dex/AnnotationSet;->annotationOffsets:[I

    aget v4, v4, v1

    if-eq v3, v4, :cond_28

    iget-object v0, p0, Lcom/tencent/tinker/android/dex/AnnotationSet;->annotationOffsets:[I

    aget v0, v0, v1

    iget-object v2, p1, Lcom/tencent/tinker/android/dex/AnnotationSet;->annotationOffsets:[I

    aget v1, v2, v1

    invoke-static {v0, v1}, Lcom/tencent/tinker/android/dex/util/CompareUtils;->uCompare(II)I

    move-result v0

    goto :goto_d

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

    goto :goto_f
.end method

.method public bridge synthetic compareTo(Ljava/lang/Object;)I
    .registers 3

    check-cast p1, Lcom/tencent/tinker/android/dex/AnnotationSet;

    invoke-virtual {p0, p1}, Lcom/tencent/tinker/android/dex/AnnotationSet;->compareTo(Lcom/tencent/tinker/android/dex/AnnotationSet;)I

    move-result v0

    return v0
.end method