99 lines
2.2 KiB
Smali
99 lines
2.2 KiB
Smali
.class final Lorg/greenrobot/eventbus/Subscription;
|
|
.super Ljava/lang/Object;
|
|
.source "Subscription.java"
|
|
|
|
|
|
# instance fields
|
|
.field final a:Ljava/lang/Object;
|
|
|
|
.field final b:Lorg/greenrobot/eventbus/SubscriberMethod;
|
|
|
|
.field volatile c:Z
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Ljava/lang/Object;Lorg/greenrobot/eventbus/SubscriberMethod;)V
|
|
.locals 0
|
|
|
|
.line 27
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 28
|
|
iput-object p1, p0, Lorg/greenrobot/eventbus/Subscription;->a:Ljava/lang/Object;
|
|
|
|
.line 29
|
|
iput-object p2, p0, Lorg/greenrobot/eventbus/Subscription;->b:Lorg/greenrobot/eventbus/SubscriberMethod;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 30
|
|
iput-boolean p1, p0, Lorg/greenrobot/eventbus/Subscription;->c:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 3
|
|
|
|
.line 35
|
|
instance-of v0, p1, Lorg/greenrobot/eventbus/Subscription;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 36
|
|
check-cast p1, Lorg/greenrobot/eventbus/Subscription;
|
|
|
|
.line 37
|
|
iget-object v0, p0, Lorg/greenrobot/eventbus/Subscription;->a:Ljava/lang/Object;
|
|
|
|
iget-object v2, p1, Lorg/greenrobot/eventbus/Subscription;->a:Ljava/lang/Object;
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
iget-object v0, p0, Lorg/greenrobot/eventbus/Subscription;->b:Lorg/greenrobot/eventbus/SubscriberMethod;
|
|
|
|
iget-object p1, p1, Lorg/greenrobot/eventbus/Subscription;->b:Lorg/greenrobot/eventbus/SubscriberMethod;
|
|
|
|
.line 38
|
|
invoke-virtual {v0, p1}, Lorg/greenrobot/eventbus/SubscriberMethod;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_0
|
|
return v1
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 2
|
|
|
|
.line 46
|
|
iget-object v0, p0, Lorg/greenrobot/eventbus/Subscription;->a:Ljava/lang/Object;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
iget-object v1, p0, Lorg/greenrobot/eventbus/Subscription;->b:Lorg/greenrobot/eventbus/SubscriberMethod;
|
|
|
|
iget-object v1, v1, Lorg/greenrobot/eventbus/SubscriberMethod;->f:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|