Issue Task Resolved

#110647Add immutable with-methods to VisibilityAspect

Matthias Vogel 09/07/26, 11:35 updated 09/12/26, 00:25

Description

Recreating a VisibilityAspect to change one flag requires callers
to copy every constructor argument. Newly added options can then
be lost silently, as illustrated by #110322

Add with-methods for the existing visibility flags to preserve
unrelated settings. Mark the constructor as internal and cover
the new methods with unit tests

Reviews 2

History 18

  1. Matthias Vogel commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-09-12T00:25:10+00:00" > 09/12/26, 00:25 </span>

    Applied in changeset commit:972f42fdfdf1da8e8b4a9e0096f5709635079640.