void (LinkedHashSet<? super PsiClass> classesToPullUp, PsiClassType[] extendsListTypes) { for (PsiClassType extendsListType : extendsListTypes) { PsiClass resolve = extendsListType.resolve(); if (resolve != null && BaseIntentionAction.canModify(resolve)) { classesToPullUp.add(resolve); } } }