AbstractIf true, before each call to .mutate() will check if the code is already mutated, and call restore before the mutation is applied
True if the current code is mutated, false otherwise
OptionalpreviousAbstractaddAdds a join point to this Mutator. Is only added if the Mutator can be applied over this join point, otherwise it will be ignored.
AbstractgetThe point with currently mutated code, or undefined if this concept is not applicable to this mutator.
The point in the code where the mutation will occur or his occurring, or undefined if there are not more mutations left, or if this concept is not applicable to this mutator.
The name of this mutator
The number of mutations this mutator will apply
True, if the Mutator still has mutations left to do, false otherwise.
Introduces a single mutation to the code. If the code has been mutated already, restores the code before mutating again. If there are no mutations left, does nothing.
If the code has been mutated, restores the code to its original state. If not, does nothing.
Enables/disables automatic restore. Is enabled by default.
If enabled, before each call to .mutate() will check if the code is already mutated, and call restore before the mutation is applied.
Optionalvalue: booleantrue to enable, false to disable
Param: binaryExpression
A join point of type binaryExpression.
Param: newOperators
Operators that will be used to mutate the given binaryExpression.