Uses of Class
com.github.javaparser.ast.comments.Comment
Packages that use Comment
Package
Description
-
Uses of Comment in com.github.javaparser
Methods in com.github.javaparser that return CommentModifier and TypeMethodDescription(package private) static CommentGeneratedJavaParserTokenManagerBase.createCommentFromToken(Token token) Since comments are completely captured in a single token, including their delimiters, deconstruct them here so we can turn them into nodes later on.Methods in com.github.javaparser with parameters of type CommentModifier and TypeMethodDescriptionprivate booleanCommentsInserter.commentIsOnNextLine(Node a, Comment c) Method parameters in com.github.javaparser with type arguments of type CommentModifier and TypeMethodDescriptionprivate voidCommentsInserter.attributeLineCommentsOnSameLine(TreeSet<Comment> commentsToAttribute, List<Node> children) private voidCommentsInserter.insertComments(CompilationUnit cu, TreeSet<Comment> comments) Comments are attributed to the thing they comment and are removed from the comments.(package private) voidCommentsInserter.insertComments(Node node, TreeSet<Comment> commentsToAttribute) This method try to attributes the nodes received to child of the node. -
Uses of Comment in com.github.javaparser.ast
Fields in com.github.javaparser.ast declared as CommentFields in com.github.javaparser.ast with type parameters of type CommentMethods in com.github.javaparser.ast that return types with arguments of type CommentModifier and TypeMethodDescriptionCompilationUnit.getAllComments()Return a list containing all comments declared in this compilation unit.Node.getAllContainedComments()This is the list of Comment which are contained in the Node either because they are properly associated to one of its children or because they are floating around inside the Node