Zelix KlassMaster - Documentation

Reference Obfuscation Method Include Parameter

 
The Method Include Parameter dialog has three facets:
  • the specification of the method itself and
  • the specification of the class that contains the method and
  • the specification of the package that contains the class
For a method reference to be included the referenced method must match the full specification.
 

The method itself

In specifying the method whose references are to be included, you can specify:
  • whether its access level is
    • not specifed
    • public
    • protected
    • package (i.e. default)
    • private
  • whether it has or doesn't have the modifiers
    • static
    • final
    • synchronized
    • native
    • abstract
  • its name or a "*" wildcard string that its name must match
  • its argument types as either:
    • no arguments
    • "*" meaning any argument types
    • a comma separated list of fully qualified types
  • the exception classes that it throws. These are entered as a comma delimited list of fully qualified class names.
  • the fully qualified class name of an annotation that a matching method must have. You can use the "*" wildcard. Do not include the '@' character.
Reference Obfuscation Method Include Parameter - Method itself

 

The containing class

To specify the containing class of the method, click the Containing class tab. The class Name method cannot be empty but a simple "*" wildcard is acceptable.
Reference Obfuscation Include Parameter - Containing class

 

The containing package

To specify the containing package of the method, click the Containing package tab. If you clear the Name method then you are specifying that the class is in the default package.
Reference Obfuscation Include Parameter - Containing package

 

Example

The specification:

java.lang.System *(*)

means include references to all methods :
  • have a name matching *
  • have the argument types matching *
  • are contained in a class that:
    • has a name that matches System
    • is in a package that matches java.lang
Field Include Parameter Include Parameter Type
Zelix KlassMaster - Java Obfuscator