Date of Award:
Master of Science (MS)
Dr. Stephen W. Clyde
Software reuse enhances a programmer's productivity and reduces programming errors. Improving software reuse through libraries and frameworks is a vast problem area. This thesis offers an approach to solve two sub-problems within the problem area- to identify the right library components, and to offer code snippets that use the components correctly. The Java API-Aware Code Generation Engine, or JAGE for short, is a prototype system that demonstrates the feasibility of generating semantically valid code snippets consisting of method calls to classes in the J2SDK library.
Developers often search for sample code snippets that describe how to use the library. This thesis describes the design and implementation of JAGE, which allows software developers to use an English sentence to generate helpful code snippets in Java. This thesis also discusses the related concepts in natural-language processing including ontology, Wordnet, and object-orientation in the area of automatic code snippet generation.
Vijyapurpu, Chandra Sekhar, "Java API-Aware Code Generation Engine: A Prototype" (2012). All Graduate Theses and Dissertations. Paper 1198.
Copyright for this work is retained by the student.