Package org.openrewrite.java.tree
Interface Comment
- All Known Implementing Classes:
Javadoc.DocComment
,TextComment
public interface Comment
-
Method Summary
Modifier and TypeMethodDescriptionorg.openrewrite.marker.Markers
boolean
default String
printComment
(org.openrewrite.Cursor cursor) <P> void
printComment
(org.openrewrite.Cursor cursor, org.openrewrite.PrintOutputCapture<P> p) <C extends Comment>
CwithMarkers
(org.openrewrite.marker.Markers markers) <C extends Comment>
CwithSuffix
(String margin)
-
Method Details
-
getMarkers
org.openrewrite.marker.Markers getMarkers() -
withMarkers
-
getSuffix
String getSuffix() -
withSuffix
-
isMultiline
boolean isMultiline() -
printComment
-
printComment
<P> void printComment(org.openrewrite.Cursor cursor, org.openrewrite.PrintOutputCapture<P> p)
-