public static void cycle(final StringBuilder sb) { if (sb == null) { return; } sb.setLength(0); synchronized (free) { free.push(sb); } }
public static void setCurrentTabBlock( final int startIdx, final char[] methods, final int parameterNum) { final TabBlock newBlock = new TabBlock(startIdx, methods, parameterNum); if (currentTabBlock != null) { currentTabBlock.lastParameterIdxBeforeStack = parameterIdx; tabBlockStack.push(currentTabBlock); } currentTabBlock = newBlock; parameterIdx = 0; inputShiftOffset = 0; focusParameter(); }