boolean (boolean[] idMap, @NonNls String prefix) { if (idMap.length < myTotalEmojiIndices) { throw new IllegalArgumentException("Output array is too small: " + idMap.length + ", but there are " + myTotalEmojiIndices + "emoji indices"); } int node = findNodeForPrefix(prefix, 0, myRootNodeOffset); if (node == -1) return false; Arrays.fill(idMap, false); collectIdsFromSubtree(idMap, node); return true; }