Filter
interface in io.mutastic.api
interface FilterDecides that a method’s mutants shouldn’t run, and says why. A filter acts only on positive evidence in the bytecode, never on a name alone: one that skips too much makes the score lie, and nobody can tell.
Methods
id
String id()mutastic:trivial-accessors: how configuration and audits name it.
prepare
default void prepare(List<ClassModel> module)Sees the whole module’s classes once, before any skip: a filter that judges a method by who
calls it needs them all.
skip
Optional<Skip> skip(ClassModel owner, MethodModel method)Why method’s mutants shouldn’t run, if they shouldn’t.