is it possible to get a function pointer to a getter/setter function
Please do not respond with questions asking why, what usage, or suggesting alternative ideas.
Looking for a yes/no answer, from someone who actually knows.
The generally used workaround for this, is to use a regular function instead of a getter/setter. This results in having to have ( ) after the function variable obviously. The question is, can a Function variable be assigned to a getter/setter function and retain its attribute of not needing brackets. Everything I have read seems to imply it is not, but I am looking for a definitive answer.
Below is some Pseudo code representing the question:
#########################################################
public class Foo(){
private var prop:Object;
public function get Prop():Object{return prop;}
public function set Prop(o:Object):void{prop=o;}
}
//==================
var GlobalFuncVar:Function = Foo.<get Prop>;
*** - If Foo.Prop is used, it returns the value. how can the function pointer be accessed...