private void addSeparator(FormatJavadocNode node) { // Just append the text if (++this.separatorsPtr == 0) { // lazy initialization this.separators = new long[DEFAULT_ARRAY_SIZE]; this.htmlIndexes = new int[DEFAULT_ARRAY_SIZE]; } else { // resize if needed if (this.separatorsPtr == this.separators.length) { int size = this.separatorsPtr + DEFAULT_ARRAY_SIZE; System.arraycopy(this.separators, 0, (this.separators = new long[size]), 0, this.separatorsPtr); System.arraycopy(this.htmlIndexes, 0, (this.htmlIndexes = new int[size]), 0, this.separatorsPtr); } } this.separators[this.separatorsPtr] = (((long) this.sourceEnd) << 32) + node.sourceStart; this.htmlIndexes[this.separatorsPtr] = node.isText() ? ((FormatJavadocText)node).htmlTagIndex : -1; }
private void addSeparator(FormatJavadocNode node) { // Just append the text if (++this.separatorsPtr == 0) { // lazy initialization this.separators = new long[DEFAULT_ARRAY_SIZE]; this.htmlIndexes = new int[DEFAULT_ARRAY_SIZE]; } else { // resize if needed if (this.separatorsPtr == this.separators.length) { int size = this.separatorsPtr + DEFAULT_ARRAY_SIZE; System.arraycopy(this.separators, 0, (this.separators = new long[size]), 0, this.separatorsPtr); System.arraycopy(this.htmlIndexes, 0, (this.htmlIndexes = new int[size]), 0, this.separatorsPtr); } } this.separators[this.separatorsPtr] = (((long) this.sourceEnd) << 32) + node.sourceStart; this.htmlIndexes[this.separatorsPtr] = node.isText() ? ((FormatJavadocText)node).htmlTagIndex : -1; }
private void addSeparator(FormatJavadocNode node) { // Just append the text if (++this.separatorsPtr == 0) { // lazy initialization this.separators = new long[DEFAULT_ARRAY_SIZE]; this.htmlIndexes = new int[DEFAULT_ARRAY_SIZE]; } else { // resize if needed if (this.separatorsPtr == this.separators.length) { int size = this.separatorsPtr + DEFAULT_ARRAY_SIZE; System.arraycopy(this.separators, 0, (this.separators = new long[size]), 0, this.separatorsPtr); System.arraycopy(this.htmlIndexes, 0, (this.htmlIndexes = new int[size]), 0, this.separatorsPtr); } } this.separators[this.separatorsPtr] = (((long) this.sourceEnd) << 32) + node.sourceStart; this.htmlIndexes[this.separatorsPtr] = node.isText() ? ((FormatJavadocText)node).htmlTagIndex : -1; }
void setHeaderLine(int javadocLineStart) { for (int i=0; i<this.htmlNodesPtr; i++) { FormatJavadocNode node = this.htmlNodes[i]; if (!node.isText()) { ((FormatJavadocBlock) node).setHeaderLine(javadocLineStart); } } }
void setHeaderLine(int javadocLineStart) { for (int i=0; i<this.htmlNodesPtr; i++) { FormatJavadocNode node = this.htmlNodes[i]; if (!node.isText()) { ((FormatJavadocBlock) node).setHeaderLine(javadocLineStart); } } }
void setHeaderLine(int javadocLineStart) { for (int i=0; i<this.htmlNodesPtr; i++) { FormatJavadocNode node = this.htmlNodes[i]; if (!node.isText()) { ((FormatJavadocBlock) node).setHeaderLine(javadocLineStart); } } }
void update(Scanner scanner) { int blockEnd = scanner.getLineNumber(this.sourceEnd); if (blockEnd == this.lineStart) { this.flags |= FormatJavadocBlock.ONE_LINE_TAG; } for (int i=0; i<=this.nodesPtr; i++) { if (!this.nodes[i].isText()) { ((FormatJavadocBlock)this.nodes[i]).update(scanner); } } } }
void update(Scanner scanner) { int blockEnd = scanner.getLineNumber(this.sourceEnd); if (blockEnd == this.lineStart) { this.flags |= FormatJavadocBlock.ONE_LINE_TAG; } for (int i=0; i<=this.nodesPtr; i++) { if (!this.nodes[i].isText()) { ((FormatJavadocBlock)this.nodes[i]).update(scanner); } } } }
void update(Scanner scanner) { int blockEnd = scanner.getLineNumber(this.sourceEnd); if (blockEnd == this.lineStart) { this.flags |= FormatJavadocBlock.ONE_LINE_TAG; } for (int i=0; i<=this.nodesPtr; i++) { if (!this.nodes[i].isText()) { ((FormatJavadocBlock)this.nodes[i]).update(scanner); } } } }
while (lastNode != null && lastNode.isText()) { lastNode = lastNode.getLastNode();
while (lastNode != null && lastNode.isText()) { lastNode = lastNode.getLastNode();
while (lastNode != null && lastNode.isText()) { lastNode = lastNode.getLastNode();
FormatJavadocText[] textHierarchy = null; int ptr = 0; FormatJavadocText text = node.isText() ? (FormatJavadocText) node : null; FormatJavadocNode lastNode = this.nodes[this.nodesPtr]; while (lastNode.isText()) { FormatJavadocText lastText = (FormatJavadocText) lastNode; int lastTagCategory = lastText.getHtmlTagID();
FormatJavadocText[] textHierarchy = null; int ptr = 0; FormatJavadocText text = node.isText() ? (FormatJavadocText) node : null; FormatJavadocNode lastNode = this.nodes[this.nodesPtr]; while (lastNode.isText()) { FormatJavadocText lastText = (FormatJavadocText) lastNode; int lastTagCategory = lastText.getHtmlTagID();
FormatJavadocText[] textHierarchy = null; int ptr = 0; FormatJavadocText text = node.isText() ? (FormatJavadocText) node : null; FormatJavadocNode lastNode = this.nodes[this.nodesPtr]; while (lastNode.isText()) { FormatJavadocText lastText = (FormatJavadocText) lastNode; int lastTagCategory = lastText.getHtmlTagID();
if (node.isText()) { FormatJavadocText text = (FormatJavadocText) node; if (text.isImmutable()) {
if (node.isText()) { FormatJavadocText text = (FormatJavadocText) node; if (text.isImmutable()) {
FormatJavadocText text = null; boolean isImmutableNode = node.isImmutable(); boolean nodeIsText = node.isText(); if (nodeIsText) { text = (FormatJavadocText)node;
FormatJavadocText text = null; boolean isImmutableNode = node.isImmutable(); boolean nodeIsText = node.isText(); if (nodeIsText) { text = (FormatJavadocText)node;
FormatJavadocText text = null; boolean isImmutableNode = node.isImmutable(); boolean nodeIsText = node.isText(); if (nodeIsText) { text = (FormatJavadocText)node;