[Vala] Support for custom attribute introspection/reflection?



Hi Everyone

Vala newbie here, looking into working on some vala based applications.
Great work on an fantastic language.

Just looking through the documentation, and wondered if there is anyway
to us introspection/reflection to get information about custom
attributes?

For example:

[ Attribute ( value = "test" ) ]
public class Test : Object {
}

Is there anyway to find out if a class is annotated with an attribute,
and retrieve values from these attributes?

If not, are there any plans to provide such a feature?

TIA...

-- 
Ricardo Gladwell <ricardo gladwell gmail com>
http://www.google.com/profiles/ricardo.gladwell
Twitter: @rgladwell - MSN: axonrg gmail com






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]