Note that the ZKM Script language "obfuscateReferencesInclude" is much more powerful. It also allows you to specify the reference obfuscation based upon the methods from which the references are made.
Parameter | Matches |
*
|
any package name |
pack1.pack2
|
only pack1.pack2
|
pack1.p*
|
any subpackages of pack1 that start with "p "
|
public
or package
.
Only classes matching the specified access modifier will match the exclusion parameter.
Parameter | Matches |
*
|
any class name |
Class1
|
only Class1
|
C*
|
any class name starting with "C "
|
public
, protected
, package
or private
.
Only methods matching the specified access modifier will match the exclusion parameter.
Parameter | Matches |
*
|
any method name |
method1
|
only method1
|
m*
|
any method name starting with "m "
|
int
or fully qualified class names such as java.lang.String
.
You can use a single wildcard to indicate that any parameters should be matched. You may not use wildcards within an individual argument type. For example:
Parameter | Matches |
*
|
any method parameter types including methods that take no arguments at all. |
int, java.lang.String[]
|
only methods that take exactly int, java.lang.String[]
|
|
only matches methods that take no arguments at all. |
java.lang.IOException
.
You may enter one or more types.
If more than one type is entered then they must be comma separated and, to match, a particular method must throw each of the specified types.
However, note that any exception type that you specify will also be matched by subclasses of that type.
You may not use wildcards.