Example usage for Java org.eclipse.jdt.core.eval IEvaluationContext fields, constructors, methods, implement or subclass
The text is from its open source code.
void | codeComplete(String codeSnippet, int position, ICompletionRequestor requestor) Performs a code completion at the given position in the given code snippet, reporting results to the given completion requestor. |
void | codeComplete(String codeSnippet, int position, CompletionRequestor requestor) Performs a code completion at the given position in the given code snippet, reporting results to the given completion requestor. |
void | codeComplete(String codeSnippet, int position, org.eclipse.jdt.core.ICodeCompletionRequestor requestor) Performs a code completion at the given position in the given code snippet, reporting results to the given completion requestor. |
void | setImports(String[] imports) Sets the import declarations for this evaluation context. |
void | setPackageName(String packageName) Sets the dot-separated name of the package in which code snippets are to be compiled and run. |