c.smali
.class public final Lca/c;
.super Ljava/lang/Object;
.source "FileExtension.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000N\n\u0000\n\u0002\u0010\u000b\n\u0002\u0018\u0002\n\u0002\u0008\t\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0003\n\u0002\u0010\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\u001a\n\u0010\u0000\u001a\u00020\u0001*\u00020\u0002\u001a\n\u0010\u0003\u001a\u00020\u0001*\u00020\u0002\u001a\n\u0010\u0004\u001a\u00020\u0001*\u00020\u0002\u001a\u0012\u0010\u0005\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u0006\u001a\u00020\u0002\u001a\u0012\u0010\u0007\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u0008\u001a\u00020\u0002\u001a+\u0010\t\u001a\u0004\u0018\u0001H\n\"\u0004\u0008\u0000\u0010\n*\u00020\u00022\u0012\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u00020\r\u0012\u0004\u0012\u0002H\n0\u000c\u00a2\u0006\u0002\u0010\u000e\u001a?\u0010\t\u001a\u0004\u0018\u0001H\n\"\u0004\u0008\u0000\u0010\n*\u00020\u00022\u0012\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u00020\r\u0012\u0004\u0012\u0002H\n0\u000c2\u0012\u0010\u000f\u001a\u000e\u0012\u0004\u0012\u00020\u0010\u0012\u0004\u0012\u00020\u00110\u000c\u00a2\u0006\u0002\u0010\u0012\u001a\u001e\u0010\u0013\u001a\u00020\u0011*\u00020\u00022\u0012\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u00020\u0014\u0012\u0004\u0012\u00020\u00110\u000c\u001a2\u0010\u0013\u001a\u00020\u0011*\u00020\u00022\u0012\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u00020\u0014\u0012\u0004\u0012\u00020\u00110\u000c2\u0012\u0010\u000f\u001a\u000e\u0012\u0004\u0012\u00020\u0010\u0012\u0004\u0012\u00020\u00110\u000c\u001a+\u0010\u0015\u001a\u0004\u0018\u0001H\n\"\u0004\u0008\u0000\u0010\n*\u00020\u00022\u0012\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u00020\u0016\u0012\u0004\u0012\u0002H\n0\u000c\u00a2\u0006\u0002\u0010\u000e\u001a?\u0010\u0015\u001a\u0004\u0018\u0001H\n\"\u0004\u0008\u0000\u0010\n*\u00020\u00022\u0012\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u00020\u0016\u0012\u0004\u0012\u0002H\n0\u000c2\u0012\u0010\u000f\u001a\u000e\u0012\u0004\u0012\u00020\u0010\u0012\u0004\u0012\u00020\u00110\u000c\u00a2\u0006\u0002\u0010\u0012\u001a\u000c\u0010\u0017\u001a\u0004\u0018\u00010\u0018*\u00020\u0002\u001a\u001e\u0010\u0019\u001a\u00020\u0011*\u00020\u00022\u0012\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u00020\u001a\u0012\u0004\u0012\u00020\u00110\u000c\u001a2\u0010\u0019\u001a\u00020\u0011*\u00020\u00022\u0012\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u00020\u001a\u0012\u0004\u0012\u00020\u00110\u000c2\u0012\u0010\u000f\u001a\u000e\u0012\u0004\u0012\u00020\u0010\u0012\u0004\u0012\u00020\u00110\u000c\u001a&\u0010\u0019\u001a\u00020\u0011*\u00020\u00022\u0006\u0010\u001b\u001a\u00020\u00182\u0008\u0008\u0002\u0010\u001c\u001a\u00020\u001d2\u0008\u0008\u0002\u0010\u001e\u001a\u00020\u001d\u001a\u0010\u0010\u001f\u001a\u0008\u0012\u0004\u0012\u00020\u00020 *\u00020\u0002\u00a8\u0006!"
}
d2 = {
"ensureDirExist",
"",
"Ljava/io/File;",
"ensureEmpty",
"ensureFileExist",
"safelyCopyFrom",
"src",
"safelyCopyTo",
"dst",
"safelyInputStream",
"T",
"block",
"Lkotlin/Function1;",
"Ljava/io/BufferedInputStream;",
"(Ljava/io/File;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;",
"errorHandler",
"",
"",
"(Ljava/io/File;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;",
"safelyOutputStream",
"Ljava/io/BufferedOutputStream;",
"safelyRead",
"Ljava/io/BufferedReader;",
"safelyReadBytes",
"",
"safelyWrite",
"Ljava/io/BufferedWriter;",
"bytes",
"offset",
"",
"len",
"traverseCache",
"Lkotlin/sequences/Sequence;",
"file-cache_release"
}
k = 0x2
mv = {
0x1,
0x4,
0x2
}
.end annotation
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public static final a(Ljava/io/File;Lkotlin/jvm/functions/Function1;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/io/File;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/io/BufferedOutputStream;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
const-string v0, "safelyUse"
const-string v1, "$this$safelyOutputStream"
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v1, "block"
invoke-static {p1, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
:try_start_c
new-instance v1, Ljava/io/BufferedOutputStream;
new-instance v2, Ljava/io/FileOutputStream;
const/4 v3, 0x1
invoke-direct {v2, p0, v3}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;Z)V
invoke-direct {v1, v2}, Ljava/io/BufferedOutputStream;-><init>(Ljava/io/OutputStream;)V
:try_end_17
.catchall {:try_start_c .. :try_end_17} :catchall_18
goto :goto_31
:catchall_18
move-exception p0
sget-object v1, Lz9/b;->f:Lz9/b;
invoke-virtual {v1}, Lz9/b;->h()Z
move-result v1
if-eqz v1, :cond_30
sget-object v1, Lda/a;->b:Lda/a;
invoke-virtual {p0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p0
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
const-string v2, "safelyCreate"
invoke-virtual {v1, v2, p0}, Lda/a;->a(Ljava/lang/String;Ljava/lang/String;)V
:cond_30
const/4 v1, 0x0
:goto_31
if-eqz v1, :cond_7a
:try_start_33
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
invoke-virtual {v1}, Ljava/io/BufferedOutputStream;->flush()V
sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
:try_end_3b
.catchall {:try_start_33 .. :try_end_3b} :catchall_50
if-eqz v1, :cond_7a
:try_start_3d
invoke-interface {v1}, Ljava/io/Closeable;->close()V
:try_end_40
.catchall {:try_start_3d .. :try_end_40} :catchall_41
goto :goto_7a
:catchall_41
move-exception p0
sget-object p1, Lda/a;->b:Lda/a;
invoke-virtual {p0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p0
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
invoke-virtual {p1, v0, p0}, Lda/a;->a(Ljava/lang/String;Ljava/lang/String;)V
goto :goto_7a
:catchall_50
move-exception p0
:try_start_51
sget-object p1, Lda/a;->b:Lda/a;
invoke-virtual {p0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p0
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
invoke-virtual {p1, v0, p0}, Lda/a;->a(Ljava/lang/String;Ljava/lang/String;)V
:try_end_5e
.catchall {:try_start_51 .. :try_end_5e} :catchall_64
if-eqz v1, :cond_7a
:try_start_60
invoke-interface {v1}, Ljava/io/Closeable;->close()V
:try_end_63
.catchall {:try_start_60 .. :try_end_63} :catchall_41
goto :goto_7a
:catchall_64
move-exception p0
if-eqz v1, :cond_79
:try_start_67
invoke-interface {v1}, Ljava/io/Closeable;->close()V
:try_end_6a
.catchall {:try_start_67 .. :try_end_6a} :catchall_6b
goto :goto_79
:catchall_6b
move-exception p1
sget-object v1, Lda/a;->b:Lda/a;
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p1
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-virtual {v1, v0, p1}, Lda/a;->a(Ljava/lang/String;Ljava/lang/String;)V
:cond_79
:goto_79
throw p0
:cond_7a
:goto_7a
return-void
.end method
.method public static final a(Ljava/io/File;)Z
.registers 2
const-string v0, "$this$ensureDirExist"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p0}, Ljava/io/File;->exists()Z
move-result v0
if-eqz v0, :cond_10
invoke-virtual {p0}, Ljava/io/File;->isDirectory()Z
move-result p0
goto :goto_14
:cond_10
invoke-virtual {p0}, Ljava/io/File;->mkdirs()Z
move-result p0
:goto_14
return p0
.end method
.method public static final b(Ljava/io/File;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
.registers 7
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/io/File;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/io/BufferedReader;",
"+TT;>;)TT;"
}
.end annotation
const-string v0, "safelyUse"
const-string v1, "$this$safelyRead"
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v1, "block"
invoke-static {p1, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v1, 0x0
:try_start_d
new-instance v2, Ljava/io/BufferedReader;
new-instance v3, Ljava/io/InputStreamReader;
new-instance v4, Ljava/io/FileInputStream;
invoke-direct {v4, p0}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V
invoke-direct {v3, v4}, Ljava/io/InputStreamReader;-><init>(Ljava/io/InputStream;)V
invoke-direct {v2, v3}, Ljava/io/BufferedReader;-><init>(Ljava/io/Reader;)V
:try_end_1c
.catchall {:try_start_d .. :try_end_1c} :catchall_1d
goto :goto_36
:catchall_1d
move-exception p0
sget-object v2, Lz9/b;->f:Lz9/b;
invoke-virtual {v2}, Lz9/b;->h()Z
move-result v2
if-eqz v2, :cond_35
sget-object v2, Lda/a;->b:Lda/a;
invoke-virtual {p0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p0
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
const-string v3, "safelyCreate"
invoke-virtual {v2, v3, p0}, Lda/a;->a(Ljava/lang/String;Ljava/lang/String;)V
:cond_35
move-object v2, v1
:goto_36
if-eqz v2, :cond_8b
:try_start_38
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
:try_end_3c
.catchall {:try_start_38 .. :try_end_3c} :catchall_52
if-eqz v2, :cond_50
:try_start_3e
invoke-interface {v2}, Ljava/io/Closeable;->close()V
:try_end_41
.catchall {:try_start_3e .. :try_end_41} :catchall_42
goto :goto_50
:catchall_42
move-exception p1
sget-object v1, Lda/a;->b:Lda/a;
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p1
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-virtual {v1, v0, p1}, Lda/a;->a(Ljava/lang/String;Ljava/lang/String;)V
:cond_50
:goto_50
move-object v1, p0
goto :goto_8b
:catchall_52
move-exception p0
:try_start_53
sget-object p1, Lda/a;->b:Lda/a;
invoke-virtual {p0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p0
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
invoke-virtual {p1, v0, p0}, Lda/a;->a(Ljava/lang/String;Ljava/lang/String;)V
:try_end_60
.catchall {:try_start_53 .. :try_end_60} :catchall_75
if-eqz v2, :cond_8b
:try_start_62
invoke-interface {v2}, Ljava/io/Closeable;->close()V
:try_end_65
.catchall {:try_start_62 .. :try_end_65} :catchall_66
goto :goto_8b
:catchall_66
move-exception p0
sget-object p1, Lda/a;->b:Lda/a;
invoke-virtual {p0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p0
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
invoke-virtual {p1, v0, p0}, Lda/a;->a(Ljava/lang/String;Ljava/lang/String;)V
goto :goto_8b
:catchall_75
move-exception p0
if-eqz v2, :cond_8a
:try_start_78
invoke-interface {v2}, Ljava/io/Closeable;->close()V
:try_end_7b
.catchall {:try_start_78 .. :try_end_7b} :catchall_7c
goto :goto_8a
:catchall_7c
move-exception p1
sget-object v1, Lda/a;->b:Lda/a;
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p1
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-virtual {v1, v0, p1}, Lda/a;->a(Ljava/lang/String;Ljava/lang/String;)V
:cond_8a
:goto_8a
throw p0
:cond_8b
:goto_8b
return-object v1
.end method
.method public static final b(Ljava/io/File;)Z
.registers 6
const-string v0, "$this$ensureEmpty"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p0}, Ljava/io/File;->exists()Z
move-result v0
if-nez v0, :cond_10
invoke-static {p0}, Lca/c;->c(Ljava/io/File;)Z
move-result p0
return p0
:cond_10
invoke-virtual {p0}, Ljava/io/File;->isFile()Z
move-result v0
if-eqz v0, :cond_22
invoke-virtual {p0}, Ljava/io/File;->length()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-nez v4, :cond_22
const/4 p0, 0x1
return p0
:cond_22
invoke-virtual {p0}, Ljava/io/File;->delete()Z
move-result v0
if-nez v0, :cond_2a
const/4 p0, 0x0
return p0
:cond_2a
invoke-virtual {p0}, Ljava/io/File;->createNewFile()Z
move-result p0
return p0
.end method
.method public static final c(Ljava/io/File;Lkotlin/jvm/functions/Function1;)V
.registers 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/io/File;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/io/BufferedWriter;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
const-string v0, "safelyUse"
const-string v1, "$this$safelyWrite"
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v1, "block"
invoke-static {p1, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
:try_start_c
new-instance v1, Ljava/io/BufferedWriter;
new-instance v2, Ljava/io/OutputStreamWriter;
new-instance v3, Ljava/io/FileOutputStream;
const/4 v4, 0x1
invoke-direct {v3, p0, v4}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;Z)V
invoke-direct {v2, v3}, Ljava/io/OutputStreamWriter;-><init>(Ljava/io/OutputStream;)V
invoke-direct {v1, v2}, Ljava/io/BufferedWriter;-><init>(Ljava/io/Writer;)V
:try_end_1c
.catchall {:try_start_c .. :try_end_1c} :catchall_1d
goto :goto_36
:catchall_1d
move-exception p0
sget-object v1, Lz9/b;->f:Lz9/b;
invoke-virtual {v1}, Lz9/b;->h()Z
move-result v1
if-eqz v1, :cond_35
sget-object v1, Lda/a;->b:Lda/a;
invoke-virtual {p0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p0
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
const-string v2, "safelyCreate"
invoke-virtual {v1, v2, p0}, Lda/a;->a(Ljava/lang/String;Ljava/lang/String;)V
:cond_35
const/4 v1, 0x0
:goto_36
if-eqz v1, :cond_7f
:try_start_38
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
invoke-virtual {v1}, Ljava/io/BufferedWriter;->flush()V
sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
:try_end_40
.catchall {:try_start_38 .. :try_end_40} :catchall_55
if-eqz v1, :cond_7f
:try_start_42
invoke-interface {v1}, Ljava/io/Closeable;->close()V
:try_end_45
.catchall {:try_start_42 .. :try_end_45} :catchall_46
goto :goto_7f
:catchall_46
move-exception p0
sget-object p1, Lda/a;->b:Lda/a;
invoke-virtual {p0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p0
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
invoke-virtual {p1, v0, p0}, Lda/a;->a(Ljava/lang/String;Ljava/lang/String;)V
goto :goto_7f
:catchall_55
move-exception p0
:try_start_56
sget-object p1, Lda/a;->b:Lda/a;
invoke-virtual {p0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p0
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
invoke-virtual {p1, v0, p0}, Lda/a;->a(Ljava/lang/String;Ljava/lang/String;)V
:try_end_63
.catchall {:try_start_56 .. :try_end_63} :catchall_69
if-eqz v1, :cond_7f
:try_start_65
invoke-interface {v1}, Ljava/io/Closeable;->close()V
:try_end_68
.catchall {:try_start_65 .. :try_end_68} :catchall_46
goto :goto_7f
:catchall_69
move-exception p0
if-eqz v1, :cond_7e
:try_start_6c
invoke-interface {v1}, Ljava/io/Closeable;->close()V
:try_end_6f
.catchall {:try_start_6c .. :try_end_6f} :catchall_70
goto :goto_7e
:catchall_70
move-exception p1
sget-object v1, Lda/a;->b:Lda/a;
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p1
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-virtual {v1, v0, p1}, Lda/a;->a(Ljava/lang/String;Ljava/lang/String;)V
:cond_7e
:goto_7e
throw p0
:cond_7f
:goto_7f
return-void
.end method
.method public static final c(Ljava/io/File;)Z
.registers 5
const-string v0, "$this$ensureFileExist"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p0}, Ljava/io/File;->exists()Z
move-result v0
if-eqz v0, :cond_10
invoke-virtual {p0}, Ljava/io/File;->isFile()Z
move-result p0
return p0
:cond_10
invoke-virtual {p0}, Ljava/io/File;->getParentFile()Ljava/io/File;
move-result-object v0
const/4 v1, 0x0
if-eqz v0, :cond_1e
invoke-static {v0}, Lca/c;->a(Ljava/io/File;)Z
move-result v0
if-nez v0, :cond_1e
return v1
:cond_1e
:try_start_1e
invoke-virtual {p0}, Ljava/io/File;->createNewFile()Z
move-result v1
:try_end_22
.catch Ljava/io/IOException; {:try_start_1e .. :try_end_22} :catch_23
goto :goto_40
:catch_23
move-exception p0
sget-object v0, Lda/a;->b:Lda/a;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "[ensureFileExist] fail: "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Ljava/io/IOException;->getMessage()Ljava/lang/String;
move-result-object p0
invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
const-string v2, "FileExtension"
invoke-virtual {v0, v2, p0}, Lda/a;->b(Ljava/lang/String;Ljava/lang/String;)V
:goto_40
return v1
.end method
.method public static final d(Ljava/io/File;)Lkotlin/sequences/Sequence;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/io/File;",
")",
"Lkotlin/sequences/Sequence<",
"Ljava/io/File;",
">;"
}
.end annotation
const-string v0, "$this$traverseCache"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x0
const/4 v1, 0x1
invoke-static {p0, v0, v1, v0}, Lkotlin/io/FilesKt__FileTreeWalkKt;->walk$default(Ljava/io/File;Lkotlin/io/FileWalkDirection;ILjava/lang/Object;)Lkotlin/io/FileTreeWalk;
move-result-object p0
sget-object v0, Lca/c$b;->a:Lca/c$b;
invoke-static {p0, v0}, Lkotlin/sequences/SequencesKt___SequencesKt;->filter(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
move-result-object p0
new-instance v0, Lca/c$a;
invoke-direct {v0}, Lca/c$a;-><init>()V
invoke-static {p0, v0}, Lkotlin/sequences/SequencesKt___SequencesKt;->sortedWith(Lkotlin/sequences/Sequence;Ljava/util/Comparator;)Lkotlin/sequences/Sequence;
move-result-object p0
return-object p0
.end method