public class MultilineCommentReplacer extends CommentReplacer
GET_REGION
Constructor and Description |
---|
MultilineCommentReplacer(IComment comment,
char prefix) |
Modifier and Type | Method and Description |
---|---|
void |
configureWhitespace(WhitespaceReplacer leading,
WhitespaceReplacer trailing) |
ITextReplacerContext |
createReplacements(ITextReplacerContext context) |
protected void |
enforceNewLine(WhitespaceReplacer replacer) |
protected void |
enforceSingleSpace(WhitespaceReplacer replacer) |
protected int |
prefixOffset(java.lang.String string) |
getComment, getRegion
public MultilineCommentReplacer(IComment comment, char prefix)
public void configureWhitespace(WhitespaceReplacer leading, WhitespaceReplacer trailing)
configureWhitespace
in class CommentReplacer
public ITextReplacerContext createReplacements(ITextReplacerContext context)
protected void enforceNewLine(WhitespaceReplacer replacer)
protected void enforceSingleSpace(WhitespaceReplacer replacer)
protected int prefixOffset(java.lang.String string)