annotation class Fancy class Foo(@Fancy foo: Int) fun bar() { Foo() } /* Text: (@Fancy foo: Int), Disabled: false, Strikeout: false, Green: true */