Interface IFilterOutput
- All Known Implementing Classes:
MethodCoverageCalculator
public interface IFilterOutput
Interface used by filters to mark filtered items.
-
Method Summary
Modifier and TypeMethodDescriptionvoidignore(org.objectweb.asm.tree.AbstractInsnNode fromInclusive, org.objectweb.asm.tree.AbstractInsnNode toInclusive) Marks sequence of instructions that should be ignored during computation of coverage.voidmerge(org.objectweb.asm.tree.AbstractInsnNode i1, org.objectweb.asm.tree.AbstractInsnNode i2) Marks two instructions that should be merged during computation of coverage.voidreplaceBranches(org.objectweb.asm.tree.AbstractInsnNode source, Set<org.objectweb.asm.tree.AbstractInsnNode> newTargets) Marks instruction whose outgoing branches should be replaced during computation of coverage.
-
Method Details
-
ignore
void ignore(org.objectweb.asm.tree.AbstractInsnNode fromInclusive, org.objectweb.asm.tree.AbstractInsnNode toInclusive) Marks sequence of instructions that should be ignored during computation of coverage.- Parameters:
fromInclusive- first instruction that should be ignored, inclusivetoInclusive- last instruction coming afterfromInclusivethat should be ignored, inclusive
-
merge
void merge(org.objectweb.asm.tree.AbstractInsnNode i1, org.objectweb.asm.tree.AbstractInsnNode i2) Marks two instructions that should be merged during computation of coverage.- Parameters:
i1- first instructioni2- second instruction
-
replaceBranches
void replaceBranches(org.objectweb.asm.tree.AbstractInsnNode source, Set<org.objectweb.asm.tree.AbstractInsnNode> newTargets) Marks instruction whose outgoing branches should be replaced during computation of coverage.- Parameters:
source- instruction which branches should be replacednewTargets- new targets of branches
-