Java 类org.eclipse.xtext.builder.clustering.ClusteringBuilderState 实例源码

项目:n4js    文件:N4JSClusteringBuilderConfiguration.java   
@Override
protected void configure() {
    bind(IResourceClusteringPolicy.class).to(N4JSVerboseClusteringPolicy.class);
    bind(XtextBuilder.class).to(N4JSBuildTypeTrackingBuilder.class);
    bind(ClusteringBuilderState.class).to(N4JSGenerateImmediatelyBuilderState.class);
    bind(IStorage2UriMapper.class).to(N4JSStorage2UriMapper.class);
    bind(PersistedStateProvider.class).to(ContributingResourceDescriptionPersister.class);
    bind(IBuildLogger.class).annotatedWith(BuilderState.class).to(BuilderStateLogger.class);
    bind(DirtyStateManager.class).to(PrevStateAwareDirtyStateManager.class);
}
项目:gama    文件:OverridingModule.java   
@Override
public void configure(final Binder binder) {
    super.configure(binder);
    binder.bind(IResourceLoader.class)
            .annotatedWith(Names.named(ClusteringBuilderState.RESOURCELOADER_GLOBAL_INDEX))
            .toProvider(ResourceLoaderProviders.getParallelLoader(8, 16));

    binder.bind(IResourceLoader.class)
            .annotatedWith(Names.named(ClusteringBuilderState.RESOURCELOADER_CROSS_LINKING))
            .toProvider(ResourceLoaderProviders.getParallelLoader(8, 16));
}