void (@NotNull AbstractJavaBlock block, @NotNull Wrap preferredWrap) { AbstractJavaBlock parentBlock = block.getParentBlock(); if (parentBlock != null) { parentBlock.setReservedWrap(preferredWrap, JavaElementType.MODIFIER_LIST); } }