Adding examples into Java documents

Jinhan Kim, Sanghoon Lee, Seung Won Hwang, Sunghun Kim

Research output: Chapter in Book/Report/Conference proceedingConference contribution

27 Citations (Scopus)

Abstract

Code examples play an important role to explain the usage of Application Programming Interfaces (APIs), but most API documents do not provide sufficient code examples. For example, for the JDK 5 documents (JavaDocs), only 2% of APIs have code examples. In this paper, we propose a technique that automatically augments API documents with code examples. Our approach finds and embeds code examples for more than 75% of the APIs in JavaDocs 5.

Original languageEnglish
Title of host publicationASE2009 - 24th IEEE/ACM International Conference on Automated Software Engineering
Pages540-544
Number of pages5
DOIs
Publication statusPublished - 2009 Dec 1
Event24th IEEE/ACM International Conference on Automated Software Engineering, ASE2009 - Auckland, New Zealand
Duration: 2009 Nov 162009 Nov 20

Publication series

NameASE2009 - 24th IEEE/ACM International Conference on Automated Software Engineering

Other

Other24th IEEE/ACM International Conference on Automated Software Engineering, ASE2009
CountryNew Zealand
CityAuckland
Period09/11/1609/11/20

All Science Journal Classification (ASJC) codes

  • Computer Science Applications
  • Software

Fingerprint Dive into the research topics of 'Adding examples into Java documents'. Together they form a unique fingerprint.

  • Cite this

    Kim, J., Lee, S., Hwang, S. W., & Kim, S. (2009). Adding examples into Java documents. In ASE2009 - 24th IEEE/ACM International Conference on Automated Software Engineering (pp. 540-544). [5431739] (ASE2009 - 24th IEEE/ACM International Conference on Automated Software Engineering). https://doi.org/10.1109/ASE.2009.39