【24h】

Exploring API method parameter recommendations

机译:探索API方法参数建议

获取原文

摘要

A number of techniques have been developed that support method call completion. However, there has been little research on the problem of method parameter completion. In this paper, we first present a study that helps us to understand how developers complete method parameters. Based on our observations, we developed a recommendation technique, called Parc, that collects parameter usage context using a source code localness property that suggests that developers tend to collocate related code fragments. Parc uses previous code examples together with contextual and static type analysis to recommend method parameters. Evaluating our technique against the only available state-of-the-art tool using a number of subject systems and different Java libraries shows that our approach has potential. We also explore the parameter recommendation support provided by the Eclipse Java Development Tools (JDT). Finally, we discuss limitations of our proposed technique and outline future research directions.
机译:已经开发了许多支持方法调用完成的技术。但是,关于方法参数完成问题的研究很少。在本文中,我们首先提出一项研究,以帮助我们了解开发人员如何完成方法参数。根据我们的观察,我们开发了一种称为Parc的推荐技术,该技术使用源代码局部性属性收集参数使用上下文,该属性建议开发人员倾向于并置相关的代码片段。 Parc使用先前的代码示例以及上下文和静态类型分析来推荐方法参数。使用许多主题系统和不同的Java库,针对唯一可用的最新工具评估我们的技术,这表明我们的方法具有潜力。我们还将探讨Eclipse Java开发工具(JDT)提供的参数推荐支持。最后,我们讨论了我们提出的技术的局限性,并概述了未来的研究方向。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号