Home
last modified time | relevance | path

Searched refs:findIndentation (Results 1 – 3 of 3) sorted by relevance

/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinterTest.java252 List<TokenTextElement> indentation = LexicalPreservingPrinter.findIndentation(node); in findIndentationForAnnotationMemberDeclarationWithoutComment()
260 List<TokenTextElement> indentation = LexicalPreservingPrinter.findIndentation(node); in findIndentationForAnnotationMemberDeclarationWithComment()
676 assertEquals(4, LexicalPreservingPrinter.findIndentation(setter).size()); in findIndentationOfEmptyMethod()
677 assertEquals(4, LexicalPreservingPrinter.findIndentation(setter.getBody().get()).size()); in findIndentationOfEmptyMethod()
686 assertEquals(4, LexicalPreservingPrinter.findIndentation(setter).size()); in findIndentationOfMethodWithStatements()
687 assertEquals(4, LexicalPreservingPrinter.findIndentation(setter.getBody().get()).size()); in findIndentationOfMethodWithStatements()
688 …assertEquals(8, LexicalPreservingPrinter.findIndentation(setter.getBody().get().getStatement(0)).s… in findIndentationOfMethodWithStatements()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinter.java473 List<TokenTextElement> indentation = findIndentation(node); in interpret()
538 static List<TokenTextElement> findIndentation(Node node) { in findIndentation() method in LexicalPreservingPrinter
DDifference.java49 this.indentation = LexicalPreservingPrinter.findIndentation(node); in Difference()