Buggy code:
public class MessagingSubsystemAdd extends AbstractSubsystemAdd < MessagingSubsystemElement > { private static final long serialVersionUID = - 1306547303259739030L ; private static final ServiceName PATH_BASE = JBOSS_MESSAGING . append ( "paths" ) ; private static final String PATH_RELATIVE_TO = "jboss.server.data.dir" ; private DirectoryElement bindingsDirectory ; private DirectoryElement journalDirectory ; private DirectoryElement largeMessagesDirectory ; private DirectoryElement pagingDirectory ; private Boolean clustered ; private Boolean persistenceEnabled ; private Integer journalMinFiles ; private Integer journalFileSize ; private JournalType journalType ; private Set < AbstractTransportElement < ? > > acceptors = new HashSet < AbstractTransportElement < ? > > ( ) ; private Set < AbstractTransportElement < ? > > connectors = new HashSet < AbstractTransportElement < ? > > ( ) ; private Set < SecuritySettingsElement > securitySettings = new HashSet < SecuritySettingsElement > ( ) ; private Set < AddressSettingsElement > addressSettings = new HashSet < AddressSettingsElement > ( ) ; private Set < QueueElement > queues = new HashSet < QueueElement > ( ) ; public MessagingSubsystemAdd ( ) { } @ Override protected < P > void applyUpdate ( UpdateContext updateContext , UpdateResultHandler < ? super Void , P > resultHandler , P param ) { } @ Override protected MessagingSubsystemElement createSubsystemElement ( ) { } public DirectoryElement getBindingsDirectory ( ) { } public void setBindingsDirectory ( DirectoryElement bindingsDirectory ) { } public DirectoryElement getJournalDirectory ( ) { } public void setJournalDirectory ( DirectoryElement journalDirectory ) { } public DirectoryElement getLargeMessagesDirectory ( ) { } public void setLargeMessagesDirectory ( DirectoryElement largeMessagesDirectory ) { } public DirectoryElement getPagingDirectory ( ) { } public void setPagingDirectory ( DirectoryElement pagingDirectory ) { } public Boolean isClustered ( ) { } public void setClustered ( boolean clustered ) { } public Integer getJournalMinFiles ( ) { } public void setJournalMinFiles ( int journalMinFiles ) { } public Integer getJournalFileSize ( ) { } public void setJournalFileSize ( int journalFileSize ) { } public JournalType getJournalType ( ) { } public void setJournalType ( JournalType journalType ) { } <START_BUG> public void setPersistenceEnabled ( boolean enabled ) { <END_BUG> persistenceEnabled = enabled ; } void addAcceptor ( final AbstractTransportElement < ? > transportSpecification ) { } void addConnector ( final AbstractTransportElement < ? > transportSpecification ) { } void addAddressSettings ( final AddressSettingsElement addressSettingsSpecification ) { } void addSecuritySettings ( final SecuritySettingsElement securitySettingsSpecification ) { } void addQueue ( final QueueElement queue ) { } static void addPathDependency ( String name , HornetQService hqService , BatchServiceBuilder < ? > serviceBuilder ) { } static void createRelativePathService ( String name , DirectoryElement dir , BatchBuilder builder ) { } static void createRelativePathService ( String name , String relativeTo , String relativePath , BatchBuilder builder ) { } }

Fix:
public void setPersistenceEnabled ( Boolean enabled ) {