public static boolean isWordCodePoint(int codePoint) {
    return (codePoint >= 'a' && codePoint <= 'z') ||
           (codePoint >= 'A' && codePoint <= 'Z') ||
           (codePoint >= '0' && codePoint <= '9') ||
           (Character.isJavaIdentifierStart(codePoint) && codePoint != '$');
  }
public static boolean isWordCodePoint(int codePoint)