spyglass/src/main/java/com/linkedin/android/spyglass/mentions/MentionsEditable.java
@Nullable
    public MentionSpan getMentionSpanStartingAt(int index) {
        MentionSpan[] spans = getSpans(0, length(), MentionSpan.class);
        if (spans != null) {
            for (MentionSpan span : spans) {
                if (getSpanStart(span) == index) {
                    return span;
                }
            }
        }
        return null;
    }
@Nullable
    public MentionSpan getMentionSpanStartingAt(int index) {
        MentionSpan[] spans = getSpans(0, length(), MentionSpan.class);
        if (spans != null) {
            for (MentionSpan span : spans) {
                if (getSpanStart(span) == index) {
                    return span;
                }
            }
        }
        return null;
    }
Get the {@link MentionSpan} starting at the given index in the text, or null if there is no {@link MentionSpan}
starting at that index.

@param index integer offset in text

@return a {@link MentionSpan} starting at index in text, or null