Class CompletionRequestorWrapper

java.lang.Object
org.aspectj.org.eclipse.jdt.core.CompletionRequestor
org.aspectj.org.eclipse.jdt.internal.codeassist.CompletionRequestorWrapper

public class CompletionRequestorWrapper extends CompletionRequestor
Deprecated.
This CompletionRequetor wrap the old requestor ICOmpletionRequestor
Since:
3.1
  • Constructor Details

    • CompletionRequestorWrapper

      public CompletionRequestorWrapper(ICompletionRequestor requestor)
      Deprecated.
  • Method Details

    • accept

      public void accept(CompletionProposal proposal)
      Deprecated.
      Description copied from class: CompletionRequestor
      Proposes a completion. Has no effect if the kind of proposal is being ignored by this requestor. Callers should consider checking CompletionRequestor.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:
      accept in class CompletionRequestor
      Parameters:
      proposal - the completion proposal
    • completionFailure

      public void completionFailure(IProblem problem)
      Deprecated.
      Description copied from class: CompletionRequestor
      Notification 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:
      completionFailure in class CompletionRequestor
      Parameters:
      problem - the problem object