What steps can I take to refactor code more efficiently in IntelliJ IDEA?Assitance Needed

When I try to refactor a particular class in my project by renaming it, IntelliJ IDEA does not appear to update all references throughout the codebase correctly Here are some of the details

 Despite selecting the "Search for references" option and applying the refactoring, some occurrences of the class name remain unchanged.

Relevant Information:

  • IntelliJ IDEA Version: 2021.3.2
  • Operating System: Windows 10
  • Java Version: OpenJDK 11

Steps Taken:

  1. Selected the class name.
  2. Chose the "Refactor" option from the context menu.
  3. Opted for "Rename" and entered the new class name.
  4. Checked the "Search for references" option.
  5. Applied the refactoring.

Your prompt assistance in resolving this matter would be of immense help to me. I believe your expertise can guide me in overcoming this obstacle and enhance my proficiency in using IntelliJ IDEA for code refactoring.