boolean (@NotNull Project project, @NotNull PsiFile containingFile, @NotNull PsiField field, @NotNull ProgressIndicator progress, @NotNull GlobalUsageHelper helper) { if (helper.isLocallyUsed(field)) { return true; } if (field instanceof PsiEnumConstant && isEnumValuesMethodUsed(project, containingFile, field, progress, helper)) { return true; } return !weAreSureThereAreNoUsages(project, containingFile, field, progress, helper); }