private static boolean caseSensitivityApplies(PsiDirectory context, boolean caseSensitive) {
    return context.getVirtualFile().isCaseSensitive() == caseSensitive;
  }
private static boolean caseSensitivityApplies(PsiDirectory context, boolean caseSensitive)