I renamed a class, only the old class is shown

Cleaning the build didn’t help, but completely deleting the Intermediate directory fixed the problem.