AS3 - Custom code hinting for method/function arguments

Hi all,

I was wondering if anyone knew if it were possible and if so how to create custom code hinting for arguments related to a function/method.

eg. if I create a function:

public function hello(age:int, name:String):void {

then when I call that function by typing: hello(
a code hinting pop-up will appear telling me what types of arguments to enter: (age:int, name:String)

Can anything be added to the function definition itself to customise this if, for example, you had restrictions:

so the hint would show: (age:int [between 18-40], name:String [choose Gary, John or Jim only])