@Override
      public UsageInfo[] getUsageOccurences(int pattern) {
        PsiFragment[] occurrences = getFragmentOccurences(pattern);
        UsageInfo[] infos = new UsageInfo[occurrences.length];
        for (int i = 0; i < infos.length; i++) {
          infos[i] = occurrences[i].getUsageInfo();
        }
        return infos;
      }
@Override
      public UsageInfo[] getUsageOccurences(int pattern)