Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lastIndexOf (0.15 sec)

  1. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

    
    private
    fun candidateClassFiles(path: String) =
        sequenceOf("$path$classFileExtension", "${path}Kt$classFileExtension")
    
    
    private
    fun nestedClassNameFor(path: String) = path.run {
        lastIndexOf('/').takeIf { it > 0 }?.let { index ->
            substring(0, index) + '$' + substring(index + 1)
        }
    }
    
    
    private
    fun normaliseFileSeparators(path: String): String =
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 6.1K bytes
    - Viewed (0)
Back to top