mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
22 lines
409 B
Kotlin
22 lines
409 B
Kotlin
|
|
fun topLevelMethod(x: Int, y: Int) {
|
|
}
|
|
|
|
class Class {
|
|
fun classMethod(x: Int, y: Int) {
|
|
}
|
|
|
|
fun anotherClassMethod(a: Int, b: Int) {
|
|
classMethod(a, 3)
|
|
topLevelMethod(b, 4)
|
|
}
|
|
|
|
public fun publicFun() {}
|
|
protected fun protectedFun() {}
|
|
private fun privateFun() {}
|
|
internal fun internalFun() {}
|
|
fun noExplicitVisibilityFun() {}
|
|
inline fun inlineFun() {}
|
|
}
|
|
|