render generic return types for methods. support synthetic classes.