103 lines
1.7 KiB
Smali
103 lines
1.7 KiB
Smali
.class public Le/j/a/a;
|
|
.super Ljava/lang/Object;
|
|
.source "FileBinaryResource.java"
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ljava/io/File;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/io/File;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iput-object p1, p0, Le/j/a/a;->a:Ljava/io/File;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/NullPointerException;
|
|
|
|
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static a(Ljava/io/File;)Le/j/a/a;
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
new-instance v0, Le/j/a/a;
|
|
|
|
invoke-direct {v0, p0}, Le/j/a/a;-><init>(Ljava/io/File;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()J
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Le/j/a/a;->a:Ljava/io/File;
|
|
|
|
invoke-virtual {v0}, Ljava/io/File;->length()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
instance-of v0, p1, Le/j/a/a;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
check-cast p1, Le/j/a/a;
|
|
|
|
iget-object v0, p0, Le/j/a/a;->a:Ljava/io/File;
|
|
|
|
iget-object p1, p1, Le/j/a/a;->a:Ljava/io/File;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/io/File;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Le/j/a/a;->a:Ljava/io/File;
|
|
|
|
invoke-virtual {v0}, Ljava/io/File;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|