Class Properties Dialog

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


The controls are as outlined below:

Class Access Level
This control sets the minimum access this class must have for it to be eligible to have it's name obfuscated. If the classes access modifier is equal or more restrictive then this setting, the classes name will be obfuscated if no other reason blocks the obfuscation. For example if Class Access Level is set to 'package' and the class is declared public, the name will be preserved.
 
This property overrides any package properties Class Access Level setting for the package this class belongs to.

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.
This property overrides any package properties Symbol Access Level setting for the package this class belongs to.

 

 

Java Bean Obfuscate

The 'Java Bean Settings' control sets what classes JCloak will recognize as Java Bean's and how JCloak will preserve the bean methods and classes these Bean's define and use.

JCloak can recognize and use BeanInfo classes to automatically exclude classes and methods that a Bean want's to expose publicly. JCloak can also introspect a class to determine the Bean methods and preserve them.

Bean controls can also be set on a per-package or per-class basis. Per class settings override per package settings which override default global settings.

JCloak puts attributes in the manifest of the output Jar file to indicate each Bean.

The following settings and actions are defined:

 

Serialization Setting
This control sets how JCloak will obfuscate this class if it is Serializable.
 
Settings for this argument override the default setting for handling Serializable classes. The setting values are:
 
See the command line sections for PreserveSerialized and ClassSettings for more details.