code: private static int inlineTagFound(DocImpl holder, String inlinetext, int start) {
          DocEnv docenv = holder.env;
          int linkstart = inlinetext.indexOf("{@", start);
          if (start == inlinetext.length() || linkstart == -1) {
              return -1;
          } else if (inlinetext.indexOf('}', linkstart) == -1) {
              //Missing '}'.
              docenv.warning(holder, "tag.Improper_Use_Of_Link_Tag",
                      inlinetext.substring(linkstart, inlinetext.length()));
              return -1;
          } else {
              return linkstart;
          }
      }
docs: Recursively search for the characters '{', '@', followed by
  name of inline tag and white space,
  if found
  return the index of the text following the white space.
  else
  return -1.