Home
last modified time | relevance | path

Searched refs:commentsCollection (Results 1 – 10 of 10) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DParseResult.java39 private final CommentsCollection commentsCollection; field in ParseResult
47 public ParseResult(T result, List<Problem> problems, CommentsCollection commentsCollection) { in ParseResult() argument
48 this.commentsCollection = commentsCollection; in ParseResult()
87 return Optional.ofNullable(commentsCollection); in getCommentsCollection()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/
DParseResult.java20 private final Optional<CommentsCollection> commentsCollection; field in ParseResult
28 …Problem> problems, Optional<List<Token>> tokens, Optional<CommentsCollection> commentsCollection) { in ParseResult() argument
29 this.commentsCollection = assertNotNull(commentsCollection); in ParseResult()
67 return commentsCollection; in getCommentsCollection()
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/
DCommentParsingSteps.java61 private CommentsCollection commentsCollection; field in CommentParsingSteps
79 commentsCollection = parseResult.getCommentsCollection().orElse(new CommentsCollection()); in givenTheClassWithEncoding()
85 commentsCollection = parseResult.getCommentsCollection().orElse(new CommentsCollection()); in whenTheClassIsParsedByTheCommentParser()
114 assertThat(commentsCollection.size(), is(expectedCount)); in thenTheTotalNumberOfCommentsIs()
129 …LineComment lineCommentUnderTest = getCommentAt(commentsCollection.getLineComments(), position - 1… in thenLineCommentIs()
136 …BlockComment lineCommentUnderTest = getCommentAt(commentsCollection.getBlockComments(), position -… in thenBlockCommentIs()
143 …JavadocComment commentUnderTest = getCommentAt(commentsCollection.getJavadocComments(), position -… in thenJavadocCommentIs()
153 … Comment lineCommentUnderTest = getCommentAt(commentsCollection.getLineComments(), index); in thenTheLineCommentsHaveTheFollowingPositions()
171 … Comment lineCommentUnderTest = getCommentAt(commentsCollection.getBlockComments(), index); in thenTheBlockCommentsHaveTheFollowingPositions()
189 … Comment lineCommentUnderTest = getCommentAt(commentsCollection.getJavadocComments(), index); in thenTheJavadocCommentsHaveTheFollowingPositions()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/
DJavaParser.java304 … private static void insertCommentsInCu(CompilationUnit cu, CommentsCollection commentsCollection){ in insertCommentsInCu() argument
305 if (commentsCollection.size()==0) return; in insertCommentsInCu()
312 List<Comment> comments = commentsCollection.getAll(); in insertCommentsInCu()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/
DElementOfList.java.txt14 List<Comment> comments = commentsCollection.getAll();
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ParseResult.txt1 Line 29) assertNotNull(commentsCollection) ==> com.github.javaparser.utils.Utils.assertNotNull(T)
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_JavaParser.txt74 Line 305) commentsCollection.size() == 0 ==> boolean
75 …Line 312) List<Comment> comments = commentsCollection.getAll() ==> java.util.List<com.github.javap…
76 …Line 312) commentsCollection.getAll() ==> java.util.List<com.github.javaparser.ast.comments.Commen…
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DASTParserTokenManager.java33 private CommentsCollection commentsCollection = new CommentsCollection(); field in ASTParserTokenManager
40 return commentsCollection; in getCommentsCollection()
51 commentsCollection.addComment(comment); in CommonTokenAction()
54 commentsCollection.addComment(comment); in CommonTokenAction()
63 commentsCollection.addComment(comment); in CommonTokenAction()
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
DGeneratedJavaParserTokenManager.java48 private CommentsCollection commentsCollection = new CommentsCollection(); field in GeneratedJavaParserTokenManager
55 commentsCollection = new CommentsCollection(); in reset()
67 return commentsCollection; in getCommentsCollection()
102 commentsCollection.addComment(comment); in CommonTokenAction()
/external/javaparser/javaparser-core/src/main/javacc/
Djava.jj108 private CommentsCollection commentsCollection = new CommentsCollection();
115 commentsCollection = new CommentsCollection();
127 return commentsCollection;
162 commentsCollection.addComment(comment);