Issue

class Issue(val ruleInstance: RuleInstance, val entity: Issue.Entity, val references: List<Issue.Entity>, val message: String, val severity: Severity, val suppressReasons: List<String>)

Represents a problem detected by detekt on the source code

An Issue has information about the rule that detected the problem, a severity and an entity with information about the position. Entity references can also be considered for deeper characterization.

Constructors

Link copied to clipboard
constructor(ruleInstance: RuleInstance, entity: Issue.Entity, references: List<Issue.Entity>, message: String, severity: Severity, suppressReasons: List<String>)

Types

Link copied to clipboard
class Entity(val signature: String, val location: Issue.Location)
Link copied to clipboard
class Location(val source: SourceLocation, val endSource: SourceLocation, val text: TextLocation, val path: Path) : Comparable<Issue.Location>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard