Class CompletionRequestorWrapper
java.lang.Object
org.aspectj.org.eclipse.jdt.core.CompletionRequestor
org.aspectj.org.eclipse.jdt.internal.codeassist.CompletionRequestorWrapper
Deprecated.
This CompletionRequetor wrap the old requestor ICOmpletionRequestor
- Since:
- 3.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(CompletionProposal proposal) Deprecated.Proposes a completion.voidcompletionFailure(IProblem problem) Deprecated.Notification of failure to produce any completions.Methods inherited from class CompletionRequestor
acceptContext, beginReporting, endReporting, getFavoriteReferences, isAllowingRequiredProposals, isExtendedContextRequired, isIgnored, isIgnored, isTestCodeExcluded, setAllowsRequiredProposals, setFavoriteReferences, setIgnored, setRequireExtendedContextModifier and TypeMethodDescriptionvoidacceptContext(CompletionContext context) Propose the context in which the completion occurs.voidPro forma notification sent before reporting a batch of completion proposals.voidPro forma notification sent after reporting a batch of completion proposals.String[]Returns the favorite references which are used to compute some completion proposals.booleanisAllowingRequiredProposals(int proposalKind, int requiredProposalKind) Returns whether a proposal of a given kind with a required proposal of the given kind is allowed.booleanReturns whether this requestor requires an extended context.booleanisIgnored(char[] fullTypeName) Returns whether the given type proposal is ignored.booleanisIgnored(int completionProposalKind) Returns whether the given kind of completion proposal is ignored.booleanIf this returns true, exclude test sources and dependencies.voidsetAllowsRequiredProposals(int proposalKind, int requiredProposalKind, boolean allow) Sets whether a proposal of a given kind with a required proposal of the given kind is allowed.voidsetFavoriteReferences(String[] favoriteImports) Set the favorite references which will be used to compute some completion proposals.voidsetIgnored(int completionProposalKind, boolean ignore) Sets whether the given kind of completion proposal is ignored.voidsetRequireExtendedContext(boolean require) Sets whether this requestor requires an extended context.
-
Constructor Details
-
CompletionRequestorWrapper
Deprecated.
-
-
Method Details
-
accept
Deprecated.Description copied from class:CompletionRequestorProposes a completion. Has no effect if the kind of proposal is being ignored by this requestor. Callers should consider checkingCompletionRequestor.isIgnored(int)before avoid creating proposal objects that would only be ignored.Similarly, implementers should check
isIgnored(proposal.getKind())and ignore proposals that have been declared as uninteresting. The proposal object passed is only valid for the duration of completion operation.- Specified by:
acceptin classCompletionRequestor- Parameters:
proposal- the completion proposal
-
completionFailure
Deprecated.Description copied from class:CompletionRequestorNotification of failure to produce any completions. The problem object explains what prevented completing.The default implementation of this method does nothing. Clients may override to receive this kind of notice.
- Overrides:
completionFailurein classCompletionRequestor- Parameters:
problem- the problem object
-