Fixes #5218: Display generated classes in method call

there are too many spaces there