Package org.openrewrite.java.tree
Class TextComment
java.lang.Object
org.openrewrite.java.tree.TextComment
- All Implemented Interfaces:
Comment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P> void
printComment
(org.openrewrite.Cursor cursor, org.openrewrite.PrintOutputCapture<P> p) withSuffix
(String suffix) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openrewrite.java.tree.Comment
getMarkers, getSuffix, isMultiline, printComment, withMarkers
-
Constructor Details
-
TextComment
public TextComment()
-
-
Method Details
-
withText
-
withSuffix
- Specified by:
withSuffix
in interfaceComment
-
printComment
public <P> void printComment(org.openrewrite.Cursor cursor, org.openrewrite.PrintOutputCapture<P> p) - Specified by:
printComment
in interfaceComment
-