boolean (@NotNull String text) { int len = text.length(); if (len == 0) return false; int point = text.codePointAt(0); if (!isJavaIdentifierStart(point)) return false; int i = Character.charCount(point); while (i < len) { point = text.codePointAt(i); if (!isJavaIdentifierPart(point)) return false; i += Character.charCount(point); } return true; }