code: public static IAction createAction(String label, String script) {
          return new Action(script, label, script);
      }
docs: Creates an action object from fields.
  
  @param label Action's label name. May be a label reference (prefixed with an '@' character)
  or the label itself.
  @param script Action's script.
  @return An action object.