The Community for Technology Leaders
2009 IEEE/ACM International Conference on Automated Software Engineering (2009)
Auckland, New Zealand
Nov. 16, 2009 to Nov. 20, 2009
ISSN: 1527-1366
ISBN: 978-0-7695-3891-4
pp: 540-544
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.
INDEX TERMS
API Documents, Examples, Structures, Code Clustering, Ranking
CITATION

S. Hwang, J. Kim, S. Lee and S. Kim, "Adding Examples into Java Documents," 2009 IEEE/ACM International Conference on Automated Software Engineering(ASE), Auckland, New Zealand, 2009, pp. 540-544.
doi:10.1109/ASE.2009.39
85 ms
(Ver 3.3 (11022016))