Sybase 7.5 User Manual

Page of 288
Reverse engineering Java
158
4
Select the files that you want to reverse and click Open.
Multi-selection
You can select several files simultaneously by using the 
CTRL
 or 
SHIFT
keys.
5
Click OK.
A Progress box appears and the classes are added to your model. The
classes are visible in the diagram and in the Browser.
The reversed classes are listed in the Reverse page of the Output
window, situated in the bottom part of the PowerDesigner main window.
Reverse engineering compiled Java files
A compiled .class file contains the definition of one unique class. A compiled
.class file results from compiling a .java file, using an independent Java
compiler. After compilation, each class definition in the .java file becomes an
individual compiled .class file.
When you reverse engineer a .class file, PowerDesigner creates a class in the
model that corresponds to the class definition in the .class file. The newly
created class has the same name as the definition in the .class file.
v
To reverse engineer compiled Java files to a diagram:
1
Select Language➤Reverse Engineer Java.
The Reverse Java dialog box appears.