public static PLVariable makePlVariable(String variablename, Surrogate variabletype) {
    { PLVariable result = PLVariable.new_PLVariable();
      PLString plvariablename = PLString.new_PLString();
      PLSurrogate plvariabletype = PLSurrogate.new_PLSurrogate();

      plvariablename.Value = variablename;
      plvariabletype.id = variabletype.symbolName;
      result.VariableName = plvariablename;
      result.VariableType = plvariabletype;
      return (result);
    }
  }