Sciweavers

SCAM
2003
IEEE

Unique Renaming of Java Using Source Transformation

14 years 5 months ago
Unique Renaming of Java Using Source Transformation
This paper presents a flexible way in which a deisgn model extracted from Java programs can remain unified with the source code. Each entity declaration and reference in the Java program is assigned a globally unique identifier (UID) based on its declaration scope and file which serves as a key by which its original declaration and other references can be found, and more importantly, by which information about the entity can be stored or retrieved from the design database. The resulting uniquely renamed source code makes it convenient and efficient to do further business logic and technical analysis that crosses the boundary between source code and the design database. The UIDs are attached to the entity references in the source code using XML markup, so that both the UID and the original source text of the declaration or reference are available in the renamed source program. While is possible to generate the unique names in an ad hoc manner, we show how to generate these using a comb...
Xinping Guo, James R. Cordy, Thomas R. Dean
Added 05 Jul 2010
Updated 05 Jul 2010
Type Conference
Year 2003
Where SCAM
Authors Xinping Guo, James R. Cordy, Thomas R. Dean
Comments (0)