void () { try { data.dir1 = data.baseDir.createChildDirectory(this, "dir1"); data.dir2 = data.baseDir.createChildDirectory(this, "dir2"); data.dir3 = data.baseDir.createChildDirectory(this, "dir3"); data.dir4 = data.baseDir.createChildDirectory(this, "dir4"); data.innerDir1 = data.dir1.createChildDirectory(this, "innerDir1"); data.innerDir2 = data.dir2.createChildDirectory(this, "innerDir2"); final VirtualFile[] virtualFiles = {data.dir1, data.dir2, data.dir3, data.dir4, data.innerDir1, data.innerDir2}; int i = 1; data.files = new LinkedList<>(); for (VirtualFile vf : virtualFiles) { data.files.add(vf.createChildData(this, "f" + i + ".txt")); ++i; } } catch (IOException e) { exc[0] = e; } }