docs: @SuppressWarnings("deprecation")
      public BUILDER addFlag(final AttributeAccess.Flag flag) {
          if (flags == null) {
              flags = new AttributeAccess.Flag[]{flag};
          } else {
              final int i = flags.length;
              flags = Arrays.copyOf(flags, i + 1);
              flags[i] = flag;
          }
          return (BUILDER) this;
      }