private static boolean arrayDeclarationsAreEquivalent(GrArrayDeclaration declaration1, GrArrayDeclaration declaration2) {
    final int count1 = declaration1.getArrayCount();
    final int count2 = declaration2.getArrayCount();
    if (count1 != count2) {
      return false;
    }
    final GrExpression[] bounds1 = declaration1.getBoundExpressions();
    final GrExpression[] bounds2 = declaration2.getBoundExpressions();
    return expressionListsAreEquivalent(bounds1, bounds2);
  }
private static boolean arrayDeclarationsAreEquivalent(GrArrayDeclaration declaration1, GrArrayDeclaration declaration2)