- getCompilationUnit
Returns the compilation unit that content assist is invoked in, null if there is
none.
- getCoreContext
Returns the CompletionContext if available, null otherwise.Note: This method may run
ICodeAssist#cod
- getInvocationOffset
- getProject
Returns the project of the compilation unit that content assist is invoked in,
null if none.
- getDocument
- getLabelProvider
Returns a label provider that can be used to compute proposal labels.
- getViewer
- <init>
Creates a new context.
- getExpectedType
Returns the expected type if any, null otherwise.Note: This method may run
ICodeAssist#codeComplete(
- computeKeywordsAndContext
Fallback to retrieve a core context and keyword proposals when no collector is
available. Runs code
- getHistoryRelevance
Returns an float in [0.0, 1.0] based on whether the type has been recently used
as a right hand side
- getKeywordProposals
Returns the keyword proposals that are available in this context, possibly none.Note: This method ma