ContentEntry (@NotNull ModifiableRootModel model, @NotNull VirtualFile dir, ContentEntry entry) { if (entry == null) { throw new RuntimeException(dir + " is not under content roots: " + Arrays.toString(model.getContentRoots())); } return entry; }