Class KotlinSMAP
- java.lang.Object
-
- org.jacoco.core.internal.analysis.filter.KotlinSMAP
-
public final class KotlinSMAP extends java.lang.ObjectParsed representation of SourceDebugExtension attribute.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKotlinSMAP.MappingParsed representation of a single LineSection from SourceDebugExtension attribute.
-
Field Summary
Fields Modifier and Type Field Description private static java.util.regex.PatternFILE_INFO_PATTERNprivate static java.util.regex.PatternLINE_INFO_PATTERNprivate java.util.ArrayList<KotlinSMAP.Mapping>mappings
-
Constructor Summary
Constructors Constructor Description KotlinSMAP(java.lang.String sourceFileName, java.lang.String smap)Creates parsed representation of provided SourceDebugExtension attribute.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static voidexpectLine(java.io.BufferedReader br, java.lang.String expected)java.util.List<KotlinSMAP.Mapping>mappings()Returns list of mappings.
-
-
-
Field Detail
-
mappings
private final java.util.ArrayList<KotlinSMAP.Mapping> mappings
-
LINE_INFO_PATTERN
private static final java.util.regex.Pattern LINE_INFO_PATTERN
-
FILE_INFO_PATTERN
private static final java.util.regex.Pattern FILE_INFO_PATTERN
-
-
Constructor Detail
-
KotlinSMAP
public KotlinSMAP(java.lang.String sourceFileName, java.lang.String smap)Creates parsed representation of provided SourceDebugExtension attribute.- Parameters:
sourceFileName- the name of the source file from which the class with SMAP was compiledsmap- value of SourceDebugExtension attribute to parse
-
-
Method Detail
-
mappings
public java.util.List<KotlinSMAP.Mapping> mappings()
Returns list of mappings.- Returns:
- list of mappings
-
expectLine
private static void expectLine(java.io.BufferedReader br, java.lang.String expected) throws java.io.IOException- Throws:
java.io.IOException
-
-