Пример #1
0
 @Nullable
 public static MvcFramework getInstanceBySdk(@NotNull Module module) {
   for (final MvcFramework framework : EP_NAME.getExtensions()) {
     if (framework.getSdkRoot(module) != null) {
       return framework;
     }
   }
   return null;
 }
Пример #2
0
 @Nullable
 public static MvcFramework findCommonPluginModuleFramework(Module module) {
   for (MvcFramework framework : EP_NAME.getExtensions()) {
     if (framework.isCommonPluginsModule(module)) {
       return framework;
     }
   }
   return null;
 }