private static ThreeState notAfterASpace(PsiFile file, int offset) {
    if (offset <= 0 || file.getText().charAt(offset - 1) != ' ') {
      return ThreeState.UNSURE;
    }
    return ThreeState.YES;
  }
private static ThreeState notAfterASpace(PsiFile file, int offset)