public class JavadocCopyPastePreProcessor extends java.lang.Object implements CopyPastePreProcessor
EP_NAME
Constructor and Description |
---|
JavadocCopyPastePreProcessor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
preprocessOnCopy(PsiFile file,
int[] startOffsets,
int[] endOffsets,
java.lang.String text)
If not-null value is returned by this method, it will replace copied text.
|
java.lang.String |
preprocessOnPaste(Project project,
PsiFile file,
Editor editor,
java.lang.String text,
RawText rawText)
Replaces pasted text.
|
public java.lang.String preprocessOnCopy(PsiFile file, int[] startOffsets, int[] endOffsets, java.lang.String text)
CopyPastePreProcessor
preprocessOnCopy
in interface CopyPastePreProcessor
public java.lang.String preprocessOnPaste(Project project, PsiFile file, Editor editor, java.lang.String text, RawText rawText)
CopyPastePreProcessor
text
value should be returned if no processing is required.preprocessOnPaste
in interface CopyPastePreProcessor