private static boolean isLanguageSupported(Collection<String> fileLanguageIds, IntentionAction action) {
    if (action instanceof IntentionActionWrapper) {
      return ((IntentionActionWrapper)action).isApplicable(fileLanguageIds);
    }

    return true;
  }
private static boolean isLanguageSupported(Collection<String> fileLanguageIds, IntentionAction action)