I want to eliminate usage of magic strings in these:
BindingUtils.bindProperty(obj1, "propertyName", obj2, ["childObj", "anotherProperty"]);
or
var ddl:DropDownList = new DropDownList();
ddl.labelField = "propertyName";
it would be sweet to just type something like:
ddl.labelField = GetPropertyName(ComplexType.propertyName);
It would allow easy refactoring and would eliminate runtime errors when property name changes.
Any ideas?