Package Properties Dialog

The package properties dialog allows the setting of obfuscation options on a per-package basis.

Include Resources

Selecting Include Resources enables JCloak to scan for resources in the file path for the package. JCloak includes all resources found and saves them with the obfuscated classes with their path's adjusted to reflect any change to the package name.

Resources include .gif, .jpg, .properties, etc.  See the SetResourceFileExtensions directive for how to change the files that match as a resource.


 

Package Obfuscate Controls' settings control obfuscation of all classes in the package.  The controls are as outlined below:

Class Access Level
This control sets the minimum access level a class must have for it to be eligible to have it's name obfuscated. Classes that have access modifiers that are equal or more restrictive then this setting have their names obfuscated if no other setting or reason blocks the obfuscation. For example if Class Access Level is set to 'package' the name is preserved of any class in this package that is declared public, and doesn't override this setting with a class property setting.

See the section on Controlling Class Renaming for more details.

 

 
Symbol Access Level
This control sets the minimum access level a symbol must have for it to be eligible to be obfuscated. The eligible symbols are obfuscated if no other setting or reason blocks their obfuscation. See the section on Controlling Obfuscated Names for more details.