Skip to content

I20190519-1800

@rgrunber rgrunber tagged this 17 May 18:18
- Code was initially chain completion functionality from
  org.eclipse.recommenders.chain.rcp

- Change class package from recommenders -> jdt
- Remove unnecessary testing libraries
- Use null checks instead of com.google.common.base.Optional
- Use nested Map instead of Table
- Use String.indexOf and String.substring instead of StringUtils
- Use java.util.function.Predicate instead of Guava Predicate filters
- Use java.util.Arrays instead of Guava Sets
- Use Map<String, Integer> instead of Guava Multiset

- Hook preferences into JDT
- IRecommendersCompletionContext -> JavaContentAssistInvocationContext
- Use ExecutorService/Future instead of SimpleTimeLimiter
- Add completionProposal extension to plugin.xml of JDT UI
- Call codeComplete(..) on compilation unit to get extended context info

- o.e.jdt.internal.compiler.lookup.Binding -> o.e.jdt.core.dom.IBinding
- o.e.jdt.internal.compiler.ast.ASTNode -> o.e.jdt.core.dom.ASTNode

- Add tests for Chain Completion

Change-Id: Ia68c1ea015b6793327e2aea545696c8f8b068f4a
Assets 2
Loading