private static int inlineTagFound(DocImpl holder,  String inlinetext, int start) {
        DocEnv docenv = holder.env;
        int linkstart;
        if (start == inlinetext.length() ||
              (linkstart = inlinetext.indexOf("{@", start)) == -1) {
            return -1;
        } else if(inlinetext.indexOf('}', start) == -1) {
            //Missing '}'.
            docenv.warning(holder, "tag.Improper_Use_Of_Link_Tag",
                          inlinetext.substring(linkstart, inlinetext.length()));
            return -1;
        } else {
            return linkstart;
        }
    }