We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Shashankss1205/CodeGraphContext'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Annotations.kt•299 B
package com.example.project.annotations
annotation class Fancy(val id: Int)
@Fancy(1)
class Foo {
@Fancy(2)
fun baz(@Fancy(3) foo: Int): Int {
return 1
}
}
// Reflection usage
fun reflection() {
val c = Foo::class
for (a in c.annotations) {
println(a)
}
}