@Override
  public void visitIfStatement(@NotNull GrIfStatement ifStatement) {
    if (myChild == ifStatement.getCondition()) {
      myResult = getContinuationWithoutFirstIndent();
    }
    else if (TokenSets.BLOCK_SET.contains(myChildType)) {
      if (myChild == ifStatement.getCondition()) {
        myResult = getContinuationWithoutFirstIndent();
      }
    }
    else if (myChild == ifStatement.getThenBranch()) {
      myResult = getNormalIndent();
    }
    else if (myChild == ifStatement.getElseBranch()) {
      if (getGroovySettings().SPECIAL_ELSE_IF_TREATMENT && myChildType == GroovyElementTypes.IF_STATEMENT) {
        myResult = getNoneIndent();
      }
      else {
        myResult = getNormalIndent();
      }
    }
  }
@Override
  public void visitIfStatement(@NotNull GrIfStatement ifStatement)