int (ParameterInfo info, int offset, StringBuilder result, MatchResult match) { if (!info.isStatementContext()) { return offset; } final int index = offset + info.getStartIndex(); if (result.charAt(index) != ';') { return offset; } final PsiElement matchElement; if (match == null) matchElement = null; else if (match.isMultipleMatch()) matchElement = match.getChildren().get(match.size() - 1).getMatch(); else matchElement = match.getMatch(); if (matchElement == null || matchElement instanceof PsiComment || result.charAt(index - 1) == '}