void (ASTNode node, List<FoldingDescriptor> descriptors) { if (StringUtil.countNewLines(node.getChars()) > 0) { TextRange range = node.getTextRange(); int delta = node.getElementType() == PyElementTypes.TUPLE_EXPRESSION ? 0 : 1; descriptors.add(new FoldingDescriptor(node, TextRange.create(range.getStartOffset() + delta, range.getEndOffset() - delta))); } }