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)
Creates the real replacements for this region.
|
protected void |
enforceNewLine(WhitespaceReplacer replacer) |
protected void |
enforceSingleSpace(WhitespaceReplacer replacer) |
protected int |
prefixOffset(java.lang.String string) |
getComment, getRegionpublic MultilineCommentReplacer(IComment comment, char prefix)
public void configureWhitespace(WhitespaceReplacer leading, WhitespaceReplacer trailing)
configureWhitespace in class CommentReplacerpublic ITextReplacerContext createReplacements(ITextReplacerContext context)
ITextReplacerprotected void enforceNewLine(WhitespaceReplacer replacer)
protected void enforceSingleSpace(WhitespaceReplacer replacer)
protected int prefixOffset(java.lang.String string)