I am trying to listen to changes in a project and log what PSI class the change belongs to. I am implementing the PsiTreeChangeListener interface and it works as expected until I try to get the class by using something like "String className = event.getElement().getClass().getName();". It seems like when I add that it ruins the method, as even if I don't use "className" it wont run anything in the method after it. What could the issue be? Thanks!