Class CommentImpl
- java.lang.Object
-
- org.sonar.iac.common.api.tree.impl.CommentImpl
-
- All Implemented Interfaces:
Comment,HasTextRange
public class CommentImpl extends Object implements Comment
-
-
Constructor Summary
Constructors Constructor Description CommentImpl(String value, String contentText, org.sonar.api.batch.fs.TextRange textRange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcontentText()org.sonar.api.batch.fs.TextRangetextRange()Stringvalue()
-
-
-
Method Detail
-
contentText
public String contentText()
- Specified by:
contentTextin interfaceComment
-
textRange
public org.sonar.api.batch.fs.TextRange textRange()
- Specified by:
textRangein interfaceHasTextRange
-
-