96 lines
2.2 KiB
Smali
96 lines
2.2 KiB
Smali
.class final Lcom/google/protobuf/ExtensionRegistryLite$ObjectIntPair;
|
|
.super Ljava/lang/Object;
|
|
.source "ExtensionRegistryLite.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/protobuf/ExtensionRegistryLite;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "ObjectIntPair"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final number:I
|
|
|
|
.field private final object:Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/Object;I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lcom/google/protobuf/ExtensionRegistryLite$ObjectIntPair;->object:Ljava/lang/Object;
|
|
|
|
.line 3
|
|
iput p2, p0, Lcom/google/protobuf/ExtensionRegistryLite$ObjectIntPair;->number:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 3
|
|
|
|
.line 1
|
|
instance-of v0, p1, Lcom/google/protobuf/ExtensionRegistryLite$ObjectIntPair;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 2
|
|
:cond_0
|
|
check-cast p1, Lcom/google/protobuf/ExtensionRegistryLite$ObjectIntPair;
|
|
|
|
.line 3
|
|
iget-object v0, p0, Lcom/google/protobuf/ExtensionRegistryLite$ObjectIntPair;->object:Ljava/lang/Object;
|
|
|
|
iget-object v2, p1, Lcom/google/protobuf/ExtensionRegistryLite$ObjectIntPair;->object:Ljava/lang/Object;
|
|
|
|
if-ne v0, v2, :cond_1
|
|
|
|
iget v0, p0, Lcom/google/protobuf/ExtensionRegistryLite$ObjectIntPair;->number:I
|
|
|
|
iget p1, p1, Lcom/google/protobuf/ExtensionRegistryLite$ObjectIntPair;->number:I
|
|
|
|
if-ne v0, p1, :cond_1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/protobuf/ExtensionRegistryLite$ObjectIntPair;->object:Ljava/lang/Object;
|
|
|
|
invoke-static {v0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
|
|
|
|
move-result v0
|
|
|
|
const v1, 0xffff
|
|
|
|
mul-int/2addr v0, v1
|
|
|
|
iget v1, p0, Lcom/google/protobuf/ExtensionRegistryLite$ObjectIntPair;->number:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|