package com . google . googlejavaformat ;

/**
* Rewrite comments. This interface is implemented by
* {@link com.google.googlejavaformat.java.JavaCommentsHelper JavaCommentsHelper}.
*/
public interface CommentsHelper {
  /**
   * Try to rewrite comments, returning rewritten text.
   * @param text0 the literal comment text to rewrite
   * @param maxWidth the line length for the output
   * @param column0 the current column
   * @return the rewritten comment
   */
  String rewrite ( String text0 , int maxWidth , int column0 ) ;
}
