UnusedDependencyFinding

data class UnusedDependencyFinding(val findingName: FindingName, val dependentProject: McProject, val oldDependency: ConfiguredDependency, val dependencyIdentifier: String, val configurationName: ConfigurationName) : AbstractProjectDependencyFinding, RemovesDependency, Deletable(source)

Constructors

Link copied to clipboard
constructor(findingName: FindingName, dependentProject: McProject, oldDependency: ConfiguredDependency, dependencyIdentifier: String, configurationName: ConfigurationName)

Properties

Link copied to clipboard
override val buildFile: File
Link copied to clipboard
Link copied to clipboard
open override val dependency: ConfiguredDependency
Link copied to clipboard
open override val dependencyIdentifier: String
Link copied to clipboard
Link copied to clipboard
open override val dependentProject: McProject
Link copied to clipboard
open override val findingName: FindingName
Link copied to clipboard
open override val isSuppressed: LazyDeferred<Boolean>
Link copied to clipboard
open override val message: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open suspend fun delete(): Boolean
Link copied to clipboard
open suspend fun fix(removalStrategy: RemovesDependency.RemovalStrategy): Boolean
Link copied to clipboard
open fun fixLabel(): String
Link copied to clipboard
open override fun fromStringOrEmpty(): String
Link copied to clipboard
open suspend fun removeDependency(removalStrategy: RemovesDependency.RemovalStrategy): Boolean
Link copied to clipboard
open suspend override fun toResult(fixed: Boolean): Finding.FindingResult
Link copied to clipboard
open override fun toString(): String