Class KotlinInlineFilter
- java.lang.Object
-
- org.jacoco.core.internal.analysis.filter.KotlinInlineFilter
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.regex.Pattern
FILE_INFO_PATTERN
private int
firstGeneratedLineNumber
private static java.util.regex.Pattern
LINE_INFO_PATTERN
-
Constructor Summary
Constructors Constructor Description KotlinInlineFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static void
expectLine(java.io.BufferedReader br, java.lang.String expected)
void
filter(org.objectweb.asm.tree.MethodNode methodNode, IFilterContext context, IFilterOutput output)
This method is called for every method.private static int
getFirstGeneratedLineNumber(java.lang.String sourceFileName, java.lang.String smap)
-
-
-
Method Detail
-
filter
public void filter(org.objectweb.asm.tree.MethodNode methodNode, IFilterContext context, IFilterOutput output)
Description copied from interface:IFilter
This method is called for every method. The filter implementation is expected to inspect the provided method and report its result to the givenIFilterOutput
instance.
-
getFirstGeneratedLineNumber
private static int getFirstGeneratedLineNumber(java.lang.String sourceFileName, java.lang.String smap)
-
expectLine
private static void expectLine(java.io.BufferedReader br, java.lang.String expected) throws java.io.IOException
- Throws:
java.io.IOException
-
-