BuiltIn
enum in io.mutastic.api
enum BuiltIn implements Operatormutastic’s own operators. How each finds its sites and rewrites them is the engine’s.
Constants
BOUNDARY
BOUNDARYNEGATE_CONDITIONAL
NEGATE_CONDITIONALIn stronger, not defaults: a test that catches it can still leave both of
REMOVE_CONDITIONAL’s mutants alive, and not the other way round, so in the defaults its
catches only add to the score. PIT made the same change in 1.7.2.
MATH
MATHRETURN_DEFAULT
RETURN_DEFAULTREMOVE_VOID_CALL
REMOVE_VOID_CALLREMOVE_CONDITIONAL
REMOVE_CONDITIONALARITHMETIC_REPLACEMENT
ARITHMETIC_REPLACEMENTMethods
id
String id()explanation
String explanation()onCalls
boolean onCalls()tier
Operator.Tier tier()first
boolean first()One of the first five, whose mutants’ ids were fixed before operators were open: their ids leave the operator out, and stay as they were. Every other operator’s put it in.