io.gitlab.arturbosch.detekt.api.Issue.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of detekt-api Show documentation
Show all versions of detekt-api Show documentation
Static code analysis for Kotlin
The newest version!
package io.gitlab.arturbosch.detekt.api
import io.gitlab.arturbosch.detekt.api.internal.validateIdentifier
/**
* An issue represents a problem in the codebase.
*/
data class Issue(
val id: String,
val severity: Severity,
val description: String,
val debt: Debt
) {
init {
validateIdentifier(id)
}
override fun toString(): String {
return "Issue(id='$id', severity=$severity, debt=$debt)"
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy