public class AssignmentSequenceJoinLinesHandler extends java.lang.Object implements JoinLinesHandlerDelegate
x = ...;
x = x.a().b().c();
=>
x = (...).a().b().c();
CANNOT_JOIN, EP_NAME
Constructor and Description |
---|
AssignmentSequenceJoinLinesHandler() |
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)
JoinLinesHandlerDelegate
tryJoinLines
in interface JoinLinesHandlerDelegate
document
- 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.