ModuleDependencyDeclaration

fun ModuleDependencyDeclaration(projectPath: ProjectPath, projectAccessor: String, configName: ConfigurationName, declarationText: String, statementWithSurroundingText: String, suppressed: List<String> = emptyList()): ModuleDependencyDeclaration(source)

Creates an instance of ModuleDependencyDeclaration with the given arguments.

Return

An instance of ModuleDependencyDeclaration.

Parameters

projectPath

The path to the project this dependency refers to.

projectAccessor

The string used to access the project in the dependency declaration.

configName

The name of the configuration this dependency belongs to.

declarationText

The text representation of this declaration.

statementWithSurroundingText

The declaration statement along with its surrounding context.

suppressed

A list of suppressed warnings, empty by default.