Wow! This is an early christmas gift. Just to be sure. Is the following also possible:
["Serializable"] class Foo { int bar; } This will attach the UDA to the ClassDeclaration.The examples you've shown only attach UDAs to variable declarations.
/Jonas