Buggy code:
public class CacheContainerAdd extends AbstractAddStepHandler implements DescriptionProvider { static ModelNode createOperation ( ModelNode address , ModelNode existing ) { } private static void populate ( ModelNode source , ModelNode target ) { } protected void populateModel ( ModelNode operation , ModelNode model ) { } protected void performRuntime ( OperationContext context , ModelNode operation , ModelNode model , ServiceVerificationHandler verificationHandler , List < ServiceController < ? > > newControllers ) { } @ Override public ModelNode getModelDescription ( Locale locale ) { <START_BUG> return LocalDescriptions . getCacheContainerAddDescription ( locale ) ; <END_BUG> } private void addExecutorDependency ( ServiceBuilder < CacheContainer > builder , ModelNode model , String key , Injector < Executor > injector ) { } private void addScheduledExecutorDependency ( ServiceBuilder < CacheContainer > builder , ModelNode model , String key , Injector < ScheduledExecutorService > injector ) { } private CacheStoreConfig buildCacheStore ( final String name , ServiceBuilder < CacheContainer > builder , ModelNode store ) { } private static JndiName toJndiName ( String value ) { } static class EmbeddedCacheManager implements EmbeddedCacheManagerConfiguration { private final InjectedValue < EmbeddedCacheManagerDefaults > defaults = new InjectedValue < EmbeddedCacheManagerDefaults > ( ) ; private final InjectedValue < TransactionManager > transactionManager = new InjectedValue < TransactionManager > ( ) ; private final InjectedValue < TransactionSynchronizationRegistry > transactionSynchronizationRegistry = new InjectedValue < TransactionSynchronizationRegistry > ( ) ; private final InjectedValue < XAResourceRecoveryRegistry > recoveryRegistry = new InjectedValue < XAResourceRecoveryRegistry > ( ) ; private final InjectedValue < MBeanServer > mbeanServer = new InjectedValue < MBeanServer > ( ) ; private final InjectedValue < Executor > listenerExecutor = new InjectedValue < Executor > ( ) ; private final InjectedValue < ScheduledExecutorService > evictionExecutor = new InjectedValue < ScheduledExecutorService > ( ) ; private final InjectedValue < ScheduledExecutorService > replicationQueueExecutor = new InjectedValue < ScheduledExecutorService > ( ) ; private final String name ; private final String defaultCache ; private final Map < String , Configuration > configurations = new HashMap < String , Configuration > ( ) ; private CacheContainerAdd . Transport transport ; EmbeddedCacheManager ( String name , String defaultCache ) { } Injector < EmbeddedCacheManagerDefaults > getDefaultsInjector ( ) { } Injector < TransactionManager > getTransactionManagerInjector ( ) { } Injector < TransactionSynchronizationRegistry > getTransactionSynchronizationRegistryInjector ( ) { } Injector < XAResourceRecoveryRegistry > getXAResourceRecoveryRegistryInjector ( ) { } Injector < MBeanServer > getMBeanServerInjector ( ) { } Injector < Executor > getListenerExecutorInjector ( ) { } Injector < ScheduledExecutorService > getEvictionExecutorInjector ( ) { } Injector < ScheduledExecutorService > getReplicationQueueExecutorInjector ( ) { } void setTransport ( CacheContainerAdd . Transport transport ) { } @ Override public String getName ( ) { } @ Override public String getDefaultCache ( ) { } @ Override public Map < String , Configuration > getConfigurations ( ) { } @ Override public TransportConfiguration getTransportConfiguration ( ) { } @ Override public EmbeddedCacheManagerDefaults getDefaults ( ) { } @ Override public TransactionManager getTransactionManager ( ) { } @ Override public TransactionSynchronizationRegistry getTransactionSynchronizationRegistry ( ) { } @ Override public XAResourceRecoveryRegistry getXAResourceRecoveryRegistry ( ) { } @ Override public MBeanServer getMBeanServer ( ) { } @ Override public Executor getListenerExecutor ( ) { } @ Override public ScheduledExecutorService getEvictionExecutor ( ) { } @ Override public ScheduledExecutorService getReplicationQueueExecutor ( ) { } } static class Transport implements TransportConfiguration { private final InjectedValue < Channel > channel = new InjectedValue < Channel > ( ) ; private final InjectedValue < Executor > executor = new InjectedValue < Executor > ( ) ; private Long lockTimeout ; private String site ; private String rack ; private String machine ; void setLockTimeout ( long lockTimeout ) { } void setSite ( String site ) { } void setRack ( String rack ) { } void setMachine ( String machine ) { } Injector < Channel > getChannelInjector ( ) { } Injector < Executor > getExecutorInjector ( ) { } @ Override public Value < Channel > getChannel ( ) { } @ Override public Executor getExecutor ( ) { } @ Override public Long getLockTimeout ( ) { } @ Override public String getSite ( ) { } @ Override public String getRack ( ) { } @ Override public String getMachine ( ) { } } }

Fix:
return InfinispanDescriptions . getCacheContainerAddDescription ( locale ) ;