Unresolved annotations for block

given following code:

class Foo {   foo test bar {   println("hello world!")   } }

fun main(args : Array<String>) {
  Foo()
}


execution result would be “hello world!”

what are “foo”, “test” and “bar”?  can we say compiler considering them as unresolved user defined annotations and ignoring them?

These are annotations, should be resolved and thus yield errors (as such annotation classes are not in scope)