Searched refs:findCompilationUnit (Results 1 – 5 of 5) sorted by relevance
97 String result = LexicalPreservingPrinter.print(cu.findCompilationUnit().get()); in removingDuplicateJavaDocComment()138 String result = LexicalPreservingPrinter.print(cu.findCompilationUnit().get()); in replacingDuplicateJavaDocComment()183 String result = LexicalPreservingPrinter.print(cu.findCompilationUnit().get()); in removingDuplicateComment()239 String result = LexicalPreservingPrinter.print(cu.findCompilationUnit().get()); in removingModifiersWithExistingAnnotations()273 String result = LexicalPreservingPrinter.print(cu.findCompilationUnit().get()); in replacingModifiersWithExistingAnnotations()337 String result = LexicalPreservingPrinter.print(cu.findCompilationUnit().get()); in addingToExistingAnnotations()358 String result = LexicalPreservingPrinter.print(cu.findCompilationUnit().get()); in addingAnnotationsNoModifiers()379 String result = LexicalPreservingPrinter.print(cu.findCompilationUnit().get()); in replacingAnnotations()409 String result = LexicalPreservingPrinter.print(cu.findCompilationUnit().get()); in removingAnnotations()430 String result = LexicalPreservingPrinter.print(cu.findCompilationUnit().get()); in removingAnnotationsWithSpaces()[all …]
322 assertTrue(comment.findCompilationUnit().isPresent()); in findCompilationUnitOfCommentNode()337 assertTrue(comment.findCompilationUnit().isPresent()); in findCompilationUnitOfOrphanCommentNode()366 void findCompilationUnit() { in findCompilationUnit() method in NodeTest369 assertEquals(cu, x.findCompilationUnit().get()); in findCompilationUnit()382 assertFalse(x.findCompilationUnit().isPresent()); in cantFindCompilationUnit()
32 …assertEquals("JavaParserTypeSolver.java", wrappedNode.findCompilationUnit().get().getStorage().get… in containsLocationInStorage()
202 …return findCompilationUnit().map(cu -> cu.getPackageDeclaration().map(pd -> pd.getNameAsString()).… in getFullyQualifiedName()
702 public Optional<CompilationUnit> findCompilationUnit() { in findCompilationUnit() method in Node711 return findCompilationUnit().map(cu -> { in getSymbolResolver()