1045N/A * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 553N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 553N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 553N/A * or visit www.oracle.com if you need additional information or have any 0N/A * Comment contains all information in comment part. 0N/A * It allows users to get first sentence of this comment, get 0N/A * comment for different tags... 0N/A * @author Kaiyang Liu (original) 0N/A * @author Robert Field (rewrite) 0N/A * @author Atul M Dambalkar 0N/A * @author Neal Gafter (rewrite) 0N/A * sorted comments with different tags. 0N/A * text minus any tags. 0N/A * constructor of Comment. 0N/A * Separate the comment into the text part and zero to N tags. 0N/A * Simple state machine is in one of three states: 0N/A * IN_TEXT: parsing the comment text or tag text. 0N/A * TAG_NAME: parsing the name of a tag. 0N/A * TAG_GAP: skipping through the gap between the tag name and 0N/A * The entry point to the comment string parser 0N/A // Finish what's currently being processed 0N/A * Save away the last parsed item. 0N/A * Return the text of the comment. 0N/A * Return all tags in this comment. 0N/A * Return tags of the specified kind in this comment. 0N/A * Return throws tags in this comment. 0N/A * Return param tags (excluding type param tags) in this comment. 0N/A * Return type param tags in this comment. 0N/A * Return param tags in this comment. If typeParams is true 0N/A * include only type param tags, otherwise include only ordinary 0N/A * Return see also tags in this comment. 0N/A * Return serialField tags in this comment. 0N/A * Return array of tags with text and inline See Tags for a Doc comment. 0N/A //Move past the white space after the inline tag name. 0N/A "tag.Improper_Use_Of_Link_Tag",
0N/A //Missing closing '}' character. 0N/A // store the text as it is with the {@link. 0N/A "tag.End_delimiter_missing_for_possible_SeeTag",
0N/A //Found closing '}' character. 0N/A * Recursively find the index of the closing '}' character for an inline tag 0N/A * and return it. If it can't be found, return -1. 0N/A * @param inlineText the text to search in. 0N/A * @param searchStart the index of the place to start searching at. 0N/A * @return the index of the closing '}' character for an inline tag. 0N/A * If it can't be found, return -1. 0N/A //Found a nested open brace. 0N/A * Recursively search for the string "{@" followed by 0N/A * name of inline tag and white space, 0N/A * return the index of the text following the white space. 0N/A * Return array of tags for the locale specific first sentence in the text. 0N/A * Return text for this Doc comment.