RedundantDependencyFinding

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

Constructors

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

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

Properties

Link copied to clipboard
override val buildFile: File
Link copied to clipboard
open override val configurationName: ConfigurationName
Link copied to clipboard
open override val dependency: ProjectDependency
Link copied to clipboard
open override val dependencyIdentifier: String
Link copied to clipboard
override val dependentPath: ProjectPath.StringProjectPath
Link copied to clipboard
open override val dependentProject: McProject
Link copied to clipboard
open override val findingName: FindingName
Link copied to clipboard
val from: List<ProjectDependency>
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
open override val positionOrNull: LazyDeferred<Finding.Position?>
Link copied to clipboard
open override val statementOrNull: LazyDeferred<BuildFileStatement?>
Link copied to clipboard
open override val statementTextOrNull: LazyDeferred<String?>

Sources

Link copied to clipboard