public class TextExpression extends Expression
Constructor and Description |
---|
TextExpression(java.lang.String string) |
Modifier and Type | Method and Description |
---|---|
LookupElement[] |
calculateLookupItems(ExpressionContext expressionContext) |
Result |
calculateQuickResult(ExpressionContext expressionContext) |
Result |
calculateResult(ExpressionContext expressionContext) |
boolean |
requiresCommittedPSI() |
getAdvertisingText, getLookupFocusDegree
public Result calculateResult(ExpressionContext expressionContext)
calculateResult
in class Expression
public Result calculateQuickResult(ExpressionContext expressionContext)
calculateQuickResult
in class Expression
public boolean requiresCommittedPSI()
requiresCommittedPSI
in class Expression
Expression.calculateResult(com.intellij.codeInsight.template.ExpressionContext)
or
Expression.calculateQuickResult(com.intellij.codeInsight.template.ExpressionContext)
require committed PSI for their calculation or false otherwisepublic LookupElement[] calculateLookupItems(ExpressionContext expressionContext)
calculateLookupItems
in class Expression