public static void setSignature(final String dir, List<Class<?>> classesList) throws IOException {
        try (PrintWriter output = new PrintWriter(new File(dir, "signature.tsv"))) {
            for (int i = 0; i < classesList.size(); ++i) {
                boolean flag = false;
                for (int j = 0; j < CLASSES.length; ++j) {
                    if (CLASSES[j].equals(classesList.get(i))) {
                        output.write(TYPES[j]);
                        flag = true;
                        break;
                    }
                }
                if (!flag) {
                    throw new IllegalArgumentException("Bad TYPES!");
                }
                if (i + 1 != classesList.size()) {
                    output.write(" ");
                }
            }
        }

    }