All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netflix.java.refactor.RefactorFix.kt Maven / Gradle / Ivy

There is a newer version: 0.6.2
Show newest version
package com.netflix.java.refactor

import java.io.File

data class RefactorFix(val position: IntRange,
                       val changes: String?,
                       val source: File) {
    val lineNumber: Int by lazy {
        source.readText().substring(0, position.start).count { it == '\n' } + 1
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy