private boolean sameAnnotationsForAllDimensions() {
    PsiVariable firstVar = myVariables.get(0);
    assert firstVar.getNameIdentifier() != null;
    Map<Integer, Set<String>> firstFieldAnnotations = getFieldAnnotations(firstVar.getNameIdentifier());

    PsiVariable nextVar = firstVar;
    for (int i = 1; i < myVariables.size(); i++) {
      nextVar = PsiTreeUtil.getNextSiblingOfType(nextVar, PsiVariable.class);
      assert nextVar != null;
      assert nextVar.getNameIdentifier() != null;
      Map<Integer, Set<String>> nextFieldAnnotations = getFieldAnnotations(nextVar.getNameIdentifier());
      if (firstFieldAnnotations.size() != nextFieldAnnotations.size()) return false;
      if (ContainerUtil.intersection(firstFieldAnnotations, nextFieldAnnotations).size() != firstFieldAnnotations.size()) return false;
    }
    return true;
  }
private boolean sameAnnotationsForAllDimensions()