org_eclipse_lemminx_services_XMLFormatterTest_java
org.eclipse.lemminx.services.XMLFormatter$XMLFormatterDocument
private void setupRangeFormatting(Range range) throws BadLocationException {
        int startOffset = this.textDocument.offsetAt(range.getStart());
        int endOffset = this.textDocument.offsetAt(range.getEnd());
        Position startPosition = this.textDocument.positionAt(startOffset);
        Position endPosition = this.textDocument.positionAt(endOffset);
        this.enlargePositionToGutters(startPosition, endPosition);
        this.startOffset = this.textDocument.offsetAt(startPosition);
        this.endOffset = this.textDocument.offsetAt(endPosition);
        String fullText = this.textDocument.getText();
        String rangeText = fullText.substring(this.startOffset, this.endOffset);
        this.withinDTDContent = this.fullDomDocument.isWithinInternalDTD(startOffset);
        String uri = this.textDocument.getUri();
        if (this.withinDTDContent) {
            uri = uri + ".dtd";
        }
        this.rangeDomDocument = DOMParser.getInstance().parse(rangeText, uri, null, false);
        if (this.containsTextWithinStartTag()) {
            this.adjustOffsetToStartTag();
            rangeText = fullText.substring(this.startOffset, this.endOffset);
            this.rangeDomDocument = DOMParser.getInstance().parse(rangeText, uri, null, false);
        }
        this.xmlBuilder = new XMLBuilder(this.sharedSettings, "", this.textDocument.lineDelimiter(startPosition.getLine()), this.formatterParticipants);
    }
 -> java.util.List.clear(): void -> java.lang.String.length(): int -> java.lang.String.length(): int -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.util.List.size(): int -> java.util.List.add(java.lang.Object): boolean -> java.lang.String.length(): int -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.util.List.size(): int -> java.util.List.add(java.lang.Object): boolean -> java.lang.String.length(): int -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.util.List.size(): int -> java.util.List.add(java.lang.Object): boolean -> java.lang.String.length(): int -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.util.List.size(): int -> java.util.List.add(java.lang.Object): boolean -> java.lang.String.length(): int -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.length(): int -> java.util.List.size(): int -> java.lang.String.length(): int -> java.util.List.add(java.lang.Object): boolean -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.lang.String.length(): int -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.lang.String.length(): int -> java.util.List.size(): int -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.util.List.get(int): java.lang.Object -> java.util.List.get(int): java.lang.Object -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.util.List.size(): int -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.util.List.get(int): java.lang.Object -> java.util.List.get(int): java.lang.Object -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.lang.String.length(): int -> java.lang.String.substring(int,int): java.lang.String -> java.lang.String.length(): int -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.lang.String.length(): int -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.lang.String.length(): int -> java.lang.String.substring(int,int): java.lang.String -> java.util.List.iterator(): java.util.Iterator -> java.util.Iterator.hasNext(): boolean -> java.util.Iterator.next(): java.lang.Object -> java.util.Iterator.hasNext(): boolean -> java.lang.String.endsWith(java.lang.String): boolean -> java.lang.String.endsWith(java.lang.String): boolean -> java.lang.String.endsWith(java.lang.String): boolean -> java.lang.String.length(): int -> java.lang.String.length(): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.charAt(int): char -> java.lang.Character.isWhitespace(char): boolean -> java.lang.String.charAt(int): char -> java.lang.Character.isWhitespace(char): boolean -> java.util.List.add(java.lang.Object): boolean -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.length(): int -> java.util.List.add(java.lang.Object): boolean -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.codePointAt(int): int -> java.lang.String.length(): int -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.util.List.size(): int -> java.lang.Math.floor(double): double -> java.util.List.get(int): java.lang.Object -> java.util.function.Function.apply(java.lang.Object): java.lang.Object -> java.lang.Boolean.valueOf(boolean): java.lang.Boolean -> java.lang.Boolean.booleanValue(): boolean -> java.util.List.get(int): java.lang.Object -> java.util.List.size(): int -> java.lang.Math.floor(double): double -> java.util.List.get(int): java.lang.Object -> java.util.function.Function.apply(java.lang.Object): java.lang.Object -> java.lang.Boolean.valueOf(boolean): java.lang.Boolean -> java.lang.Boolean.booleanValue(): boolean -> java.lang.Math.floor(double): double -> java.util.List.get(int): java.lang.Object -> java.util.function.Function.apply(java.lang.Object): java.lang.Object -> java.lang.Boolean.valueOf(boolean): java.lang.Boolean -> java.lang.Boolean.booleanValue(): boolean -> java.util.List.get(int): java.lang.Object -> java.util.Collections.emptyList(): java.util.List -> java.util.List.size(): int -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object
 [CALL] [CALL] [EXIT] [CALL] [CALL] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] -> java.util.List.clear(): void -> java.lang.String.length(): int [CALL] [CALL] -> java.lang.String.length(): int -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char [EXIT] -> java.util.List.size(): int [CALL] [EXIT] -> java.util.List.add(java.lang.Object): boolean [CALL] -> java.lang.String.length(): int -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char [EXIT] -> java.util.List.size(): int [CALL] [EXIT] -> java.util.List.add(java.lang.Object): boolean [CALL] -> java.lang.String.length(): int -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char [EXIT] -> java.util.List.size(): int [CALL] [EXIT] -> java.util.List.add(java.lang.Object): boolean [CALL] -> java.lang.String.length(): int -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char [EXIT] -> java.util.List.size(): int [CALL] [EXIT] -> java.util.List.add(java.lang.Object): boolean [CALL] -> java.lang.String.length(): int -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char [EXIT] -> java.lang.String.length(): int -> java.util.List.size(): int -> java.lang.String.length(): int [CALL] [EXIT] -> java.util.List.add(java.lang.Object): boolean [EXIT] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.lang.String.length(): int [CALL] [EXIT] [EXIT] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] [CALL] [EXIT] -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.lang.String.length(): int [CALL] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [CALL] [CALL] [CALL] -> java.util.List.size(): int -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.util.List.get(int): java.lang.Object -> java.util.List.get(int): java.lang.Object [EXIT] [EXIT] -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object [CALL] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [CALL] [CALL] [CALL] -> java.util.List.size(): int -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.util.List.get(int): java.lang.Object -> java.util.List.get(int): java.lang.Object [EXIT] [EXIT] -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object [CALL] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.lang.String.length(): int [CALL] [EXIT] [EXIT] [CALL] [EXIT] -> java.lang.String.substring(int,int): java.lang.String [EXIT] -> java.lang.String.length(): int [CALL] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [CALL] [CALL] [EXIT] -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.lang.String.length(): int [CALL] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [CALL] [CALL] [EXIT] -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.lang.String.length(): int [CALL] [EXIT] [EXIT] [EXIT] [CALL] [EXIT] -> java.lang.String.substring(int,int): java.lang.String [CALL] [CALL] [CALL] [CALL] [EXIT] [EXIT] -> java.util.List.iterator(): java.util.Iterator -> java.util.Iterator.hasNext(): boolean -> java.util.Iterator.next(): java.lang.Object [CALL] [CALL] [EXIT] [EXIT] -> java.util.Iterator.hasNext(): boolean [EXIT] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [CALL] [CALL] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [CALL] [EXIT] [CALL] -> java.lang.String.endsWith(java.lang.String): boolean -> java.lang.String.endsWith(java.lang.String): boolean -> java.lang.String.endsWith(java.lang.String): boolean [EXIT] [CALL] [EXIT] [CALL] [CALL] [CALL] [CALL] -> java.lang.String.length(): int [EXIT] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] -> java.lang.String.length(): int [CALL] [EXIT] [CALL] [EXIT] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [EXIT] [EXIT] [CALL] [CALL] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [EXIT] [CALL] [EXIT] [CALL] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [EXIT] [CALL] [EXIT] [CALL] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [EXIT] [EXIT] [CALL] [EXIT] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] [EXIT] [CALL] [CALL] [CALL] [CALL] [EXIT] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] -> java.lang.String.charAt(int): char -> java.lang.Character.isWhitespace(char): boolean -> java.lang.String.charAt(int): char -> java.lang.Character.isWhitespace(char): boolean [EXIT] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] -> java.util.List.add(java.lang.Object): boolean [EXIT] [CALL] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [EXIT] [EXIT] [CALL] [EXIT] [CALL] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [EXIT] [CALL] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [EXIT] [CALL] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [CALL] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [EXIT] [EXIT] [CALL] [EXIT] [EXIT] [CALL] [EXIT] -> java.lang.String.length(): int [CALL] [CALL] [CALL] [CALL] [CALL] [EXIT] [EXIT] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] -> java.util.List.add(java.lang.Object): boolean [EXIT] [CALL] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [EXIT] [CALL] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [CALL] [EXIT] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [CALL] [EXIT] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [CALL] [EXIT] [CALL] -> java.lang.String.codePointAt(int): int [EXIT] [CALL] [EXIT] [CALL] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [EXIT] [EXIT] [CALL] [EXIT] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] [EXIT] [EXIT] [EXIT] -> java.lang.String.length(): int [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] -> java.util.List.size(): int [CALL] [CALL] [EXIT] -> java.util.List.get(int): java.lang.Object [EXIT] [CALL] [CALL] [EXIT] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] -> java.util.List.size(): int -> java.lang.Math.floor(double): double -> java.util.List.get(int): java.lang.Object -> java.util.function.Function.apply(java.lang.Object): java.lang.Object [CALL] -> java.lang.Boolean.valueOf(boolean): java.lang.Boolean [EXIT] -> java.lang.Boolean.booleanValue(): boolean [EXIT] -> java.util.List.get(int): java.lang.Object [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [CALL] -> java.util.List.size(): int -> java.lang.Math.floor(double): double -> java.util.List.get(int): java.lang.Object -> java.util.function.Function.apply(java.lang.Object): java.lang.Object [CALL] -> java.lang.Boolean.valueOf(boolean): java.lang.Boolean [EXIT] -> java.lang.Boolean.booleanValue(): boolean -> java.lang.Math.floor(double): double -> java.util.List.get(int): java.lang.Object -> java.util.function.Function.apply(java.lang.Object): java.lang.Object [CALL] -> java.lang.Boolean.valueOf(boolean): java.lang.Boolean [EXIT] -> java.lang.Boolean.booleanValue(): boolean [EXIT] -> java.util.List.get(int): java.lang.Object [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [EXIT] [CALL] [CALL] -> java.util.Collections.emptyList(): java.util.List [EXIT] [CALL] -> java.util.List.size(): int [EXIT] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [EXIT] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object [EXIT] [EXIT] [CALL] [EXIT] [EXIT]