declare namespace java {
    namespace nio {
        namespace file {
            // @ts-ignore
             class AccessMode extends java.lang.Enum {
                // @ts-ignore
                public static READ: java.nio.file.AccessMode;
                // @ts-ignore
                public static WRITE: java.nio.file.AccessMode;
                // @ts-ignore
                public static EXECUTE: java.nio.file.AccessMode;
                // @ts-ignore
                public static values(): java.nio.file.AccessMode[];
                // @ts-ignore
                public static valueOf(name: string): java.nio.file.AccessMode;
            }
        }
    }
}
