Buggy code:
public class AnnotationConfigContextLoader extends AbstractGenericContextLoader { private static final Log logger = LogFactory . getLog ( AnnotationConfigContextLoader . class ) ; public void processContextConfiguration ( ContextConfigurationAttributes configAttributes ) { } @ Override public boolean supports ( MergedContextConfiguration mergedConfig ) { } private boolean isStaticNonPrivateAndNonFinal ( Class < ? > clazz ) { } private boolean isDefaultConfigurationClassCandidate ( Class < ? > clazz ) { } protected Class < ? > [ ] generateDefaultConfigurationClasses ( Class < ? > declaringClass ) { Assert . notNull ( declaringClass , "Declaring<seq2seq4repair_space>class<seq2seq4repair_space>must<seq2seq4repair_space>not<seq2seq4repair_space>be<seq2seq4repair_space>null" ) ; List < Class < ? > > configClasses = new ArrayList < Class < ? > > ( ) ; for ( Class < ? > candidate : declaringClass . getDeclaredClasses ( ) ) { if ( isDefaultConfigurationClassCandidate ( candidate ) ) { configClasses . add ( candidate ) ; } else { if ( AnnotationConfigContextLoader . logger . isDebugEnabled ( ) ) { AnnotationConfigContextLoader . logger . debug ( String . format ( ( "Ignoring<seq2seq4repair_space>class<seq2seq4repair_space>[%s];<seq2seq4repair_space>it<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>static,<seq2seq4repair_space>non-private,<seq2seq4repair_space>non-final,<seq2seq4repair_space>and<seq2seq4repair_space>annotated<seq2seq4repair_space>" + "with<seq2seq4repair_space>@Configuration<seq2seq4repair_space>to<seq2seq4repair_space>be<seq2seq4repair_space>considered<seq2seq4repair_space>a<seq2seq4repair_space>default<seq2seq4repair_space>configuration<seq2seq4repair_space>class." ) , candidate . getName ( ) ) ) ; } } } if ( configClasses . isEmpty ( ) ) { if ( AnnotationConfigContextLoader . logger . isInfoEnabled ( ) ) { <START_BUG> AnnotationConfigContextLoader . logger . info ( String . format ( ( "Cannot<seq2seq4repair_space>generate<seq2seq4repair_space>default<seq2seq4repair_space>configuration<seq2seq4repair_space>classes<seq2seq4repair_space>for<seq2seq4repair_space>test<seq2seq4repair_space>class<seq2seq4repair_space>[%s]:<seq2seq4repair_space>" + ( "%s<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>declare<seq2seq4repair_space>any<seq2seq4repair_space>static,<seq2seq4repair_space>non-private,<seq2seq4repair_space>non-final,<seq2seq4repair_space>inner<seq2seq4repair_space>classes<seq2seq4repair_space>" + "annotated<seq2seq4repair_space>with<seq2seq4repair_space>@Configuration." ) ) , declaringClass . getName ( ) , declaringClass . getSimpleName ( ) ) ) ; <END_BUG> } } return configClasses . toArray ( new Class < ? > [ configClasses . size ( ) ] ) ; } @ Override protected String [ ] modifyLocations ( Class < ? > clazz , String ... locations ) { } @ Override protected String [ ] generateDefaultLocations ( Class < ? > clazz ) { } @ Override protected String getResourceSuffix ( ) { } @ Override protected void loadBeanDefinitions ( GenericApplicationContext context , MergedContextConfiguration mergedConfig ) { } @ Override protected BeanDefinitionReader createBeanDefinitionReader ( GenericApplicationContext context ) { } }

Fix:
AnnotationConfigContextLoader . logger . info ( String . format ( ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>detect<seq2seq4repair_space>default<seq2seq4repair_space>configuration<seq2seq4repair_space>classes<seq2seq4repair_space>for<seq2seq4repair_space>test<seq2seq4repair_space>class<seq2seq4repair_space>[%s]:<seq2seq4repair_space>" + ( "%s<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>declare<seq2seq4repair_space>any<seq2seq4repair_space>static,<seq2seq4repair_space>non-private,<seq2seq4repair_space>non-final,<seq2seq4repair_space>inner<seq2seq4repair_space>classes<seq2seq4repair_space>" + "annotated<seq2seq4repair_space>with<seq2seq4repair_space>@Configuration." ) ) , declaringClass . getName ( ) , declaringClass . getSimpleName ( ) ) ) ;