public class LocalEditService extends java.lang.Object implements ServiceEdit
| Constructor and Description |
|---|
LocalEditService(LocalDartServer server) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatchEvent(JsonObject root) |
void |
dispose() |
EditFormatResult |
format(java.lang.String file,
int selectionOffset,
int selectionLength) |
EditGetAssistsResult |
getAssists(java.lang.String file,
int offset,
int length) |
EditGetAvailableRefactoringsResult |
getAvailableRefactorings(java.lang.String file,
int offset,
int length) |
EditGetFixesResult |
getFixes(java.lang.String file,
int offset) |
EditGetRefactoringResult |
getRefactoring(RefactoringKind kind,
java.lang.String file,
int offset,
int length,
int validateOnly,
RefactoringOptions options) |
EditSortMembersResult |
sortMembers(java.lang.String file) |
public LocalEditService(LocalDartServer server)
public void dispose()
public void dispatchEvent(JsonObject root)
public EditFormatResult format(java.lang.String file, int selectionOffset, int selectionLength)
format in interface ServiceEditpublic EditGetAssistsResult getAssists(java.lang.String file, int offset, int length)
getAssists in interface ServiceEditpublic EditGetAvailableRefactoringsResult getAvailableRefactorings(java.lang.String file, int offset, int length)
getAvailableRefactorings in interface ServiceEditpublic EditGetFixesResult getFixes(java.lang.String file, int offset)
getFixes in interface ServiceEditpublic EditGetRefactoringResult getRefactoring(RefactoringKind kind, java.lang.String file, int offset, int length, int validateOnly, RefactoringOptions options)
getRefactoring in interface ServiceEditpublic EditSortMembersResult sortMembers(java.lang.String file)
sortMembers in interface ServiceEdit