Use only regexp to extract name and parameters and detect if function is a method or not.
BUG: 454582