jmlparser-parent
Toggle table of contents
3.28.2-J8.0-K13.5-SNAPSHOT
java
Target filter
java
Switch theme
Search in API
Skip to content
jmlparser-parent
jmlparser-core
/
com.github.javaparser.ast.comments
/
CommentsCollection
Comments
Collection
open
class
CommentsCollection
(
source
)
The comments contained in a certain parsed piece of source code.
Members
Constructors
Comments
Collection
Link copied to clipboard
constructor
(
)
constructor
(
commentsToCopy
:
Collection
<
Comment
>
)
Properties
comments
Link copied to clipboard
val
comments
:
TreeSet
<
Comment
>
Functions
add
Comment
Link copied to clipboard
open
fun
addComment
(
comment
:
Comment
)
contains
Link copied to clipboard
open
fun
contains
(
comment
:
Comment
)
:
Boolean
copy
Link copied to clipboard
open
fun
copy
(
)
:
CommentsCollection
get
Block
Comments
Link copied to clipboard
open
fun
getBlockComments
(
)
:
Set
<
BlockComment
>
get
Javadoc
Comments
Link copied to clipboard
open
fun
getJavadocComments
(
)
:
Set
<
JavadocComment
>
get
Line
Comments
Link copied to clipboard
open
fun
getLineComments
(
)
:
Set
<
LineComment
>
minus
Link copied to clipboard
open
fun
minus
(
other
:
CommentsCollection
)
:
CommentsCollection
size
Link copied to clipboard
open
fun
size
(
)
:
Int