public class CodeFragmentFactoryContextWrapper extends CodeFragmentFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEBUG_LABEL_SUFFIX |
static Key<com.sun.jdi.Value> |
LABEL_VARIABLE_VALUE_KEY |
EXTENSION_POINT_NAME
Constructor and Description |
---|
CodeFragmentFactoryContextWrapper(CodeFragmentFactory delegate) |
Modifier and Type | Method and Description |
---|---|
JavaCodeFragment |
createCodeFragment(TextWithImports item,
PsiElement context,
Project project) |
JavaCodeFragment |
createPresentationCodeFragment(TextWithImports item,
PsiElement context,
Project project) |
EvaluatorBuilder |
getEvaluatorBuilder()
In case if createCodeFragment returns java code use
com.intellij.debugger.engine.evaluation.expression.EvaluatorBuilderImpl#getInstance()
|
LanguageFileType |
getFileType() |
boolean |
isContextAccepted(PsiElement contextElement) |
public static final Key<com.sun.jdi.Value> LABEL_VARIABLE_VALUE_KEY
public static final java.lang.String DEBUG_LABEL_SUFFIX
public CodeFragmentFactoryContextWrapper(CodeFragmentFactory delegate)
public JavaCodeFragment createCodeFragment(TextWithImports item, PsiElement context, Project project)
createCodeFragment
in class CodeFragmentFactory
public JavaCodeFragment createPresentationCodeFragment(TextWithImports item, PsiElement context, Project project)
createPresentationCodeFragment
in class CodeFragmentFactory
public boolean isContextAccepted(PsiElement contextElement)
isContextAccepted
in class CodeFragmentFactory
public LanguageFileType getFileType()
getFileType
in class CodeFragmentFactory
public EvaluatorBuilder getEvaluatorBuilder()
CodeFragmentFactory
getEvaluatorBuilder
in class CodeFragmentFactory