public abstract class ForIndexedPostfixTemplate extends JavaEditablePostfixTemplate
Modifier and Type | Field and Description |
---|---|
static Condition<PsiElement> |
IS_NUMBER_OR_ARRAY_OR_ITERABLE
Deprecated.
|
myExpressionConditions, myUseTopmostExpression
Modifier | Constructor and Description |
---|---|
protected |
ForIndexedPostfixTemplate(java.lang.String templateName,
java.lang.String templateText,
java.lang.String example,
JavaPostfixTemplateProvider provider) |
Modifier and Type | Method and Description |
---|---|
protected void |
addTemplateVariables(PsiElement element,
Template template) |
protected java.lang.String |
getExpressionBound(PsiExpression expr) |
boolean |
isBuiltin()
Builtin templates cannot be removed.
|
equals, getElementRenderer, getExpressions, getMinimumLanguageLevel, getTopmostExpression, hashCode
createTemplate, getElementToRemove, getExpressionCompositeCondition, getExpressionConditions, isUseTopmostExpression
expand, getLiveTemplate, getProvider, isApplicable
calcDescription, getDescription, getExample, getId, getKey, getPresentableName, isEditable, isEnabled, startInWriteAction
@Deprecated public static final Condition<PsiElement> IS_NUMBER_OR_ARRAY_OR_ITERABLE
JavaPostfixTemplatesUtils
protected ForIndexedPostfixTemplate(java.lang.String templateName, java.lang.String templateText, java.lang.String example, JavaPostfixTemplateProvider provider)
protected void addTemplateVariables(PsiElement element, Template template)
addTemplateVariables
in class EditablePostfixTemplate
protected java.lang.String getExpressionBound(PsiExpression expr)
public boolean isBuiltin()
PostfixTemplate
isBuiltin
in class JavaEditablePostfixTemplate