AbstractDependenciesBlock

abstract class AbstractDependenciesBlock(    val logger: McLogger,     blockSuppressed: List<String>,     val configurationNameTransform: DependencyDeclaration.ConfigurationNameTransform,     val projectDependency: ProjectDependency.Factory) : DependenciesBlock

Constructors

Link copied to clipboard
fun AbstractDependenciesBlock(    logger: McLogger,     blockSuppressed: List<String>,     configurationNameTransform: DependencyDeclaration.ConfigurationNameTransform,     projectDependency: ProjectDependency.Factory)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun addModuleStatement(    configName: ConfigurationName,     parsedString: String,     projectPath: ProjectPath,     projectAccessor: ProjectAccessor,     suppressed: List<String>)
Link copied to clipboard
fun addNonModuleStatement(    configName: ConfigurationName,     parsedString: String,     coordinates: MavenCoordinates,     suppressed: List<String>)
Link copied to clipboard
fun addUnknownStatement(    configName: ConfigurationName,     parsedString: String,     argument: String,     suppressed: List<String>)
Link copied to clipboard
private fun Collection<String>.asFindingNames(): Set<FindingName>
Link copied to clipboard
private fun findLastMatchingRowIndex(parsedString: String): Int

Compares the target parsed string to the un-parsed lines of the original dependencies block, and returns the index of the last row which matches the parsed string.

Link copied to clipboard
open override fun getOrEmpty(mavenCoordinates: MavenCoordinates, configName: ConfigurationName): List<ExternalDependencyDeclaration>
open override fun getOrEmpty(    moduleRef: String,     configName: ConfigurationName,     testFixtures: Boolean): List<ModuleDependencyDeclaration>
open override fun getOrEmpty(    moduleRef: ProjectPath,     configName: ConfigurationName,     testFixtures: Boolean): List<ModuleDependencyDeclaration>
Link copied to clipboard
private fun getOriginalString(parsedString: String): String
Link copied to clipboard
protected abstract fun originalLineMatchesParsed(originalLine: String, parsedString: String): Boolean
Link copied to clipboard
private fun List<String>.updateOldSuppresses(): List<String>

Properties

Link copied to clipboard
private val _allDeclarations: MutableList<DependencyDeclaration>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val allSuppressions: Map<ProjectDependency, Set<FindingName>>
Link copied to clipboard
override val blockSuppressed: List<String>
Link copied to clipboard
Link copied to clipboard
abstract val fullText: String
Link copied to clipboard
abstract val lambdaContent: String
Link copied to clipboard
private val logger: McLogger
Link copied to clipboard
private val originalLines: MutableList<String>
Link copied to clipboard
private val projectDependency: ProjectDependency.Factory
Link copied to clipboard
private val resetManager: ResetManager
Link copied to clipboard
open override val settings: List<DependencyDeclaration>

Sources

Link copied to clipboard