@Mutability annotation doesn’t allow specify any MutabilityPlan due to compilation error.
For example this is doesn’t compile:
@Mutability(ImmutableMutabilityPlan.class)
Can we change @Mutability annotation this way?
public @interface Mutability { /** * A class implementing {@link MutabilityPlan}. */ Class<? extends MutabilityPlan> value(); }