boolean (PsiModifierListOwner owner1, PsiModifierListOwner owner2) { final PsiModifierList modifierList = owner1.getModifierList(); final PsiModifierList superModifierList = owner2.getModifierList(); return (modifierList == null || superModifierList == null) ? modifierList == superModifierList : AnnotationUtil.equal(modifierList.getAnnotations(), superModifierList.getAnnotations()); }