incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Schmalle (JIRA)" <>
Subject [jira] [Commented] (FLEX-33332) Make metadata annotations first class AS3 citizens
Date Sat, 29 Dec 2012 16:20:12 GMT


Michael Schmalle commented on FLEX-33332:

I think this is a good idea and worthy of inclusion to Falcon sooner than later.

I'm going to make an experimental project in my whiteboard with tests. If it gets accepted
we can merge it into the Falcon trunk.
> Make metadata annotations first class AS3 citizens
> --------------------------------------------------
>                 Key: FLEX-33332
>                 URL:
>             Project: Apache Flex
>          Issue Type: Improvement
>          Components: Compiler API
>    Affects Versions: Apache Flex 4.9.0
>            Reporter: Roland Zwaga
>            Assignee: Michael Schmalle
>            Priority: Minor
> Currently metadata annotations are only checked by certain IDE's using some sort of extra
> Making metadata first class AS3 citizens would allow the compiler to check and verify
> So, for each metadata tag there would need to exist a corresponding AS3 class that describes
this tag,
> In practice, an annotation like this:
> [Bindable(event="dataChanged")]
> public var data:String;
> There would need to exist a class like this:
> [MetadataAnnotation]
> public class Bindable {
>   [Optional]
>   public var event:String;
> }
> Or something like that...
> The MetadataAnnotation metadata would be the entry point for the compiler. The actual
class would not necessarily need to be compiled in the eventual target. (Or maybe it should,
perhaps for JS cross-compilation this could actually enable annotation support...)
> Thoughts? Suggestions?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message