(int flags)
| 161 | } |
| 162 | |
| 163 | public @NotNull JsonWriter setFlags(int flags) { |
| 164 | this.flags = this.flags & ~FLAG_ALL | flags & FLAG_ALL; |
| 165 | return this; |
| 166 | } |
| 167 | |
| 168 | public @NotNull JsonWriter setFlagsAndDepthLimit(int flags, int depth) { |
| 169 | this.flags = (flags & FLAG_ALL) | (depth << 16); |