private int blockCommentEnd(int start) {
    assert s.charAt(start) == '/' && s.charAt(start + 1) == '*';
    int i;
    for (i = start + 2; s.charAt(i) != '*' || s.charAt(i + 1) != '/'; i++) {}
    return i + 2;
  }
Returns the position at which this token ends and the next token begins.
value/src/main/java/com/google/auto/value/processor/JavaScanner.java