public class ChainCallJoinLinesHandler extends java.lang.Object implements JoinLinesHandlerDelegate
sb.append(a);
sb.append(b);
=>
sb.append(a).append(b);
CANNOT_JOIN, EP_NAME| Constructor and Description |
|---|
ChainCallJoinLinesHandler() |
| Modifier and Type | Method and Description |
|---|---|
int |
tryJoinLines(Document document,
PsiFile psiFile,
int start,
int end)
Tries to join lines at the specified position of the specified file.
|
public int tryJoinLines(Document document, PsiFile psiFile, int start, int end)
JoinLinesHandlerDelegatetryJoinLines in interface JoinLinesHandlerDelegatedocument - where the lines arepsiFile - where the lines arestart - offset where the whitespace between lines startsend - offset where the whitespace between lines endsJoinLinesHandlerDelegate.CANNOT_JOIN if this handler was not able
to perform the operation.