Interface CommentsHelper

    • Field Detail

      • PARAMETER_COMMENT

        static final java.util.regex.Pattern PARAMETER_COMMENT
    • Method Detail

      • rewrite

        java.lang.String rewrite​(Input.Tok tok,
                                 int maxWidth,
                                 int column0)
        Try to rewrite comments, returning rewritten text.
        Parameters:
        tok - the comment's tok
        maxWidth - the line length for the output
        column0 - the current column
        Returns:
        the rewritten comment
      • reformatParameterComment

        static java.util.Optional<java.lang.String> reformatParameterComment​(Input.Tok tok)