Launching the reverse command
To launch the Reverse command, please carry out the following steps:
1. Right-click on a package to display its context menu.
2. Select one of the two Reverse commands:
· "Java Developer/Reverse Java application from sources" to reverse a source file into the project.
· "Java Developer/Reverse Java binaries" to reverse a compiled file into the project.

Figure 90. Java context menu on a package
Selecting the directory containing the elements to be reversed
In the first window of the wizard, the path to the application to be reversed into the project should be entered (as shown in Figure 91).

Figure 91. Reverse Java wizard - first window (application path definition)
Selecting the files to be reversed
The following Wizard window is used to select the elements to reverse into the project (Figure 92).

Figure 92. Selecting files to be reversed
Select the elements you wish to reverse by checking the associated tickbox.
The "Choose a reverse mode" field is used to select the desired reversal level.
Three levels are available:
· Simple structural
· Complete structural
· Complete reverse (this reverse level is only available when reversing from sources)
For further details, please see "Three reverse levels".
Click on the "Next" button to proceed to the next step.
Selecting the application libraries
The final window of the Wizard is used to specify the classpath of the application to be reversed (Figure 93).

Figure 93. Adding the libraries of the application
Use the "Add" and "Remove" buttons to add or remove libraries (jar files or directories).
To go back to the previous step, click on the "Previous" button.
To launch the reverse operation, click on the "Reverse" button.
Reversing an existing class
Objecteering Java Developer provides the user with the possibility of updating a class' modeling within a project. To do this, display the class' context menu by right-clicking on it, and select "Java Developer/New reverse from sources files" or select "Java Developer/New reverse from compiled files" (Figure 94).

Figure 94. The "Java Developer/New reverse from sources files" command on a class
Reversing an existing package
Objecteering Java Developer provides you with the possibility of updating the modeling of all the classes contained within a package in a project. To do this, display the package's context menu by right-clicking on it, and select "Java Developer/New reverse from sources files" or "Java Developer/New reverse from compiled files" (Figure 95).

Figure 95. The "Java Developer/New reverse from sources files" command on a package
Note: A log file is automatically generated in the module's installation directory (<Objecteering_install_path>\mdaplugs\JavaDeveloper\<version_number>\reverse-log.html). This log file will be overwritten each time a new reverse is launched.