Class KotlinWhenFilter
- java.lang.Object
-
- org.jacoco.core.internal.analysis.filter.KotlinWhenFilter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classKotlinWhenFilter.Matcher
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringEXCEPTION
-
Constructor Summary
Constructors Constructor Description KotlinWhenFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilter(org.objectweb.asm.tree.MethodNode methodNode, IFilterContext context, IFilterOutput output)This method is called for every method.private static org.objectweb.asm.tree.LabelNodegetDefaultLabel(org.objectweb.asm.tree.AbstractInsnNode i)private static voidignoreDefaultBranch(org.objectweb.asm.tree.AbstractInsnNode switchNode, IFilterOutput output)
-
-
-
Field Detail
-
EXCEPTION
private static final java.lang.String EXCEPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
filter
public void filter(org.objectweb.asm.tree.MethodNode methodNode, IFilterContext context, IFilterOutput output)Description copied from interface:IFilterThis method is called for every method. The filter implementation is expected to inspect the provided method and report its result to the givenIFilterOutputinstance.
-
getDefaultLabel
private static org.objectweb.asm.tree.LabelNode getDefaultLabel(org.objectweb.asm.tree.AbstractInsnNode i)
-
ignoreDefaultBranch
private static void ignoreDefaultBranch(org.objectweb.asm.tree.AbstractInsnNode switchNode, IFilterOutput output)
-
-