public abstract class VariableTypeMacroBase extends Macro
Constructor and Description |
---|
VariableTypeMacroBase() |
Modifier and Type | Method and Description |
---|---|
LookupElement[] |
calculateLookupItems(Expression [] params,
ExpressionContext context) |
Result |
calculateResult(Expression [] params,
ExpressionContext context) |
java.lang.String |
getDefaultValue() |
protected abstract PsiElement [] |
getVariables(Expression[] params,
ExpressionContext context) |
boolean |
isAcceptableInContext(TemplateContextType context) |
calculateQuickResult, getLookupFocusDegree, getName, getPresentableName
protected abstract PsiElement [] getVariables(Expression[] params, ExpressionContext context)
public LookupElement[] calculateLookupItems(Expression [] params, ExpressionContext context)
calculateLookupItems
in class Macro
public Result calculateResult(Expression [] params, ExpressionContext context)
calculateResult
in class Macro
public java.lang.String getDefaultValue()
getDefaultValue
in class Macro
public boolean isAcceptableInContext(TemplateContextType context)
isAcceptableInContext
in class Macro