@Override
    public PsiField @NotNull [] findDeclaredFields(final @NotNull PsiManager manager, @NotNull String name) {
      List<PsiField> fields = new ArrayList<>();
      for (PsiClass aClass : myOccurrenceClasses) {
        final PsiField field = aClass.findFieldByName(name, true);
        if (field != null) fields.add(field);
      }
      return fields.toArray(PsiField.EMPTY_ARRAY);
    }
@Override
    public PsiField @NotNull [] findDeclaredFields(final @NotNull PsiManager manager, @NotNull String name)