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