All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.gitlab.arturbosch.detekt.api.Issue.kt Maven / Gradle / Ivy

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