Creating method preview signature from ast

Signed-off-by: RedChrome <redchrome@gmx.de>