@Nullable
  public static ASTNode getFinallyBlock(@Nullable ASTNode element) {
    if (!is(element, BASIC_TRY_STATEMENT)) {
      return null;
    }
    ASTNode finallyKeyword = findChildByType(element, JavaTokenType.FINALLY_KEYWORD);
    if (finallyKeyword == null) return null;
    for (ASTNode child = finallyKeyword.getTreeNext(); child != null; child = child.getTreeNext()) {
      if (is(child, BASIC_CODE_BLOCK)) {
        return child;
      }
    }
    return null;
  }
@Nullable
  public static ASTNode getFinallyBlock(@Nullable ASTNode element)