Location
fun Location(source: SourceLocation, endSource: SourceLocation, text: TextLocation, filePath: FilePath)
Deprecated
locationString was removed and won't get passed to the main constructor. Use queries on 'ktElement' instead.
Replace with
import io.gitlab.arturbosch.detekt.api.Location
Content copied to clipboard
Location(source, text, file)
Content copied to clipboard
fun Location(source: SourceLocation, text: TextLocation, file: String, filePath: FilePath = FilePath.fromAbsolute(Paths.get(file)))
Deprecated
Consider relative path by passing a [FilePath]