String path = jarfile.getAbsolutePath().replace(File.separatorChar, '/') + JarFileSystem.JAR_SEPARATOR + "openapi";
VirtualFile vFile = jarFileSystem.findFileByPath(path);
sdkModificator.addRoot(vFile, ProjectRootType.JAVADOC);
}
}
<BUG>private void addClasses(SdkModificator sdkModificator) {
String [] classes = getInternalJavaSdk(sdkModificator.getHomePath()).getRootProvider().getUrls(OrderRootType.CLASSES);
for (int i = 0; i < classes.length; i++) {
VirtualFile virtualFile = VirtualFileManager.getInstance().findFileByUrl(classes[i]);
sdkModificator.addRoot(virtualFile, ProjectRootType.CLASS);</BUG>
}

String path = jarfile.getAbsolutePath().replace(File.separatorChar, '/') + JarFileSystem.JAR_SEPARATOR + "openapi";
VirtualFile vFile = jarFileSystem.findFileByPath(path);
sdkModificator.addRoot(vFile, ProjectRootType.JAVADOC);
