/** * Returns the context factory setting an execution pool. Actually this is a dirty hack... */ public DelegatingContentAssistContextFactory.StatefulFactory getContextFactory() { // TODO IDE-2446: Suggested improvement of the following situation // kept the original comment for easy spotting // TODO hack. I have no clue why this is needed and how pool should be set. ExecutorService pool = Executors.newFixedThreadPool(3); contentAssistContextFactory.setPool(pool); return contentAssistContextFactory; }
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() { return DelegatingContentAssistContextFactory.class; }