Following up on #25318, the javadoc for setEnforceInitMethod and setEnforceDestroyMethod is misleading since the actual default value is dependent on whether the init/destroy method name was locally specified or coming from a defaults section.