List<ContentEntry> (VirtualFile[] files) { List<ContentEntry> contentEntries = super.addContentEntries(files); if (!contentEntries.isEmpty()) { final ContentEntry[] contentEntriesArray = contentEntries.toArray(new ContentEntry[0]); addSourceRoots(myProject, contentEntriesArray, () -> addContentEntryPanels(contentEntriesArray)); } return contentEntries; }