boolean (@NotNull ModuleType moduleType) { for (ModuleTypeEP ep : EP_NAME.getExtensionList()) { if (moduleType.getId().equals(ep.id)) { return ep.classpathProvider; } } Boolean provider = myModuleTypes.get(moduleType); return provider != null && provider; }