@Override
    public CompletableFuture<Either3<Range, PrepareRenameResult, PrepareRenameDefaultBehavior>> prepareRename(PrepareRenameParams params) {

        return CompletableFutures.computeAsync((cancelChecker) -> {
            try {
                return SchemaPrepareRename.prepareRename(eventContextCreator.createContext(params));
            } catch(InvalidContextException ignore) {
                // Ignore
            }
            return null;
        });
	}
SchemaTextDocumentService handles incomming requests from the client.
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/SchemaTextDocumentService.java