public interface PostfixTemplateExpressionSelector
PostfixTemplateWithExpressionSelector
Modifier and Type | Method and Description |
---|---|
java.util.List<PsiElement> |
getExpressions(PsiElement context,
Document document,
int offset)
Return list of all possible expressions in the current position.
|
Function<PsiElement,java.lang.String> |
getRenderer()
returns renderer for expressions from
getExpressions(com.intellij.psi.PsiElement, com.intellij.openapi.editor.Document, int) . |
boolean |
hasExpression(PsiElement context,
Document copyDocument,
int newOffset)
Check that we can select not-null expression(PsiElement) in current context
|
boolean hasExpression(PsiElement context, Document copyDocument, int newOffset)
java.util.List<PsiElement> getExpressions(PsiElement context, Document document, int offset)
Function<PsiElement,java.lang.String> getRenderer()
getExpressions(com.intellij.psi.PsiElement, com.intellij.openapi.editor.Document, int)
.
Renderer is used for showing popup chooser