Performs a code completion at the given position in the given code snippet, reporting results to the given completion requestor.
Note that code completion does not involve evaluation.
@param codeSnippet the code snippet to complete in
@param position the character position in the code snippet to complete at,or -1 indicating the beginning of the snippet
@param requestor the code completion requestor capable of accepting allpossible types of completions
@exception JavaModelException if code completion could not be performed. Reasons include:
- The position specified is less than -1 or is greater than the snippet's length (INDEX_OUT_OF_BOUNDS)
@since 2.0
@deprecated Use {@link #codeComplete(String,int,CompletionRequestor)} instead.