VirtualFile[] (final Component component, final VirtualFile[] files) { if (mySdk.getSdkType() instanceof JavaSdkType) { return LibrarySourceRootDetectorUtil.scanAndSelectDetectedJavaSourceRoots(component, files); } return super.adjustAddedFileSet(component, files); }