Home
last modified time | relevance | path

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

/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/src/main/java/com/github/javaparser/
DParseResult.java40 private final CommentsCollection commentsCollection; field in ParseResult
49 …(T result, List<Problem> problems, List<JavaToken> tokens, CommentsCollection commentsCollection) { in ParseResult() argument
50 this.commentsCollection = commentsCollection; in ParseResult()
100 return Optional.ofNullable(commentsCollection); in getCommentsCollection()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/
DCommentParsingSteps.java64 private CommentsCollection commentsCollection; field in CommentParsingSteps
78 commentsCollection = parseResult.getCommentsCollection().orElse(new CommentsCollection()); in givenTheClassWithEncoding()
84 commentsCollection = parseResult.getCommentsCollection().orElse(new CommentsCollection()); in whenTheClassIsParsedByTheCommentParser()
113 assertThat(commentsCollection.size(), is(expectedCount)); in thenTheTotalNumberOfCommentsIs()
128 …LineComment lineCommentUnderTest = getCommentAt(commentsCollection.getLineComments(), position - 1… in thenLineCommentIs()
135 …BlockComment lineCommentUnderTest = getCommentAt(commentsCollection.getBlockComments(), position -… in thenBlockCommentIs()
142 …JavadocComment commentUnderTest = getCommentAt(commentsCollection.getJavadocComments(), position -… in thenJavadocCommentIs()
152 … Comment lineCommentUnderTest = getCommentAt(commentsCollection.getLineComments(), index); in thenTheLineCommentsHaveTheFollowingPositions()
170 … Comment lineCommentUnderTest = getCommentAt(commentsCollection.getBlockComments(), index); in thenTheBlockCommentsHaveTheFollowingPositions()
188 … 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();
Djavaparser-core-2.1.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/github/ com/ ...
Djavaparser-core-3.0.0-alpha.2.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/github/ com/ ...
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_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/resources/javaparser_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);