Rabbit-R1/original r1/smali/smali_classes2/com/airbnb/lottie/LottieResult.smali
2024-05-21 17:08:36 -04:00

196 lines
4.1 KiB
Smali

.class public final Lcom/airbnb/lottie/LottieResult;
.super Ljava/lang/Object;
.source "LottieResult.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# instance fields
.field private final exception:Ljava/lang/Throwable;
.field private final value:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TV;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TV;)V"
}
.end annotation
.line 17
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/airbnb/lottie/LottieResult;->value:Ljava/lang/Object;
const/4 p1, 0x0
iput-object p1, p0, Lcom/airbnb/lottie/LottieResult;->exception:Ljava/lang/Throwable;
return-void
.end method
.method public constructor <init>(Ljava/lang/Throwable;)V
.locals 0
.line 22
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/airbnb/lottie/LottieResult;->exception:Ljava/lang/Throwable;
const/4 p1, 0x0
iput-object p1, p0, Lcom/airbnb/lottie/LottieResult;->value:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
.line 39
:cond_0
instance-of v1, p1, Lcom/airbnb/lottie/LottieResult;
const/4 v2, 0x0
if-nez v1, :cond_1
return v2
.line 42
:cond_1
check-cast p1, Lcom/airbnb/lottie/LottieResult;
.line 43
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieResult;->getValue()Ljava/lang/Object;
move-result-object v1
if-eqz v1, :cond_2
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieResult;->getValue()Ljava/lang/Object;
move-result-object v1
invoke-virtual {p1}, Lcom/airbnb/lottie/LottieResult;->getValue()Ljava/lang/Object;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
return v0
.line 46
:cond_2
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieResult;->getException()Ljava/lang/Throwable;
move-result-object v0
if-eqz v0, :cond_3
invoke-virtual {p1}, Lcom/airbnb/lottie/LottieResult;->getException()Ljava/lang/Throwable;
move-result-object p1
if-eqz p1, :cond_3
.line 47
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieResult;->getException()Ljava/lang/Throwable;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/Throwable;->toString()Ljava/lang/String;
move-result-object p1
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieResult;->getException()Ljava/lang/Throwable;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Throwable;->toString()Ljava/lang/String;
move-result-object p0
invoke-virtual {p1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
return p0
:cond_3
return v2
.end method
.method public getException()Ljava/lang/Throwable;
.locals 0
iget-object p0, p0, Lcom/airbnb/lottie/LottieResult;->exception:Ljava/lang/Throwable;
return-object p0
.end method
.method public getValue()Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()TV;"
}
.end annotation
iget-object p0, p0, Lcom/airbnb/lottie/LottieResult;->value:Ljava/lang/Object;
return-object p0
.end method
.method public hashCode()I
.locals 1
.line 53
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieResult;->getValue()Ljava/lang/Object;
move-result-object v0
invoke-virtual {p0}, Lcom/airbnb/lottie/LottieResult;->getException()Ljava/lang/Throwable;
move-result-object p0
filled-new-array {v0, p0}, [Ljava/lang/Object;
move-result-object p0
invoke-static {p0}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I
move-result p0
return p0
.end method