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