live templates - return type of method

Is there a way to populate a macro with the return type of a method? So if my template is something like this:

     $returnType$ result;
     return result;

What, if any, of the macro's should the returnType be set to?


Please sign in to leave a comment.