Java 类org.eclipse.xtext.ide.server.rename.IRenameService 实例源码

项目:xtext-core    文件:LanguageServerImpl.java   
@Override
public CompletableFuture<WorkspaceEdit> rename(final RenameParams params) {
  final Function1<CancelIndicator, WorkspaceEdit> _function = (CancelIndicator cancelIndicator) -> {
    WorkspaceEdit _xblockexpression = null;
    {
      final URI uri = this._uriExtensions.toUri(params.getTextDocument().getUri());
      final IResourceServiceProvider resourceServiceProvider = this.languagesRegistry.getResourceServiceProvider(uri);
      IRenameService _get = null;
      if (resourceServiceProvider!=null) {
        _get=resourceServiceProvider.<IRenameService>get(IRenameService.class);
      }
      final IRenameService renameService = _get;
      if ((renameService == null)) {
        return new WorkspaceEdit();
      }
      _xblockexpression = renameService.rename(this.workspaceManager, params, cancelIndicator);
    }
    return _xblockexpression;
  };
  return this.requestManager.<WorkspaceEdit>runRead(_function);
}
项目:bromium    文件:AbstractBromiumIdeModule.java   
public Class<? extends IRenameService> bindIRenameService() {
    return RenameService.class;
}
项目:xtext-extras    文件:AbstractPureXbaseIdeModule.java   
public Class<? extends IRenameService> bindIRenameService() {
    return RenameService.class;
}
项目:xtext-core    文件:AbstractIndentationAwareUiTestLanguageIdeModule.java   
public Class<? extends IRenameService> bindIRenameService() {
    return RenameService.class;
}
项目:xtext-core    文件:AbstractPartialSerializationTestLanguageIdeModule.java   
public Class<? extends IRenameService> bindIRenameService() {
    return RenameService.class;
}
项目:xtext-core    文件:AbstractPartialContentAssistTestLanguageIdeModule.java   
public Class<? extends IRenameService> bindIRenameService() {
    return RenameService.class;
}
项目:xtext-core    文件:AbstractTestLanguageIdeModule.java   
public Class<? extends IRenameService> bindIRenameService() {
    return RenameService.class;
}
项目:xtext-core    文件:AbstractXtextIdeModule.java   
public Class<? extends IRenameService> bindIRenameService() {
    return RenameService.class;
}
项目:xtext-core    文件:AbstractFileAwareTestLanguageIdeModule.java   
public Class<? extends IRenameService> bindIRenameService() {
    return RenameService.class;
}
项目:xtext-core    文件:AbstractXtextGrammarTestLanguageIdeModule.java   
public Class<? extends IRenameService> bindIRenameService() {
    return RenameService.class;
}
项目:xtext-core    文件:AbstractNoJdtTestLanguageIdeModule.java   
public Class<? extends IRenameService> bindIRenameService() {
    return RenameService.class;
}