Renaming User Interface
Renaming — Options
When Renaming has been enabled, the Renaming Options page gives you additional control over the Renaming of items in your project.
Renaming
Enables or disables renaming of classes, methods, and fields globally. You can control the portions of the project to which Renaming is applied by using exclude rules. Overload Induction™ uses the same new name on multiple methods when their signature is different. Simple Renaming generates names for methods without creating additional overloading.
Rename Annotations
Enables or disables Renaming of internally defined annotations.
Classes/Packages
The Classes box allows you to either rename classes or keep their original names. Assuming that you are Renaming classes, the Packages box allows you to either flatten the package hierarchy or retain it, and the Class Prefix box allows you to to add an optional prefix to the new class name. See this section for details. Using periods in the prefix will place the renamed classes into a different package.
Note: When flattened, all renamed classes are moved to the default package, unless there is
prefix
which includes a period.
You can additionally specify an Alphabet for class names and/or a Minimum Length for each new name. Finally, checking the Randomize checkbox enables randomized Renaming for classes.
Members
The Members box allows you to either rename members or keep their original names. You can additionally specify an Alphabet for member names and/or a Minimum Length for each new name. Finally, checking the Randomize checkbox enables randomized Renaming for members.
Alphabets
You can specify the alphabets used to create the new names for classes and members. To select a predefined alphabet, click the button on the right of the text box for the alphabet and click the desired alphabet. To create a custom alphabet, enter the desired characters into the text box.
See Renaming for details on creating a custom alphabet.
Renaming — Exclude
The Renaming Excludes page lets you compose rules that exclude classes and/or their methods and fields from renaming. Individual methods, fields, classes, or entire packages may be excluded.
When a class rule is defined, it can be used to exclude the class itself from Renaming or only the members matched by its method and field rules. To change this setting, select the rule, press the Edit.. button and change the Selects Class setting.
See Graphical Rules Editor for details.
Renaming — Map Files
The Renaming Map Files page is used to instruct DashO™ to read or write the Renaming Map File for the project. This information is used to perform Incremental Obfuscation and to decode stack traces from an obfuscated application.
Input
This setting specifies a Renaming Input Map File. When configuring this file, DashO uses the names described in this Map File to perform Incremental Obfuscation. The map report file will make note of the input classes which are not found in the map and any classes in the map which are not found in the inputs.
Output
This setting specifies a Renaming Output Map File.
ProGuard-compatible Output
The information created in this file can be used for any analytics tools which support ProGuard map files.
DashO does not automatically overwrite this file.
Selecting the Overwrite
option allows DashO to overwrite an existing file.