boolean (@NotNull Project project) { IdeaPlugin ideaPlugin = findIdeaPlugin(project); if (ideaPlugin != null) { final IdeaModule ideaModule = ideaPlugin.getModel().getModule(); return ideaModule.isDownloadJavadoc(); } return false; }