protected FindDefinitionResult doOperation(Path filePath, int offset) throws GenieCommandException {
try {
new FindDefinitionRequest().setArguments(filePath, offset).
writeRequest(new JsonWriterExt(serverInput));
return new FindDefinitionResultParser().read(new JsonReaderExt(serverOutput));
} catch (IOException e) {
throw assertFail();
}
}