Home
last modified time | relevance | path

Searched refs:BaselineKey (Results 1 – 6 of 6) sorted by relevance

/tools/metalava/metalava-reporter/src/main/java/com/android/tools/metalava/reporter/
DBaselineKey.kt22 sealed interface BaselineKey { interface
40 fun forElementId(elementId: String): BaselineKey { in forElementId()
45 fun forPath(path: Path): BaselineKey { in forPath()
54 private data class ElementIdBaselineKey(val elementId: String) : BaselineKey {
61 private data class PathBaselineKey(val path: Path) : BaselineKey {
DFileLocation.kt37 open val baselineKey: BaselineKey?
38 get() = path?.let { BaselineKey.forPath(it) } in <lambda>()
DReportable.kt39 val baselineKey: BaselineKey
DBaseline.kt87 fun mark(key: BaselineKey, message: String, issue: Issues.Issue): Boolean { in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiFileLocation.kt19 import com.android.tools.metalava.reporter.BaselineKey
75 override val baselineKey: BaselineKey
167 internal fun getBaselineKey(element: PsiElement?): BaselineKey { in getBaselineKey()
168 element ?: return BaselineKey.UNKNOWN in getBaselineKey()
173 BaselineKey.forPath(file.toPath()) in getBaselineKey()
177 BaselineKey.forElementId(elementId) in getBaselineKey()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DItem.kt19 import com.android.tools.metalava.reporter.BaselineKey
287 get() = BaselineKey.forElementId(baselineElementId()) in fullyQualifiedDocumentation()