code: Node createSuperForFunction(Node functionNode) {
      final Node result = IR.superNode();
      if (isAddingTypes()) {
        result.setJSType(getTypeOfSuperForFunctionNode(functionNode));
      }
      return result;
    }
docs: Creates a SUPER node with the correct type for the given function node.