codanna 0.9.19

Code Intelligence for Large Language Models
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.example.test

// Extension function on Int
fun Int.double(): Int {
    return this * 2
}

// Extension function on String
fun String.shout(): String {
    return this.uppercase()
}

fun testLiterals() {
    val x = 42.double()        // Should call Int.double
    val y = "hello".shout()    // Should call String.shout
}