You can't do it like that, but you can do it like this
public dynamic function get_name():String
{ return this._user.name; };public var name(get_name, null): StringI used default getter get_name to show you that you can use the same function without changing code if you decide to use dynamic getter like this
public var name(dynamic, null): String
Furthermore, since get_name is now dynamic, you can now dynamically assign anonymous function(s) like
get_name = function() { return ""; }
everywhere and anytime in your code. This gives you playground for funny things like interface simulation.