Detektion

interface Detektion : UserDataHolder

Storage for all kinds of findings and additional information which needs to be transferred from the detekt engine to the user.

Properties

Link copied to clipboard
abstract val findings: Map<RuleSetId, List<Finding>>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun add(notification: Notification)

Stores a notification in the result.

abstract fun add(projectMetric: ProjectMetric)

Stores a metric calculated for the whole project in the result.

Link copied to clipboard
@Nullable
abstract fun <T : Any> getUserData(@NotNull p0: @NotNull Key<T>): @Nullable T?
Link copied to clipboard
abstract fun <T : Any> putUserData(@NotNull p0: @NotNull Key<T>, @Nullable p1: @Nullable T?)