public class SplitConditionUtil
extends java.lang.Object
Constructor and Description |
---|
SplitConditionUtil() |
Modifier and Type | Method and Description |
---|---|
static PsiPolyadicExpression |
findCondition(PsiElement element) |
static PsiPolyadicExpression |
findCondition(PsiElement element,
boolean acceptAnd,
boolean acceptOr) |
static PsiExpression |
getLOperands(PsiPolyadicExpression expression,
PsiJavaToken separator) |
static PsiExpression |
getLOperands(PsiPolyadicExpression expression,
PsiJavaToken separator,
CommentTracker ct) |
static PsiExpression |
getROperands(PsiPolyadicExpression expression,
PsiJavaToken separator) |
static PsiExpression |
getROperands(PsiPolyadicExpression expression,
PsiJavaToken separator,
CommentTracker ct) |
public static PsiPolyadicExpression findCondition(PsiElement element)
public static PsiPolyadicExpression findCondition(PsiElement element, boolean acceptAnd, boolean acceptOr)
public static PsiExpression getROperands(PsiPolyadicExpression expression, PsiJavaToken separator)
public static PsiExpression getROperands(PsiPolyadicExpression expression, PsiJavaToken separator, CommentTracker ct)
public static PsiExpression getLOperands(PsiPolyadicExpression expression, PsiJavaToken separator)
public static PsiExpression getLOperands(PsiPolyadicExpression expression, PsiJavaToken separator, CommentTracker ct)