导航菜单

页面标题

页面副标题

All File Recovery v1.0.2 - r1.java 源代码

正在查看: All File Recovery v1.0.2 应用的 r1.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package Xc;

import Bc.EnumC0207n;
import Bc.InterfaceC0188d0;
import Bc.InterfaceC0190e0;
import Bc.InterfaceC0200j0;
import Bc.InterfaceC0203l;
import Dc.C0258a0;
import java.io.IOException;
import java.net.URI;
import java.nio.file.CopyOption;
import java.nio.file.DirectoryStream;
import java.nio.file.FileAlreadyExistsException;
import java.nio.file.FileStore;
import java.nio.file.FileSystem;
import java.nio.file.FileVisitOption;
import java.nio.file.FileVisitor;
import java.nio.file.Files;
import java.nio.file.LinkOption;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardCopyOption;
import java.nio.file.attribute.BasicFileAttributes;
import java.nio.file.attribute.FileAttribute;
import java.nio.file.attribute.FileAttributeView;
import java.nio.file.attribute.FileTime;
import java.nio.file.attribute.PosixFilePermission;
import java.nio.file.attribute.UserPrincipal;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import kd.InterfaceC0689m;
import kotlin.jvm.internal.InlineMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.SourceDebugExtension;
import nd.C0757K;

@SourceDebugExtension({"SMAP\nPathUtils.kt\nKotlin\n*S Kotlin\n*F\n+ 1 PathUtils.kt\nkotlin/io/path/PathsKt__PathUtilsKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,1253:1\n1#2:1254\n1869#3,2:1255\n*S KotlinDebug\n*F\n+ 1 PathUtils.kt\nkotlin/io/path/PathsKt__PathUtilsKt\n*L\n440#1:1255,2\n*E\n"})
public class r1 extends J0 {
    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path A0(String str, FileAttribute<?>... attributes) throws IOException {
        Intrinsics.checkNotNullParameter(attributes, "attributes");
        Path createTempDirectory = Files.createTempDirectory(str, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length));
        Intrinsics.checkNotNullExpressionValue(createTempDirectory, "createTempDirectory(...)");
        return createTempDirectory;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Map<String, Object> A1(Path path, String attributes, LinkOption... options) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(attributes, "attributes");
        Intrinsics.checkNotNullParameter(options, "options");
        Map<String, Object> readAttributes = Files.readAttributes(path, attributes, (LinkOption[]) Arrays.copyOf(options, options.length));
        Intrinsics.checkNotNullExpressionValue(readAttributes, "readAttributes(...)");
        return readAttributes;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @ef.l
    public static final Path B0(@ef.m Path path, @ef.m String str, @ef.l FileAttribute<?>... attributes) throws IOException {
        Intrinsics.checkNotNullParameter(attributes, "attributes");
        if (path != null) {
            Path createTempDirectory = Files.createTempDirectory(path, str, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length));
            Intrinsics.checkNotNullExpressionValue(createTempDirectory, "createTempDirectory(...)");
            return createTempDirectory;
        }
        Path createTempDirectory2 = Files.createTempDirectory(str, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length));
        Intrinsics.checkNotNullExpressionValue(createTempDirectory2, "createTempDirectory(...)");
        return createTempDirectory2;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path B1(Path path) throws IOException {
        Path readSymbolicLink;
        Intrinsics.checkNotNullParameter(path, "<this>");
        readSymbolicLink = Files.readSymbolicLink(path);
        Intrinsics.checkNotNullExpressionValue(readSymbolicLink, "readSymbolicLink(...)");
        return readSymbolicLink;
    }

    public static Path C0(String str, FileAttribute[] attributes, int i, Object obj) throws IOException {
        if ((i & 1) != 0) {
            str = null;
        }
        Intrinsics.checkNotNullParameter(attributes, "attributes");
        Path createTempDirectory = Files.createTempDirectory(str, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length));
        Intrinsics.checkNotNullExpressionValue(createTempDirectory, "createTempDirectory(...)");
        return createTempDirectory;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @ef.l
    public static final Path C1(@ef.l Path path, @ef.l Path base) {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(base, "base");
        try {
            return K.a.a(path, base);
        } catch (IllegalArgumentException e) {
            throw new IllegalArgumentException(e.getMessage() + "\nthis path: " + path + "\nbase path: " + base, e);
        }
    }

    public static Path D0(Path path, String str, FileAttribute[] fileAttributeArr, int i, Object obj) throws IOException {
        if ((i & 2) != 0) {
            str = null;
        }
        return B0(path, str, fileAttributeArr);
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @ef.m
    public static final Path D1(@ef.l Path path, @ef.l Path base) {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(base, "base");
        try {
            return K.a.a(path, base);
        } catch (IllegalArgumentException unused) {
            return null;
        }
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path E0(String str, String str2, FileAttribute<?>... attributes) throws IOException {
        Intrinsics.checkNotNullParameter(attributes, "attributes");
        Path createTempFile = Files.createTempFile(str, str2, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length));
        Intrinsics.checkNotNullExpressionValue(createTempFile, "createTempFile(...)");
        return createTempFile;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @ef.l
    public static final Path E1(@ef.l Path path, @ef.l Path base) {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(base, "base");
        Path D1 = D1(path, base);
        return D1 == null ? path : D1;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @ef.l
    public static final Path F0(@ef.m Path path, @ef.m String str, @ef.m String str2, @ef.l FileAttribute<?>... attributes) throws IOException {
        Intrinsics.checkNotNullParameter(attributes, "attributes");
        if (path != null) {
            Path createTempFile = Files.createTempFile(path, str, str2, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length));
            Intrinsics.checkNotNullExpressionValue(createTempFile, "createTempFile(...)");
            return createTempFile;
        }
        Path createTempFile2 = Files.createTempFile(str, str2, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length));
        Intrinsics.checkNotNullExpressionValue(createTempFile2, "createTempFile(...)");
        return createTempFile2;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path F1(Path path, String attribute, Object obj, LinkOption... options) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(attribute, "attribute");
        Intrinsics.checkNotNullParameter(options, "options");
        Path attribute2 = Files.setAttribute(path, attribute, obj, (LinkOption[]) Arrays.copyOf(options, options.length));
        Intrinsics.checkNotNullExpressionValue(attribute2, "setAttribute(...)");
        return attribute2;
    }

    public static Path G0(String str, String str2, FileAttribute[] attributes, int i, Object obj) throws IOException {
        if ((i & 1) != 0) {
            str = null;
        }
        if ((i & 2) != 0) {
            str2 = null;
        }
        Intrinsics.checkNotNullParameter(attributes, "attributes");
        Path createTempFile = Files.createTempFile(str, str2, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length));
        Intrinsics.checkNotNullExpressionValue(createTempFile, "createTempFile(...)");
        return createTempFile;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path G1(Path path, FileTime value) throws IOException {
        Path lastModifiedTime;
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(value, "value");
        lastModifiedTime = Files.setLastModifiedTime(path, value);
        Intrinsics.checkNotNullExpressionValue(lastModifiedTime, "setLastModifiedTime(...)");
        return lastModifiedTime;
    }

    public static Path H0(Path path, String str, String str2, FileAttribute[] fileAttributeArr, int i, Object obj) throws IOException {
        if ((i & 2) != 0) {
            str = null;
        }
        if ((i & 4) != 0) {
            str2 = null;
        }
        return F0(path, str, str2, fileAttributeArr);
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path H1(Path path, UserPrincipal value) throws IOException {
        Path owner;
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(value, "value");
        owner = Files.setOwner(path, value);
        Intrinsics.checkNotNullExpressionValue(owner, "setOwner(...)");
        return owner;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final void I0(Path path) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Files.delete(path);
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path I1(Path path, Set<? extends PosixFilePermission> value) throws IOException {
        Path posixFilePermissions;
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(value, "value");
        posixFilePermissions = Files.setPosixFilePermissions(path, value);
        Intrinsics.checkNotNullExpressionValue(posixFilePermissions, "setPosixFilePermissions(...)");
        return posixFilePermissions;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final boolean J0(Path path) throws IOException {
        boolean deleteIfExists;
        Intrinsics.checkNotNullParameter(path, "<this>");
        deleteIfExists = Files.deleteIfExists(path);
        return deleteIfExists;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path J1(URI uri) {
        Path path;
        Intrinsics.checkNotNullParameter(uri, "<this>");
        path = Paths.get(uri);
        Intrinsics.checkNotNullExpressionValue(path, "get(...)");
        return path;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path K0(Path path, String other) {
        Path resolve;
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(other, "other");
        resolve = path.resolve(other);
        Intrinsics.checkNotNullExpressionValue(resolve, "resolve(...)");
        return resolve;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final <T> T K1(Path path, String glob, bd.l<? super InterfaceC0689m<? extends Path>, ? extends T> block) throws IOException {
        DirectoryStream newDirectoryStream;
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(glob, "glob");
        Intrinsics.checkNotNullParameter(block, "block");
        newDirectoryStream = Files.newDirectoryStream(path, glob);
        try {
            DirectoryStream a = C0474x0.a(newDirectoryStream);
            Intrinsics.checkNotNull(a);
            T invoke = block.invoke(Dc.V.C1(a));
            InlineMarker.finallyStart(1);
            Vc.c.a(newDirectoryStream, null);
            InlineMarker.finallyEnd(1);
            return invoke;
        } finally {
        }
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path L0(Path path, Path other) {
        Path resolve;
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(other, "other");
        resolve = path.resolve(other);
        Intrinsics.checkNotNullExpressionValue(resolve, "resolve(...)");
        return resolve;
    }

    public static Object L1(Path path, String glob, bd.l block, int i, Object obj) throws IOException {
        DirectoryStream newDirectoryStream;
        if ((i & 1) != 0) {
            glob = "*";
        }
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(glob, "glob");
        Intrinsics.checkNotNullParameter(block, "block");
        newDirectoryStream = Files.newDirectoryStream(path, glob);
        try {
            DirectoryStream a = C0474x0.a(newDirectoryStream);
            Intrinsics.checkNotNull(a);
            Object invoke = block.invoke(Dc.V.C1(a));
            InlineMarker.finallyStart(1);
            Vc.c.a(newDirectoryStream, null);
            InlineMarker.finallyEnd(1);
            return invoke;
        } finally {
        }
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final boolean M0(Path path, LinkOption... options) {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(options, "options");
        return Files.exists(path, (LinkOption[]) Arrays.copyOf(options, options.length));
    }

    @InterfaceC0200j0(version = "2.1")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    public static final void M1(@ef.l Path path, int i, boolean z, @ef.l bd.l<? super InterfaceC0467u, Bc.U0> builderAction) {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(builderAction, "builderAction");
        N1(path, S0(builderAction), i, z);
    }

    @InterfaceC0188d0
    @ef.l
    public static final Void N0(@ef.l Path path, @ef.l Class<?> attributeViewClass) {
        Intrinsics.checkNotNullParameter(path, "path");
        Intrinsics.checkNotNullParameter(attributeViewClass, "attributeViewClass");
        throw new UnsupportedOperationException("The desired attribute view type " + attributeViewClass + " is not available for the file " + path + '.');
    }

    @InterfaceC0200j0(version = "2.1")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    public static final void N1(@ef.l Path path, @ef.l FileVisitor<Path> visitor, int i, boolean z) {
        Set set;
        FileVisitOption fileVisitOption;
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(visitor, "visitor");
        if (z) {
            fileVisitOption = FileVisitOption.FOLLOW_LINKS;
            set = Dc.B0.f(fileVisitOption);
        } else {
            set = C0258a0.a;
        }
        Files.walkFileTree(path, set, i, visitor);
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final <V extends FileAttributeView> V O0(Path path, LinkOption... options) {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(options, "options");
        Intrinsics.reifiedOperationMarker(4, "V");
        V v = (V) Files.getFileAttributeView(path, FileAttributeView.class, (LinkOption[]) Arrays.copyOf(options, options.length));
        if (v != null) {
            return v;
        }
        Intrinsics.reifiedOperationMarker(4, "V");
        N0(path, FileAttributeView.class);
        throw null;
    }

    public static void O1(Path path, int i, boolean z, bd.l lVar, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            i = Integer.MAX_VALUE;
        }
        if ((i2 & 2) != 0) {
            z = false;
        }
        M1(path, i, z, lVar);
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final <V extends FileAttributeView> V P0(Path path, LinkOption... options) {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(options, "options");
        Intrinsics.reifiedOperationMarker(4, "V");
        return (V) Files.getFileAttributeView(path, FileAttributeView.class, (LinkOption[]) Arrays.copyOf(options, options.length));
    }

    public static void P1(Path path, FileVisitor fileVisitor, int i, boolean z, int i2, Object obj) {
        if ((i2 & 2) != 0) {
            i = Integer.MAX_VALUE;
        }
        if ((i2 & 4) != 0) {
            z = false;
        }
        N1(path, fileVisitor, i, z);
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final long Q0(Path path) throws IOException {
        long size;
        Intrinsics.checkNotNullParameter(path, "<this>");
        size = Files.size(path);
        return size;
    }

    @InterfaceC0200j0(version = "2.1")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @ef.l
    public static final InterfaceC0689m<Path> Q1(@ef.l Path path, @ef.l U... options) {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(options, "options");
        return new O(path, options);
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final FileStore R0(Path path) throws IOException {
        FileStore fileStore;
        Intrinsics.checkNotNullParameter(path, "<this>");
        fileStore = Files.getFileStore(path);
        Intrinsics.checkNotNullExpressionValue(fileStore, "getFileStore(...)");
        return fileStore;
    }

    @InterfaceC0200j0(version = "2.1")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @ef.l
    public static final FileVisitor<Path> S0(@ef.l bd.l<? super InterfaceC0467u, Bc.U0> builderAction) {
        Intrinsics.checkNotNullParameter(builderAction, "builderAction");
        C0469v c0469v = new C0469v();
        builderAction.invoke(c0469v);
        return c0469v.e();
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final void T0(Path path, String glob, bd.l<? super Path, Bc.U0> action) throws IOException {
        DirectoryStream newDirectoryStream;
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(glob, "glob");
        Intrinsics.checkNotNullParameter(action, "action");
        newDirectoryStream = Files.newDirectoryStream(path, glob);
        try {
            DirectoryStream a = C0474x0.a(newDirectoryStream);
            Intrinsics.checkNotNull(a);
            Iterator it = a.iterator();
            while (it.hasNext()) {
                action.invoke(it.next());
            }
            InlineMarker.finallyStart(1);
            Vc.c.a(newDirectoryStream, null);
            InlineMarker.finallyEnd(1);
        } finally {
        }
    }

    public static void U0(Path path, String glob, bd.l action, int i, Object obj) throws IOException {
        DirectoryStream newDirectoryStream;
        if ((i & 1) != 0) {
            glob = "*";
        }
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(glob, "glob");
        Intrinsics.checkNotNullParameter(action, "action");
        newDirectoryStream = Files.newDirectoryStream(path, glob);
        try {
            DirectoryStream a = C0474x0.a(newDirectoryStream);
            Intrinsics.checkNotNull(a);
            Iterator it = a.iterator();
            while (it.hasNext()) {
                action.invoke(it.next());
            }
            InlineMarker.finallyStart(1);
            Vc.c.a(newDirectoryStream, null);
            InlineMarker.finallyEnd(1);
        } finally {
        }
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Object V0(Path path, String attribute, LinkOption... options) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(attribute, "attribute");
        Intrinsics.checkNotNullParameter(options, "options");
        return Files.getAttribute(path, attribute, (LinkOption[]) Arrays.copyOf(options, options.length));
    }

    @ef.l
    public static final String W0(@ef.l Path path) {
        Path fileName;
        String obj;
        String N5;
        Intrinsics.checkNotNullParameter(path, "<this>");
        fileName = path.getFileName();
        return (fileName == null || (obj = fileName.toString()) == null || (N5 = nd.S.N5(obj, '.', Td.w.v)) == null) ? Td.w.v : N5;
    }

    public static final String Y0(Path path) {
        Intrinsics.checkNotNullParameter(path, "<this>");
        return a1(path);
    }

    @ef.l
    public static final String a1(@ef.l Path path) {
        FileSystem fileSystem;
        String separator;
        Intrinsics.checkNotNullParameter(path, "<this>");
        fileSystem = path.getFileSystem();
        separator = fileSystem.getSeparator();
        if (Intrinsics.areEqual(separator, "/")) {
            return path.toString();
        }
        String obj = path.toString();
        Intrinsics.checkNotNull(separator);
        return C0757K.z2(obj, separator, "/", false, 4, null);
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final FileTime c1(Path path, LinkOption... options) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(options, "options");
        FileTime lastModifiedTime = Files.getLastModifiedTime(path, (LinkOption[]) Arrays.copyOf(options, options.length));
        Intrinsics.checkNotNullExpressionValue(lastModifiedTime, "getLastModifiedTime(...)");
        return lastModifiedTime;
    }

    @ef.l
    public static final String d1(@ef.l Path path) {
        Path fileName;
        Intrinsics.checkNotNullParameter(path, "<this>");
        fileName = path.getFileName();
        String obj = fileName != null ? fileName.toString() : null;
        return obj == null ? Td.w.v : obj;
    }

    @ef.l
    public static final String f1(@ef.l Path path) {
        Path fileName;
        String obj;
        String Y5;
        Intrinsics.checkNotNullParameter(path, "<this>");
        fileName = path.getFileName();
        return (fileName == null || (obj = fileName.toString()) == null || (Y5 = nd.S.Y5(obj, ".", null, 2, null)) == null) ? Td.w.v : Y5;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final UserPrincipal h1(Path path, LinkOption... options) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(options, "options");
        return Files.getOwner(path, (LinkOption[]) Arrays.copyOf(options, options.length));
    }

    public static final String i1(Path path) {
        Intrinsics.checkNotNullParameter(path, "<this>");
        return path.toString();
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Set<PosixFilePermission> k1(Path path, LinkOption... options) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(options, "options");
        Set<PosixFilePermission> posixFilePermissions = Files.getPosixFilePermissions(path, (LinkOption[]) Arrays.copyOf(options, options.length));
        Intrinsics.checkNotNullExpressionValue(posixFilePermissions, "getPosixFilePermissions(...)");
        return posixFilePermissions;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final boolean l1(Path path, LinkOption... options) {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(options, "options");
        return Files.isDirectory(path, (LinkOption[]) Arrays.copyOf(options, options.length));
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final boolean m1(Path path) {
        boolean isExecutable;
        Intrinsics.checkNotNullParameter(path, "<this>");
        isExecutable = Files.isExecutable(path);
        return isExecutable;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path n0(String path) {
        Intrinsics.checkNotNullParameter(path, "path");
        Path a = B8.K.a(path, new String[0]);
        Intrinsics.checkNotNullExpressionValue(a, "get(...)");
        return a;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final boolean n1(Path path) throws IOException {
        boolean isHidden;
        Intrinsics.checkNotNullParameter(path, "<this>");
        isHidden = Files.isHidden(path);
        return isHidden;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path o0(String base, String... subpaths) {
        Intrinsics.checkNotNullParameter(base, "base");
        Intrinsics.checkNotNullParameter(subpaths, "subpaths");
        Path a = B8.K.a(base, (String[]) Arrays.copyOf(subpaths, subpaths.length));
        Intrinsics.checkNotNullExpressionValue(a, "get(...)");
        return a;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final boolean o1(Path path) {
        boolean isReadable;
        Intrinsics.checkNotNullParameter(path, "<this>");
        isReadable = Files.isReadable(path);
        return isReadable;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path p0(Path path) {
        Path absolutePath;
        Intrinsics.checkNotNullParameter(path, "<this>");
        absolutePath = path.toAbsolutePath();
        Intrinsics.checkNotNullExpressionValue(absolutePath, "toAbsolutePath(...)");
        return absolutePath;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final boolean p1(Path path, LinkOption... options) {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(options, "options");
        return Files.isRegularFile(path, (LinkOption[]) Arrays.copyOf(options, options.length));
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final String q0(Path path) {
        Path absolutePath;
        Intrinsics.checkNotNullParameter(path, "<this>");
        absolutePath = path.toAbsolutePath();
        return absolutePath.toString();
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final boolean q1(Path path, Path other) throws IOException {
        boolean isSameFile;
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(other, "other");
        isSameFile = Files.isSameFile(path, other);
        return isSameFile;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path r0(Path path, Path target, boolean z) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(target, "target");
        CopyOption[] copyOptionArr = z ? new CopyOption[]{StandardCopyOption.REPLACE_EXISTING} : new CopyOption[0];
        Path copy = Files.copy(path, target, (CopyOption[]) Arrays.copyOf(copyOptionArr, copyOptionArr.length));
        Intrinsics.checkNotNullExpressionValue(copy, "copy(...)");
        return copy;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final boolean r1(Path path) {
        boolean isSymbolicLink;
        Intrinsics.checkNotNullParameter(path, "<this>");
        isSymbolicLink = Files.isSymbolicLink(path);
        return isSymbolicLink;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path s0(Path path, Path target, CopyOption... options) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(target, "target");
        Intrinsics.checkNotNullParameter(options, "options");
        Path copy = Files.copy(path, target, (CopyOption[]) Arrays.copyOf(options, options.length));
        Intrinsics.checkNotNullExpressionValue(copy, "copy(...)");
        return copy;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final boolean s1(Path path) {
        boolean isWritable;
        Intrinsics.checkNotNullParameter(path, "<this>");
        isWritable = Files.isWritable(path);
        return isWritable;
    }

    public static Path t0(Path path, Path target, boolean z, int i, Object obj) throws IOException {
        if ((i & 2) != 0) {
            z = false;
        }
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(target, "target");
        CopyOption[] copyOptionArr = z ? new CopyOption[]{StandardCopyOption.REPLACE_EXISTING} : new CopyOption[0];
        Path copy = Files.copy(path, target, (CopyOption[]) Arrays.copyOf(copyOptionArr, copyOptionArr.length));
        Intrinsics.checkNotNullExpressionValue(copy, "copy(...)");
        return copy;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @ef.l
    public static final List<Path> t1(@ef.l Path path, @ef.l String glob) throws IOException {
        DirectoryStream newDirectoryStream;
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(glob, "glob");
        newDirectoryStream = Files.newDirectoryStream(path, glob);
        try {
            DirectoryStream a = C0474x0.a(newDirectoryStream);
            Intrinsics.checkNotNull(a);
            List<Path> Y5 = Dc.V.Y5(a);
            Vc.c.a(newDirectoryStream, null);
            return Y5;
        } finally {
        }
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path u0(Path path, FileAttribute<?>... attributes) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(attributes, "attributes");
        Path createDirectories = Files.createDirectories(path, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length));
        Intrinsics.checkNotNullExpressionValue(createDirectories, "createDirectories(...)");
        return createDirectories;
    }

    public static List u1(Path path, String str, int i, Object obj) throws IOException {
        if ((i & 1) != 0) {
            str = "*";
        }
        return t1(path, str);
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path v0(Path path, FileAttribute<?>... attributes) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(attributes, "attributes");
        Path createDirectory = Files.createDirectory(path, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length));
        Intrinsics.checkNotNullExpressionValue(createDirectory, "createDirectory(...)");
        return createDirectory;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path v1(Path path, Path target, boolean z) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(target, "target");
        CopyOption[] copyOptionArr = z ? new CopyOption[]{StandardCopyOption.REPLACE_EXISTING} : new CopyOption[0];
        Path move = Files.move(path, target, (CopyOption[]) Arrays.copyOf(copyOptionArr, copyOptionArr.length));
        Intrinsics.checkNotNullExpressionValue(move, "move(...)");
        return move;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path w0(Path path, FileAttribute<?>... attributes) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(attributes, "attributes");
        Path createFile = Files.createFile(path, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length));
        Intrinsics.checkNotNullExpressionValue(createFile, "createFile(...)");
        return createFile;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path w1(Path path, Path target, CopyOption... options) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(target, "target");
        Intrinsics.checkNotNullParameter(options, "options");
        Path move = Files.move(path, target, (CopyOption[]) Arrays.copyOf(options, options.length));
        Intrinsics.checkNotNullExpressionValue(move, "move(...)");
        return move;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path x0(Path path, Path target) throws IOException {
        Path createLink;
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(target, "target");
        createLink = Files.createLink(path, target);
        Intrinsics.checkNotNullExpressionValue(createLink, "createLink(...)");
        return createLink;
    }

    public static Path x1(Path path, Path target, boolean z, int i, Object obj) throws IOException {
        if ((i & 2) != 0) {
            z = false;
        }
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(target, "target");
        CopyOption[] copyOptionArr = z ? new CopyOption[]{StandardCopyOption.REPLACE_EXISTING} : new CopyOption[0];
        Path move = Files.move(path, target, (CopyOption[]) Arrays.copyOf(copyOptionArr, copyOptionArr.length));
        Intrinsics.checkNotNullExpressionValue(move, "move(...)");
        return move;
    }

    @InterfaceC0200j0(version = "1.9")
    @ef.l
    public static final Path y0(@ef.l Path path, @ef.l FileAttribute<?>... attributes) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(attributes, "attributes");
        Path parent = path.getParent();
        if (parent != null && !Files.isDirectory(parent, (LinkOption[]) Arrays.copyOf(new LinkOption[0], 0))) {
            try {
                FileAttribute[] fileAttributeArr = (FileAttribute[]) Arrays.copyOf(attributes, attributes.length);
                Intrinsics.checkNotNullExpressionValue(Files.createDirectories(parent, (FileAttribute[]) Arrays.copyOf(fileAttributeArr, fileAttributeArr.length)), "createDirectories(...)");
                return path;
            } catch (FileAlreadyExistsException e) {
                if (!Files.isDirectory(parent, (LinkOption[]) Arrays.copyOf(new LinkOption[0], 0))) {
                    throw e;
                }
            }
        }
        return path;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final boolean y1(Path path, LinkOption... options) {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(options, "options");
        return Files.notExists(path, (LinkOption[]) Arrays.copyOf(options, options.length));
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final Path z0(Path path, Path target, FileAttribute<?>... attributes) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(target, "target");
        Intrinsics.checkNotNullParameter(attributes, "attributes");
        Path createSymbolicLink = Files.createSymbolicLink(path, target, (FileAttribute[]) Arrays.copyOf(attributes, attributes.length));
        Intrinsics.checkNotNullExpressionValue(createSymbolicLink, "createSymbolicLink(...)");
        return createSymbolicLink;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static final <A extends BasicFileAttributes> A z1(Path path, LinkOption... options) throws IOException {
        Intrinsics.checkNotNullParameter(path, "<this>");
        Intrinsics.checkNotNullParameter(options, "options");
        Intrinsics.reifiedOperationMarker(4, "A");
        A a = (A) Files.readAttributes(path, BasicFileAttributes.class, (LinkOption[]) Arrays.copyOf(options, options.length));
        Intrinsics.checkNotNullExpressionValue(a, "readAttributes(...)");
        return a;
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    public static void X0(Path path) {
    }

    @InterfaceC0200j0(version = "1.4")
    @InterfaceC0203l(level = EnumC0207n.b, message = "Use invariantSeparatorsPathString property instead.", replaceWith = @InterfaceC0190e0(expression = "invariantSeparatorsPathString", imports = {}))
    @InterfaceC0465t
    @Sc.f
    public static void Z0(Path path) {
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    public static void b1(Path path) {
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    public static void e1(Path path) {
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    public static void g1(Path path) {
    }

    @InterfaceC0200j0(version = "1.5")
    @Bc.Y0(markerClass = {InterfaceC0465t.class})
    @Sc.f
    public static void j1(Path path) {
    }
}