void (@NotNull List<? super FixableUsageInfo> usages) { List<FixableUsageInfo> myFields = new ArrayList<>(); for (PsiField field : fields) { findUsagesForField(field, myFields); myFields.add(new RemoveField(field)); } usages.addAll(myFields); usages.addAll(myExtractEnumProcessor.findEnumConstantUsages(myFields)); for (PsiClass innerClass : innerClasses) { findUsagesForInnerClass(innerClass, usages); usages.add(new RemoveInnerClass(innerClass)); } for (PsiMethod method : methods) { if (method.hasModifierProperty(PsiModifier.STATIC)) { findUsagesForStaticMethod(method, usages); } else { findUsagesForMethod(method, usages); } } }