Buggy code:
public class CacheSimpleConfig { public static final int MIN_BACKUP_COUNT = 0 ; public static final int MAX_BACKUP_COUNT = InternalPartition . MAX_BACKUP_COUNT ; public static final int DEFAULT_BACKUP_COUNT = 1 ; public static final InMemoryFormat DEFAULT_IN_MEMORY_FORMAT = InMemoryFormat . BINARY ; public static final EvictionPolicy DEFAULT_EVICTION_POLICY = EvictionConfig . DEFAULT_EVICTION_POLICY ; private String name ; private String keyType ; private String valueType ; private boolean statisticsEnabled ; private boolean managementEnabled ; private boolean readThrough ; private boolean writeThrough ; private String cacheLoaderFactory ; private String cacheWriterFactory ; private String expiryPolicyFactory ; private List < CacheSimpleEntryListenerConfig > cacheEntryListeners ; private int asyncBackupCount = CacheSimpleConfig . MIN_BACKUP_COUNT ; private int backupCount = CacheSimpleConfig . DEFAULT_BACKUP_COUNT ; private InMemoryFormat inMemoryFormat = CacheSimpleConfig . DEFAULT_IN_MEMORY_FORMAT ; private CacheEvictionConfig evictionConfig = new CacheEvictionConfig ( ) ; private WanReplicationRef wanReplicationRef ; private NearCacheConfig nearCacheConfig ; private CacheSimpleConfig readOnly ; public CacheSimpleConfig ( CacheSimpleConfig cacheSimpleConfig ) { } public CacheSimpleConfig ( ) { } public CacheSimpleConfig getAsReadOnly ( ) { } public String getName ( ) { } public CacheSimpleConfig setName ( String name ) { } public String getKeyType ( ) { } public CacheSimpleConfig setKeyType ( String keyType ) { } public String getValueType ( ) { } public CacheSimpleConfig setValueType ( String valueType ) { } public boolean isStatisticsEnabled ( ) { } public CacheSimpleConfig setStatisticsEnabled ( boolean statisticsEnabled ) { } public boolean isManagementEnabled ( ) { } public CacheSimpleConfig setManagementEnabled ( boolean managementEnabled ) { } public boolean isReadThrough ( ) { } public CacheSimpleConfig setReadThrough ( boolean readThrough ) { } public boolean isWriteThrough ( ) { } public CacheSimpleConfig setWriteThrough ( boolean writeThrough ) { } public String getCacheLoaderFactory ( ) { } public CacheSimpleConfig setCacheLoaderFactory ( String cacheLoaderFactory ) { } public String getCacheWriterFactory ( ) { } public CacheSimpleConfig setCacheWriterFactory ( String cacheWriterFactory ) { } public String getExpiryPolicyFactory ( ) { } public CacheSimpleConfig setExpiryPolicyFactory ( String expiryPolicyFactory ) { } public CacheSimpleConfig addEntryListenerConfig ( CacheSimpleEntryListenerConfig listenerConfig ) { } public List < CacheSimpleEntryListenerConfig > getCacheEntryListeners ( ) { } public CacheSimpleConfig setCacheEntryListeners ( List < CacheSimpleEntryListenerConfig > cacheEntryListeners ) { } public int getAsyncBackupCount ( ) { } public CacheSimpleConfig setAsyncBackupCount ( int asyncBackupCount ) { } public int getBackupCount ( ) { } public CacheSimpleConfig setBackupCount ( int backupCount ) { } public InMemoryFormat getInMemoryFormat ( ) { } public CacheSimpleConfig setInMemoryFormat ( InMemoryFormat inMemoryFormat ) { } <START_BUG> public CacheEvictionConfig getEvictionConfig ( ) { <END_BUG> return evictionConfig ; } public CacheSimpleConfig setEvictionConfig ( EvictionConfig evictionConfig ) { } public WanReplicationRef getWanReplicationRef ( ) { } public void setWanReplicationRef ( WanReplicationRef wanReplicationRef ) { } public NearCacheConfig getNearCacheConfig ( ) { } public void setNearCacheConfig ( NearCacheConfig nearCacheConfig ) { } }

Fix:
public EvictionConfig getEvictionConfig ( ) {