void (@NotNull String name) { final List<Substring> nameSubs = myOriginalDocString.getParameterSubstrings(); for (Substring sub : nameSubs) { if (sub.toString().equals(name)) { final int startLine = sub.getStartLine(); final int nextAfterBlock = myOriginalDocString.consumeIndentedBlock(startLine + 1, getLineIndentSize(startLine)); removeLinesAndSpacesAfter(startLine, nextAfterBlock); } } }