get the return type names and parameter type names