boolean (int position) { boolean hasBlock = blockCommentParser != null && blockCommentParser.hasToken(position); boolean hasLine = lineCommentParser != null && lineCommentParser.hasToken(position); if (hasBlock || hasLine) { TokenParser chosen = hasBlock && hasLine && myTable.getLineComment().startsWith(myTable.getStartComment()) ? lineCommentParser : hasBlock ? blockCommentParser : lineCommentParser; chosen.getTokenInfo(myTokenInfo); return true; } return false; }