public interface JComment extends JElement
Encapsulates comment associated with a package, class, method, and so on. Although they are often declared in the same place (code comments) JComment is a distinct entity from JAnnotation.
Modifier and Type | Method and Description |
---|---|
JSourcePosition |
getSourcePosition()
Returns the location of this comment in the source, or null if it
is unknown.
|
String |
getText()
Returns the text of this comment.
|
accept, getArtifact, getParent, getQualifiedName, getSimpleName, toString
String getText()
JSourcePosition getSourcePosition()
getSourcePosition
in interface JElement
Copyright © 2010 - 2020 Adobe. All Rights Reserved