Package org.openrewrite.java.tree
Interface Comment
- All Known Implementing Classes:
Javadoc.DocComment,TextComment
public interface Comment
-
Method Summary
Modifier and TypeMethodDescriptionorg.openrewrite.marker.Markersbooleandefault StringprintComment(org.openrewrite.Cursor cursor) <P> voidprintComment(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)
-