Class KotlinSMAP
java.lang.Object
org.jacoco.core.internal.analysis.filter.KotlinSMAP
Parsed representation of SourceDebugExtension attribute.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classParsed representation of a single LineSection from SourceDebugExtension attribute. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Patternprivate static final Patternprivate final ArrayList<KotlinSMAP.Mapping> -
Constructor Summary
ConstructorsConstructorDescriptionKotlinSMAP(String sourceFileName, String smap) Creates parsed representation of provided SourceDebugExtension attribute. -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidexpectLine(BufferedReader br, String expected) mappings()Returns list of mappings.
-
Field Details
-
mappings
-
LINE_INFO_PATTERN
-
FILE_INFO_PATTERN
-
-
Constructor Details
-
KotlinSMAP
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 Details
-
mappings
Returns list of mappings.- Returns:
- list of mappings
-
expectLine
- Throws:
IOException
-