public class StringExpressionHelper
extends java.lang.Object
Constructor and Description |
---|
StringExpressionHelper() |
Modifier and Type | Method and Description |
---|---|
static Pair<PsiElement,java.lang.String> |
evaluateConstantExpression(PsiElement expression) |
static Pair<PsiElement,java.lang.String> |
evaluateExpression(PsiElement expression) |
static Pair<PsiElement,java.lang.String> |
evaluateExpression(PsiElement expression,
java.util.Collection<PsiElement> visited) |
static java.util.Set<PsiCall> |
searchMethodCalls(PsiMethod psiMethod,
SearchScope searchScope) |
static java.util.Set<Pair<PsiElement,java.lang.String>> |
searchStringExpressions(PsiMethod psiMethod,
SearchScope searchScope,
int expNum) |
public static Pair<PsiElement,java.lang.String> evaluateExpression(PsiElement expression)
public static Pair<PsiElement,java.lang.String> evaluateExpression(PsiElement expression, java.util.Collection<PsiElement> visited)
public static Pair<PsiElement,java.lang.String> evaluateConstantExpression(PsiElement expression)
public static java.util.Set<Pair<PsiElement,java.lang.String>> searchStringExpressions(PsiMethod psiMethod, SearchScope searchScope, int expNum)
public static java.util.Set<PsiCall> searchMethodCalls(PsiMethod psiMethod, SearchScope searchScope)