public class JavaEditablePostfixTemplate extends EditablePostfixTemplateWithMultipleExpressions<JavaPostfixTemplateExpressionCondition>
myExpressionConditions, myUseTopmostExpression
Constructor and Description |
---|
JavaEditablePostfixTemplate(java.lang.String templateName,
java.lang.String templateText,
java.lang.String example,
java.util.Set<JavaPostfixTemplateExpressionCondition> expressionConditions,
LanguageLevel minimumLanguageLevel,
boolean useTopmostExpression,
PostfixTemplateProvider provider) |
JavaEditablePostfixTemplate(java.lang.String templateId,
java.lang.String templateName,
java.lang.String templateText,
java.lang.String example,
java.util.Set<JavaPostfixTemplateExpressionCondition> expressionConditions,
LanguageLevel minimumLanguageLevel,
boolean useTopmostExpression,
PostfixTemplateProvider provider) |
JavaEditablePostfixTemplate(java.lang.String templateId,
java.lang.String templateName,
TemplateImpl liveTemplate,
java.lang.String example,
java.util.Set<JavaPostfixTemplateExpressionCondition> expressionConditions,
LanguageLevel minimumLanguageLevel,
boolean useTopmostExpression,
PostfixTemplateProvider provider) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
protected Function<PsiElement,java.lang.String> |
getElementRenderer() |
protected java.util.List<PsiElement> |
getExpressions(PsiElement context,
Document document,
int offset) |
LanguageLevel |
getMinimumLanguageLevel() |
protected PsiElement |
getTopmostExpression(PsiElement element) |
int |
hashCode() |
boolean |
isBuiltin()
Builtin templates cannot be removed.
|
createTemplate, getElementToRemove, getExpressionCompositeCondition, getExpressionConditions, isUseTopmostExpression
addTemplateVariables, expand, getLiveTemplate, getProvider, isApplicable
calcDescription, getDescription, getExample, getId, getKey, getPresentableName, isEditable, isEnabled, startInWriteAction
public JavaEditablePostfixTemplate(java.lang.String templateName, java.lang.String templateText, java.lang.String example, java.util.Set<JavaPostfixTemplateExpressionCondition> expressionConditions, LanguageLevel minimumLanguageLevel, boolean useTopmostExpression, PostfixTemplateProvider provider)
public JavaEditablePostfixTemplate(java.lang.String templateId, java.lang.String templateName, java.lang.String templateText, java.lang.String example, java.util.Set<JavaPostfixTemplateExpressionCondition> expressionConditions, LanguageLevel minimumLanguageLevel, boolean useTopmostExpression, PostfixTemplateProvider provider)
public JavaEditablePostfixTemplate(java.lang.String templateId, java.lang.String templateName, TemplateImpl liveTemplate, java.lang.String example, java.util.Set<JavaPostfixTemplateExpressionCondition> expressionConditions, LanguageLevel minimumLanguageLevel, boolean useTopmostExpression, PostfixTemplateProvider provider)
public LanguageLevel getMinimumLanguageLevel()
protected java.util.List<PsiElement> getExpressions(PsiElement context, Document document, int offset)
getExpressions
in class EditablePostfixTemplate
protected PsiElement getTopmostExpression(PsiElement element)
getTopmostExpression
in class EditablePostfixTemplateWithMultipleExpressions<JavaPostfixTemplateExpressionCondition>
protected Function<PsiElement,java.lang.String> getElementRenderer()
getElementRenderer
in class EditablePostfixTemplate
public boolean isBuiltin()
PostfixTemplate
isBuiltin
in class PostfixTemplate
public boolean equals(java.lang.Object o)
equals
in class EditablePostfixTemplateWithMultipleExpressions<JavaPostfixTemplateExpressionCondition>
public int hashCode()
hashCode
in class EditablePostfixTemplateWithMultipleExpressions<JavaPostfixTemplateExpressionCondition>