org_eclipse_lemminx_extensions_contentmodel_XMLSchemaHoverDocumentationTypeTest_java
com.overzealous.remark.convert.TextCleaner
private String getTextNodeText(TextNode tn, boolean normalText) {
        TextNode tprev;
        String input = normalText ? tn.text() : tn.getWholeText();
        Node prev = tn.previousSibling();
        Node next = tn.nextSibling();
        boolean parentIsBlock = this.isBlock(tn.parent());
        if (this.isBlock(prev)) {
            input = this.ltrim(input);
        } else if (prev == null && parentIsBlock) {
            input = this.ltrim(input);
        } else if (normalText && prev instanceof TextNode && EMPTY_MATCHER.matcher((tprev = (TextNode)prev).text()).matches()) {
            input = this.ltrim(input);
        }
        if (input.length() > 0) {
            TextNode tnext;
            if (this.isBlock(next)) {
                input = this.rtrim(input);
            } else if (next == null && parentIsBlock) {
                input = this.rtrim(input);
            } else if (normalText && next instanceof TextNode && EMPTY_MATCHER.matcher((tnext = (TextNode)next).text()).matches()) {
                input = this.rtrim(input);
            }
        }
        return input;
    }
 -> java.lang.String.equals(java.lang.Object): boolean -> java.lang.ThreadLocal.get(): java.lang.Object -> java.util.Stack.empty(): boolean -> java.util.Stack.pop(): java.lang.Object -> java.lang.String.length(): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.append(char): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.append(char): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.StringBuilder.toString(): java.lang.String -> java.lang.StringBuilder.length(): int -> java.lang.StringBuilder.length(): int -> java.lang.StringBuilder.delete(int,int): java.lang.StringBuilder -> java.lang.ThreadLocal.get(): java.lang.Object -> java.util.Stack.push(java.lang.Object): java.lang.Object -> java.util.Stack.size(): int -> java.util.List.size(): int -> java.lang.String.length(): int -> java.lang.String.substring(int,int): java.lang.String -> java.util.regex.Pattern.matcher(java.lang.CharSequence): java.util.regex.Matcher -> java.util.regex.Matcher.matches(): boolean -> java.lang.String.length(): int -> java.lang.String.substring(int): java.lang.String -> java.lang.String.length(): int -> java.lang.String.length(): int -> java.lang.String.substring(int,int): java.lang.String -> java.util.regex.Pattern.matcher(java.lang.CharSequence): java.util.regex.Matcher -> java.util.regex.Matcher.matches(): boolean -> java.lang.String.substring(int,int): java.lang.String
 [CALL] [CALL] [CALL] [CALL] [CALL] [EXIT] [CALL] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] -> java.lang.String.equals(java.lang.Object): boolean [EXIT] [EXIT] [EXIT] [EXIT] [CALL] [CALL] -> java.lang.ThreadLocal.get(): java.lang.Object -> java.util.Stack.empty(): boolean -> java.util.Stack.pop(): java.lang.Object [EXIT] [CALL] -> java.lang.String.length(): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] -> java.lang.StringBuilder.append(char): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] -> java.lang.StringBuilder.append(char): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int -> java.lang.String.codePointAt(int): int [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.appendCodePoint(int): java.lang.StringBuilder -> java.lang.Character.charCount(int): int [EXIT] [CALL] [CALL] [EXIT] -> java.lang.StringBuilder.toString(): java.lang.String -> java.lang.StringBuilder.length(): int -> java.lang.StringBuilder.length(): int -> java.lang.StringBuilder.delete(int,int): java.lang.StringBuilder -> java.lang.ThreadLocal.get(): java.lang.Object -> java.util.Stack.push(java.lang.Object): java.lang.Object -> java.util.Stack.size(): int [EXIT] [EXIT] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] -> java.util.List.size(): int [EXIT] [CALL] [EXIT] [CALL] [CALL] [CALL] [EXIT] [EXIT] [EXIT] [CALL] [EXIT] [CALL] -> java.lang.String.length(): int -> java.lang.String.substring(int,int): java.lang.String -> java.util.regex.Pattern.matcher(java.lang.CharSequence): java.util.regex.Matcher -> java.util.regex.Matcher.matches(): boolean -> java.lang.String.length(): int -> java.lang.String.substring(int): java.lang.String [EXIT] -> java.lang.String.length(): int [CALL] [EXIT] [CALL] -> java.lang.String.length(): int -> java.lang.String.substring(int,int): java.lang.String -> java.util.regex.Pattern.matcher(java.lang.CharSequence): java.util.regex.Matcher -> java.util.regex.Matcher.matches(): boolean -> java.lang.String.substring(int,int): java.lang.String [EXIT] [EXIT]