OccurrenceManager (PsiExpression selectedExpr, PsiClass parentClass) { return new BaseOccurrenceManager(occurrence -> true) { @Override protected PsiExpression @NotNull [] defaultOccurrences() { return expressions; } @Override protected PsiExpression @NotNull [] findOccurrences() { return expressions; } }; }