|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jdt.internal.eval.CodeSnippetEnvironment
public class CodeSnippetEnvironment
An environment that wraps the client's name environment. This wrapper always considers the wrapped environment then if the name is not found, it search in the code snippet support. This includes the super class org.eclipse.jdt.internal.eval.target.CodeSnippet as well as the global variable classes.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jdt.internal.eval.EvaluationConstants |
|---|
CODE_SNIPPET_CLASS_NAME_PREFIX, CODE_SNIPPET_NAME, DELEGATE_THIS, GLOBAL_VARS_CLASS_NAME_PREFIX, LOCAL_VAR_PREFIX, PACKAGE_NAME, RESULT_TYPE_FIELD, RESULT_VALUE_FIELD, ROOT_CLASS_NAME, ROOT_COMPOUND_NAME, ROOT_FULL_CLASS_NAME, RUN_METHOD, SETRESULT_ARGUMENTS, SETRESULT_SELECTOR |
| Constructor Summary | |
|---|---|
CodeSnippetEnvironment(INameEnvironment env,
EvaluationContext context)
Creates a new wrapper for the given environment. |
|
| Method Summary | |
|---|---|
void |
cleanup()
This method cleans the environment uo. |
NameEnvironmentAnswer |
findType(char[][] compoundTypeName)
Find a type with the given compound name. |
NameEnvironmentAnswer |
findType(char[] typeName,
char[][] packageName)
Find a type named |
boolean |
isPackage(char[][] parentPackageName,
char[] packageName)
Answer whether packageName is the name of a known subpackage inside the package parentPackageName. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CodeSnippetEnvironment(INameEnvironment env,
EvaluationContext context)
| Method Detail |
|---|
public NameEnvironmentAnswer findType(char[][] compoundTypeName)
INameEnvironment
findType in interface INameEnvironmentINameEnvironment.findType(char[][])
public NameEnvironmentAnswer findType(char[] typeName,
char[][] packageName)
INameEnvironment
findType in interface INameEnvironmentINameEnvironment.findType(char[], char[][])
public boolean isPackage(char[][] parentPackageName,
char[] packageName)
INameEnvironment
isPackage in interface INameEnvironmentINameEnvironment.isPackage(char[][], char[])public void cleanup()
INameEnvironment
cleanup in interface INameEnvironment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||