declare namespace java {
    namespace nio {
        namespace file {
            namespace attribute {
                // @ts-ignore
                 class PosixFilePermission extends java.lang.Enum {
                    // @ts-ignore
                    public static OWNER_READ: java.nio.file.attribute.PosixFilePermission;
                    // @ts-ignore
                    public static OWNER_WRITE: java.nio.file.attribute.PosixFilePermission;
                    // @ts-ignore
                    public static OWNER_EXECUTE: java.nio.file.attribute.PosixFilePermission;
                    // @ts-ignore
                    public static GROUP_READ: java.nio.file.attribute.PosixFilePermission;
                    // @ts-ignore
                    public static GROUP_WRITE: java.nio.file.attribute.PosixFilePermission;
                    // @ts-ignore
                    public static GROUP_EXECUTE: java.nio.file.attribute.PosixFilePermission;
                    // @ts-ignore
                    public static OTHERS_READ: java.nio.file.attribute.PosixFilePermission;
                    // @ts-ignore
                    public static OTHERS_WRITE: java.nio.file.attribute.PosixFilePermission;
                    // @ts-ignore
                    public static OTHERS_EXECUTE: java.nio.file.attribute.PosixFilePermission;
                    // @ts-ignore
                    public static values(): java.nio.file.attribute.PosixFilePermission[];
                    // @ts-ignore
                    public static valueOf(name: string): java.nio.file.attribute.PosixFilePermission;
                }
            }
        }
    }
}
