import java.io.IOException;
import java.nio.channels.Channel;
import java.nio.channels.FileChannel;
import java.nio.file.Path;
import java.nio.file.StandardOpenOption;
import java.util.ArrayList;
import java.util.List;

public class Main {

    @SuppressWarnings({"rawtypes", "unchecked"})
    public static void main(String[] args) throws IOException {
        List words = new ArrayList();
        words.add("hello");

        Channel channel = FileChannel.open(Path.of("blablabla"), StandardOpenOption.CREATE, StandardOpenOption.WRITE,
                                                StandardOpenOption.READ, com.sun.nio.file.ExtendedOpenOption.DIRECT);
        System.out.println(channel.isOpen());
    }
} 