use of org.jetbrains.plugins.groovy.lang.psi.api.statements.expressions.GrUnaryExpression in project intellij-community by JetBrains.
the class BoolUtils method getNegated.
private static GrExpression getNegated(@NotNull GrExpression exp) {
final GrUnaryExpression prefixExp = (GrUnaryExpression) exp;
final GrExpression operand = prefixExp.getOperand();
return (GrExpression) PsiUtil.skipParentheses(operand, false);
}
Aggregations