int (char @Nullable [] buffer, int start) { CharSequence text = myText(); if (text == null) return -1; if (buffer != null) { CharArrayUtil.getChars(text, buffer, start); } return start + text.length(); }