@NonNull
    @Override
    public String getTextForDisplayMode(MentionDisplayMode mode) {
        switch (mode) {
            case FULL:
                return getFullName();
            case PARTIAL:
                String[] words = getFullName().split(" ");
                return (words.length > 1) ? words[0] : "";
            case NONE:
            default:
                return "";
        }
    }
@NonNull
    @Override
    public String getTextForDisplayMode(MentionDisplayMode mode) {
        switch (mode) {
            case FULL:
                return getFullName();
            case PARTIAL:
                String[] words = getFullName().split(" ");
                return (words.length > 1) ? words[0] : "";
            case NONE:
            default:
                return "";
        }
    }
@ NonNull @ Override public String getTextForDisplayMode ( MentionDisplayMode mode ) { switch ( mode ) { case FULL : return getFullName ( ) ; case PARTIAL : String [ ] words = getFullName ( ) . split ( " " ) ; return ( words . length > 1 ) ? words [ 0 ] : "" ; case NONE : default : return "" ; } }
--------------------------------------------------
--------------------------------------------------