Interface SourceExcerptProvider.ExcerptFormatter

  • Enclosing interface:
    SourceExcerptProvider

    public static interface SourceExcerptProvider.ExcerptFormatter
    A excerpt formatter is responsible of formatting source excerpts.
    • Method Detail

      • formatLine

        java.lang.String formatLine​(java.lang.String line,
                                    int lineNumber)
        Format a line excerpt.
      • formatRegion

        java.lang.String formatRegion​(@Nullable
                                      Region region)
        Format a region excerpt.