RedundantDependencyFinding

data class RedundantDependencyFinding(val findingName: FindingName, val dependentProject: McProject, val oldDependency: ProjectDependency, val configurationName: ConfigurationName, val from: List<ProjectDependency>) : AbstractProjectDependencyFinding, RemovesDependency, Deletable(source)

Constructors

Link copied to clipboard
constructor(findingName: FindingName, dependentProject: McProject, oldDependency: ProjectDependency, configurationName: ConfigurationName, from: List<ProjectDependency>)

Properties

Link copied to clipboard
override val buildFile: File
Link copied to clipboard
Link copied to clipboard
open override val dependency: ProjectDependency
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
Link copied to clipboard
open override val isSuppressed: LazyDeferred<Boolean>
Link copied to clipboard
open override val message: String
Link copied to clipboard
open override val oldDependency: ProjectDependency
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