Utility method to set the member name for a property or method with a metadata tag.
public static function setPropertyName(member:Member, metadata:Object, domain:ApplicationDomain = null):void
Locates the property marked with the
[Target] metadata tag in the specified
metadata object to the name of the specified member (property or method).
member:Member — the member whose name should be applied to the metadata object
metadata:Object — the metadata object to apply the member name to
domain:ApplicationDomain (default =
— the ApplicationDomain to use for reflection
Sat Apr 2 2011, 11:09 PM +01:00