/**
   * Initializer for a NonStaticMethodCallNode
   *
   * @param methodName The name of the method to call
   * @param receiver A JavaValueNode representing the receiving object
   * @exception StandardException Thrown on error
   */
  public void init(Object methodName, Object receiver) throws StandardException {
    super.init(methodName);

    /*
     ** If the receiver is a Java value that has been converted to a
     ** SQL value, get rid of the conversion and just use the Java value
     ** as-is.    If the receiver is a "normal" SQL value, then convert
     ** it to a Java value to use as the receiver.
     */
    if (receiver instanceof JavaToSQLValueNode) {
      this.receiver = ((JavaToSQLValueNode) receiver).getJavaValueNode();
    } else {
      this.receiver =
          (JavaValueNode)
              getNodeFactory()
                  .getNode(NodeTypes.SQL_TO_JAVA_VALUE_NODE, receiver, getParserContext());
    }
  }