boolean (AnAction action) { final Class<? extends AnAction> aClass = action.getClass(); return aClass == CreateFileAction.class || aClass == CreateDirectoryOrPackageAction.class || "NewModuleInGroupAction".equals(aClass.getSimpleName()); }