Coverage Summary for Class: AstUtilKt (itmo.analyzer.ast)
| Class | Class, % | Method, % | Branch, % | Line, % | Instruction, % |
|---|---|---|---|---|---|
| AstUtilKt | 100% (1/1) | 100% (2/2) | 50% (2/4) | 100% (2/2) | 84.6% (22/26) |
package itmo.analyzer.ast
import com.github.javaparser.ast.CompilationUnit
import java.nio.file.Path
import kotlin.jvm.optionals.getOrNull
val CompilationUnit.fileName: String?
get() = storage.getOrNull()?.fileName
val CompilationUnit.path: Path?
get() = storage.getOrNull()?.path