void (PsiClass beforeClass, PsiClass afterClass) { LOG.info("Comparing classes " + beforeClass.getName() + " with " + afterClass.getName()); PsiModifierList beforeFieldModifierList = beforeClass.getModifierList(); PsiModifierList afterFieldModifierList = afterClass.getModifierList(); compareContainingClasses(beforeClass, afterClass); if (beforeFieldModifierList != null && afterFieldModifierList != null) { compareModifiers(beforeFieldModifierList, afterFieldModifierList); } compareFields(beforeClass, afterClass); compareMethods(beforeClass, afterClass); compareConstructors(beforeClass, afterClass); compareInnerClasses(beforeClass, afterClass); LOG.debug("Compared classes IntelliJ " + beforeClass.getName() + " with " + afterClass.getName()); }