void (@NotNull String directoryUrl, boolean recursively) { VirtualFilePointer pointer = myVirtualFilePointerManager.createDirectoryPointer(directoryUrl, recursively, myParent, myListener); (recursively ? myJarRecursiveDirectories : myJarDirectories).addIfAbsent(pointer); myList.addIfAbsent(pointer); // hack. jar directories need to be contained in class roots too (for externalization compatibility) but be ignored in getFiles() dropCaches(); }