Font Size: a A A

Design And Implementation Of A Refactoring Tool For Java Application

Posted on:2005-04-03Degree:MasterType:Thesis
Country:ChinaCandidate:X LiaoFull Text:PDF
GTID:2168360155971942Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In reality, software needs to be changed and improved constantly for adapting itself to the new requirements, which is the essence of software. In the process of changing and improving, the code is becoming more and more complicated, and the cost of maintenance becomes the main part of the cost of developing software system. For the sake of resolving the increasingly complicated problems, it's very important to apply the refactoring technology. Unfortunately, almost no automatic tools about refactoring can be in hand for benefit of our development at present, as has been the intractable problem in refactoring field. As most work of refactoring has been done by hand, many programmers have no interest in refactoring the existing code.Pattern and refactoring are research hotspots in computer science. Both of them are analyzed thoroughly in this thesis. Meanwhile, author chooses AST (Abstract Syntax Tree) as an intermediate representation of programs. This paper introduces the principles of AST and presents a new solution to build and traverse an AST. Moreover, the paper gives illustrations of concerned source codes based on Java Program.This paper presents an architecture of Refactorings which is integrated into JBuilder IDE. To design and implement the Refactorings system with the object-oriented method, author adopts many Java patterns and presents some especial data structures.Although the Refactorings system has realized seven refactoring operations, it cannot reach automatic and intellectual tools. On the other hand, it is significative for author to develop the plugin to extend JBuilder, and it provides convenience to develop the Digital Campus Project.
Keywords/Search Tags:Refactoring, Refactoring Tool, Java Patterns, AST, JBuilder
PDF Full Text Request
Related items