首页> 外国专利> Method, system, and program product for generating source code for a function

Method, system, and program product for generating source code for a function

机译:用于生成功能源代码的方法,系统和程序产品

摘要

The present invention provides a method, system, and program product for generating source code for a function such as a Java method. Specifically, the present invention allows values passed as arguments to a method to be captured, and a property to be mapped to an output parameter such as a return bean. Attributes defined as part of a tag reference are interpreted by a code generator as being values that are set dynamically as a result of the arguments being passed to a method, or are interpreted as being a property to be assigned to an output parameter. Under the present invention, parameter information such as input parameter binding(s) and/or output binding(s) is provided using meta data language (e.g., Doclet) annotations. This parameter information is used by a code generator to generate the source code.
机译:本发明提供了一种用于为诸如Java方法之类的功能生成源代码的方法,系统和程序产品。具体地,本发明允许捕获作为参数传递给方法的值,并将属性映射到诸如返回bean的输出参数。定义为标签引用一部分的属性由代码生成器解释为作为值(由于将参数传递给方法而动态设置)的值,或解释为要分配给输出参数的属性。在本发明下,使用元数据语言(例如,Doclet)注释来提供诸如输入参数绑定和/或输出绑定之类的参数信息。代码生成器使用此参数信息来生成源代码。

著录项

  • 公开/公告号US2007234318A1

    专利类型

  • 公开/公告日2007-10-04

    原文格式PDF

  • 申请/专利权人 JOHN H. GREEN;NORMAN K. W. SETO;

    申请/专利号US20060397585

  • 发明设计人 JOHN H. GREEN;NORMAN K. W. SETO;

    申请日2006-04-04

  • 分类号G06F9/45;

  • 国家 US

  • 入库时间 2022-08-21 21:03:46

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号