org.eclipse.jdt.core
Class CompletionContext
java.lang.Object
org.eclipse.jdt.internal.codeassist.InternalCompletionContext
org.eclipse.jdt.core.CompletionContext
- public final class CompletionContext
- extends org.eclipse.jdt.internal.codeassist.InternalCompletionContext
Completion context.
Represent the context in which the completion occurs.
- Since:
- 3.1
- See Also:
CompletionRequestor.acceptContext(CompletionContext)
Fields inherited from class org.eclipse.jdt.internal.codeassist.InternalCompletionContext |
expectedTypesKeys, expectedTypesSignatures |
Method Summary |
char[][] |
getExpectedTypesKeys()
Return keys of expected types of a potential completion proposal at the completion position.
|
char[][] |
getExpectedTypesSignatures()
Return signatures of expected types of a potential completion proposal at the completion position.
|
Methods inherited from class org.eclipse.jdt.internal.codeassist.InternalCompletionContext |
setExpectedTypesKeys, setExpectedTypesSignatures |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompletionContext
public CompletionContext()
getExpectedTypesSignatures
public char[][] getExpectedTypesSignatures()
- Return signatures of expected types of a potential completion proposal at the completion position.
It's not mandatory to a completion proposal to respect this expectation.
- Returns:
- signatures expected types of a potential completion proposal at the completion position or
null
if there is no expected types. - See Also:
Signature
getExpectedTypesKeys
public char[][] getExpectedTypesKeys()
- Return keys of expected types of a potential completion proposal at the completion position.
It's not mandatory to a completion proposal to respect this expectation.
- Returns:
- keys of expected types of a potential completion proposal at the completion position or
null
if there is no expected types. - See Also:
ASTParser.createASTs(ICompilationUnit[], String[], org.eclipse.jdt.core.dom.ASTRequestor, org.eclipse.core.runtime.IProgressMonitor)
Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.