Zelix KlassMaster - Documentation
 

The removeMethodCalls Statement

The ZKM Script removeMethodCalls statement removes the method calls that you have specified using one or both of the removeMethodCallsInclude and removeMethodCallsExclude statements. It is intended to be used for the removal of "optional" method calls which have no effect such as debugging statements. However, Zelix KlassMaster™ will not remove method calls in cases where the method returns an object which is actually used (as opposed to being popped off the stack).

Note that you should only use this functionality if you are certain that removing the specified methods will not break your application. Zelix KlassMaster™ cannot check this. It will simply do what you have specified.

Example

removeMethodCalls;

Syntax

"removeMethodCalls" ";"

 
ZKM Script resetRemoveMethodCalls statement The ZKM Script Language ZKM Script exclude statement