Interface CommentProcessorFactory.IReplaceWithProcessor

Enclosing class:
CommentProcessorFactory

public static interface CommentProcessorFactory.IReplaceWithProcessor
Interface for processors that replace a single word with an expression defined in a comment.
Since:
1.0.8
Version:
${version}
Author:
Joseph Verron, Tom Hombergs
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    replaceWordWith(String expression)
    May be called to replace a single word inside a paragraph with an expression defined in a comment.
  • Method Details

    • replaceWordWith

      void replaceWordWith(@Nullable String expression)
      May be called to replace a single word inside a paragraph with an expression defined in a comment. The comment must be applied to a single word for the replacement to take effect!
      Parameters:
      expression - the expression to replace the text with