@Override
        public Token build() {
            Objects.requireNonNull(tokenType, "Null token type");
            Objects.requireNonNull(chars, "Null chars");
            if (start == -1 || end == -1) {
                throw new IndexOutOfBoundsException();
            }
            return new Token(tokenType, chars, start, end);
        }
@param start Inclusive array index
@param end   Inclusive array index
stroom-query/stroom-query-api/src/main/java/stroom/query/api/token/Token.java