Interface Comment

All Known Implementing Classes:
Javadoc.DocComment, TextComment

public interface Comment
  • Method Details

    • getMarkers

      org.openrewrite.marker.Markers getMarkers()
    • withMarkers

      <C extends Comment> C withMarkers(org.openrewrite.marker.Markers markers)
    • getSuffix

      String getSuffix()
    • withSuffix

      <C extends Comment> C withSuffix(String margin)
    • isMultiline

      boolean isMultiline()
    • printComment

      default String printComment(org.openrewrite.Cursor cursor)
    • printComment

      <P> void printComment(org.openrewrite.Cursor cursor, org.openrewrite.PrintOutputCapture<P> p)