granularity level: instruction
.class public Lcom/google/android/gms/common/Feature;
.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;
.source "com.google.android.gms:play-services-basement@@18.1.0"
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/os/Parcelable$Creator<",
"Lcom/google/android/gms/common/Feature;",
">;"
}
.end annotation
.end field
.field private final zza:Ljava/lang/String;
.field private final zzb:I
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field private final zzc:J
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/google/android/gms/common/zzc;
invoke-direct {v0}, Lcom/google/android/gms/common/zzc;-><init>()V
sput-object v0, Lcom/google/android/gms/common/Feature;->CREATOR:Landroid/os/Parcelable$Creator;
return-void
.end method
.method public constructor <init>(Ljava/lang/String;IJ)V
.locals 0
invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;-><init>()V
iput-object p1, p0, Lcom/google/android/gms/common/Feature;->zza:Ljava/lang/String;
iput p2, p0, Lcom/google/android/gms/common/Feature;->zzb:I
iput-wide p3, p0, Lcom/google/android/gms/common/Feature;->zzc:J
return-void
.end method
.method public constructor <init>(Ljava/lang/String;J)V
.locals 0
invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;-><init>()V
iput-object p1, p0, Lcom/google/android/gms/common/Feature;->zza:Ljava/lang/String;
iput-wide p2, p0, Lcom/google/android/gms/common/Feature;->zzc:J
const/4 p1, -0x1
iput p1, p0, Lcom/google/android/gms/common/Feature;->zzb:I
return-void
.end method
.method public final equals(Ljava/lang/Object;)Z
.locals 6
instance-of v0, p1, Lcom/google/android/gms/common/Feature;
const/4 v1, 0x0
if-eqz v0, :cond_2
check-cast p1, Lcom/google/android/gms/common/Feature;
invoke-virtual {p0}, Lcom/google/android/gms/common/Feature;->getName()Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/google/android/gms/common/Feature;->getName()Ljava/lang/String;
move-result-object v0
invoke-virtual {p1}, Lcom/google/android/gms/common/Feature;->getName()Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_1
:cond_0
invoke-virtual {p0}, Lcom/google/android/gms/common/Feature;->getName()Ljava/lang/String;
move-result-object v0
if-nez v0, :cond_2
invoke-virtual {p1}, Lcom/google/android/gms/common/Feature;->getName()Ljava/lang/String;
move-result-object v0
if-nez v0, :cond_2
:cond_1
invoke-virtual {p0}, Lcom/google/android/gms/common/Feature;->getVersion()J
move-result-wide v2
invoke-virtual {p1}, Lcom/google/android/gms/common/Feature;->getVersion()J
move-result-wide v4
cmp-long p1, v2, v4
if-nez p1, :cond_2
const/4 p1, 0x1
return p1
:cond_2
return v1
.end method
.method public getName()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/Feature;->zza:Ljava/lang/String;
return-object v0
.end method
.method public getVersion()J
.locals 5
iget-wide v0, p0, Lcom/google/android/gms/common/Feature;->zzc:J
const-wide/16 v2, -0x1
cmp-long v4, v0, v2
if-nez v4, :cond_0
iget v0, p0, Lcom/google/android/gms/common/Feature;->zzb:I
int-to-long v0, v0
:cond_0
return-wide v0
.end method
.method public final hashCode()I
.locals 3
const/4 v0, 0x2
new-array v0, v0, [Ljava/lang/Object;
invoke-virtual {p0}, Lcom/google/android/gms/common/Feature;->getName()Ljava/lang/String;
move-result-object v1
const/4 v2, 0x0
aput-object v1, v0, v2
invoke-virtual {p0}, Lcom/google/android/gms/common/Feature;->getVersion()J
move-result-wide v1
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v1
const/4 v2, 0x1
aput-object v1, v0, v2
invoke-static {v0}, Lcom/google/android/gms/common/internal/Objects;->hashCode([Ljava/lang/Object;)I
move-result v0
return v0
.end method
.method public final toString()Ljava/lang/String;
.locals 3
invoke-static {p0}, Lcom/google/android/gms/common/internal/Objects;->toStringHelper(Ljava/lang/Object;)Lcom/google/android/gms/common/internal/Objects$ToStringHelper;
move-result-object v0
invoke-virtual {p0}, Lcom/google/android/gms/common/Feature;->getName()Ljava/lang/String;
move-result-object v1
const-string v2, "name"
invoke-virtual {v0, v2, v1}, Lcom/google/android/gms/common/internal/Objects$ToStringHelper;->add(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/android/gms/common/internal/Objects$ToStringHelper;
invoke-virtual {p0}, Lcom/google/android/gms/common/Feature;->getVersion()J
move-result-wide v1
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v1
const-string v2, "version"
invoke-virtual {v0, v2, v1}, Lcom/google/android/gms/common/internal/Objects$ToStringHelper;->add(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/android/gms/common/internal/Objects$ToStringHelper;
invoke-virtual {v0}, Lcom/google/android/gms/common/internal/Objects$ToStringHelper;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public final writeToParcel(Landroid/os/Parcel;I)V
.locals 3
invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->beginObjectHeader(Landroid/os/Parcel;)I
move-result p2
invoke-virtual {p0}, Lcom/google/android/gms/common/Feature;->getName()Ljava/lang/String;
move-result-object v0
const/4 v1, 0x1
const/4 v2, 0x0
invoke-static {p1, v1, v0, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeString(Landroid/os/Parcel;ILjava/lang/String;Z)V
iget v0, p0, Lcom/google/android/gms/common/Feature;->zzb:I
const/4 v1, 0x2
invoke-static {p1, v1, v0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeInt(Landroid/os/Parcel;II)V
invoke-virtual {p0}, Lcom/google/android/gms/common/Feature;->getVersion()J
move-result-wide v0
const/4 v2, 0x3
invoke-static {p1, v2, v0, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeLong(Landroid/os/Parcel;IJ)V
invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->finishObjectHeader(Landroid/os/Parcel;I)V
return-void
.end method