Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Code Reverser pages and dialogs > Java Code Reverser > Reverse engineering options 1 page (Java Code Reverser)
  
Reverse engineering options 1 page (Java Code Reverser)
This page allows you to select the code files you want to reverse engineer and choose whether you want to reverse engineer code bodies.
* 
Code files you select for reverse engineering are reverse engineered only if their folder or one of the folder's parent folders is mapped to a Package (either the Model itself or a Package in the Model). You map folders to Packages on a later page of the wizard.
If you want to reverse engineer code bodies, select the Reverse engineer code bodies check box. When updating Operation Body properties, the Reverser attempts to preserve model object references. Note that a blank method body in the code will result in the associated Operation's Body property being made blank.
If the file name extension specified in the Language Options group does not match that of the files you are reverse engineering, change extension specified in the Language Options group accordingly.
The Reverser reverse engineers the code files in the order they are listed. If the order in which the code files are reverse engineered is important, order the code files as required.
To view a file selected for reverse engineering, double-click the file in the list. The file is opened in the application associated with the file's extension.
For information about reverse engineering Java code, see Overview of reverse engineering legacy Java code (Java code)
There are three ways of selecting code files to reverse engineer.
To add code files through wildcard searches:
1. In the Look In box, type the path of the directory you want to search, or select the required directory through the Search Directory button.
2. In the Search For Files Named box, type the search criteria using wildcards, for example, type '*.java;*.jav' to find files that have .java or .jav extensions.
3. If you want to search subfolders of the folder specified by the Look In box, select the Search Subfolders check box.
4. Click the Search Now button.
To add code files through individual selection:
Click the Select Files button, and then select the files you want to add.
To add code files through a drag and drop operation:
Drag the code files from Windows Explorer to the list box.
To change the order in which the code files are processed:
1. In the list, select the code file whose position you want to change.
2. Click the Move Item Up and Move Item Down buttons as necessary to move the selected code file to the required position in the list. The code files are reverse engineered in the order they are listed.