String (@NotNull LighterAST tree, @NotNull LighterASTNode node, @Nullable TokenSet skipTypes) { int length = node.getEndOffset() - node.getStartOffset(); if (length < 0) { length = 0; Logger.getInstance(LightTreeUtil.class).error("tree=" + tree + " node=" + node); } StringBuilder buffer = new StringBuilder(length); toBuffer(tree, node, buffer, skipTypes); return buffer.toString(); }