@NotNull
  @Override
  protected PsiElementPredicate getElementPredicate() {
    return element -> {
      GrConditionalExpression ternary = findTernary(element);
      return ternary != null &&
             ternary.getThenBranch() != null &&
             ternary.getElseBranch() != null &&
             ternary.getParent() instanceof GrReturnStatement;
    };
  }
@NotNull
  @Override
  protected PsiElementPredicate getElementPredicate()