Buggy code:
@ MessageLogger ( projectCode = "JBAS" ) public interface WeldLogger extends BasicLogger { WeldLogger ROOT_LOGGER = Logger . getMessageLogger ( WeldLogger . class , "org.jboss.as.weld" ) ; WeldLogger DEPLOYMENT_LOGGER = Logger . getMessageLogger ( WeldLogger . class , "org.jboss.weld.deployer" ) ; @ LogMessage ( level = Level . ERROR ) @ Message ( value = "Failed<seq2seq4repair_space>to<seq2seq4repair_space>setup<seq2seq4repair_space>Weld<seq2seq4repair_space>contexts" , id = 16000 ) void failedToSetupWeldContexts ( @ Cause Throwable throwable ) { } @ LogMessage ( level = Level . ERROR ) @ Message ( value = "Failed<seq2seq4repair_space>to<seq2seq4repair_space>tear<seq2seq4repair_space>down<seq2seq4repair_space>Weld<seq2seq4repair_space>contexts" , id = 16001 ) void failedToTearDownWeldContexts ( @ Cause Throwable throwable ) { } @ LogMessage ( level = Level . INFO ) @ Message ( value = "Processing<seq2seq4repair_space>weld<seq2seq4repair_space>deployment<seq2seq4repair_space>%s" , id = 16002 ) void processingWeldDeployment ( String deployment ) { } @ LogMessage ( level = Level . WARN ) @ Message ( value = "Found<seq2seq4repair_space>beans.xml<seq2seq4repair_space>file<seq2seq4repair_space>in<seq2seq4repair_space>non-standard<seq2seq4repair_space>location:<seq2seq4repair_space>%s,<seq2seq4repair_space>war<seq2seq4repair_space>deployments<seq2seq4repair_space>should<seq2seq4repair_space>place<seq2seq4repair_space>beans.xml<seq2seq4repair_space>files<seq2seq4repair_space>into<seq2seq4repair_space>WEB-INF//beans.xml" , id = 16003 ) void beansXmlInNonStandardLocation ( String location ) { } @ LogMessage ( level = Level . ERROR ) @ Message ( value = "Could<seq2seq4repair_space>not<seq2seq4repair_space>find<seq2seq4repair_space>BeanManager<seq2seq4repair_space>for<seq2seq4repair_space>deployment<seq2seq4repair_space>%s" , id = 16004 ) void couldNotFindBeanManagerForDeployment ( String beanManager ) { } @ LogMessage ( level = Level . INFO ) @ Message ( value = "Starting<seq2seq4repair_space>Services<seq2seq4repair_space>for<seq2seq4repair_space>CDI<seq2seq4repair_space>deployment:<seq2seq4repair_space>%s" , id = 16005 ) void startingServicesForCDIDeployment ( String deploymentName ) { } @ LogMessage ( level = Level . WARN ) @ Message ( value = "Could<seq2seq4repair_space>not<seq2seq4repair_space>load<seq2seq4repair_space>portable<seq2seq4repair_space>extension<seq2seq4repair_space>class<seq2seq4repair_space>%s" , id = 16006 ) void couldNotLoadPortableExceptionClass ( String className , @ Cause Throwable throwable ) { } @ LogMessage ( level = Level . WARN ) @ Message ( value = "@Resource<seq2seq4repair_space>injection<seq2seq4repair_space>of<seq2seq4repair_space>type<seq2seq4repair_space>%s<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>supported<seq2seq4repair_space>for<seq2seq4repair_space>non-ejb<seq2seq4repair_space>components.<seq2seq4repair_space>Injection<seq2seq4repair_space>point:<seq2seq4repair_space>%s" , id = 16007 ) void injectionTypeNotValue ( Class < ? > type , Member injectionPoint ) { } @ LogMessage ( level = Level . INFO ) @ Message ( value = "Starting<seq2seq4repair_space>weld<seq2seq4repair_space>service<seq2seq4repair_space>for<seq2seq4repair_space>deployment<seq2seq4repair_space>%s" , id = 16008 ) void startingWeldService ( String deploymentName ) { } @ LogMessage ( level = Level . INFO ) @ Message ( value = "Stopping<seq2seq4repair_space>weld<seq2seq4repair_space>service<seq2seq4repair_space>for<seq2seq4repair_space>deployment<seq2seq4repair_space>%s" , id = 16009 ) void stoppingWeldService ( String deploymentName ) { } @ LogMessage ( level = Level . WARN ) @ Message ( value = "Warning<seq2seq4repair_space>while<seq2seq4repair_space>parsing<seq2seq4repair_space>%s:%s<seq2seq4repair_space>%s" , id = 16010 ) void beansXmlValidationWarning ( URL file , int line , String message ) { } @ LogMessage ( level = Level . WARN ) @ Message ( value = "Warning<seq2seq4repair_space>while<seq2seq4repair_space>parsing<seq2seq4repair_space>%s:%s<seq2seq4repair_space>%s" , id = 16011 ) void beansXmlValidationError ( URL file , int line , String message ) { } @ LogMessage ( level = Level . WARN ) <START_BUG> @ Message ( value = "Deployment<seq2seq4repair_space>%s<seq2seq4repair_space>contains<seq2seq4repair_space>CDI<seq2seq4repair_space>annotations<seq2seq4repair_space>but<seq2seq4repair_space>no<seq2seq4repair_space>bean<seq2seq4repair_space>archive<seq2seq4repair_space>was<seq2seq4repair_space>not<seq2seq4repair_space>found.<seq2seq4repair_space>(No<seq2seq4repair_space>beans.xml<seq2seq4repair_space>nor<seq2seq4repair_space>class<seq2seq4repair_space>with<seq2seq4repair_space>bean<seq2seq4repair_space>defining<seq2seq4repair_space>annotations)" , id = 16012 ) <END_BUG> void cdiAnnotationsButNotBeanArchive ( DeploymentUnit deploymentUnit ) ; @ LogMessage ( level = Level . ERROR ) @ Message ( value = "Exception<seq2seq4repair_space>tearing<seq2seq4repair_space>down<seq2seq4repair_space>thread<seq2seq4repair_space>state" , id = 16013 ) void exceptionClearingThreadState ( @ Cause Exception e ) { } @ LogMessage ( level = Level . ERROR ) @ Message ( value = "Error<seq2seq4repair_space>loading<seq2seq4repair_space>file<seq2seq4repair_space>%s" , id = 16014 ) void errorLoadingFile ( String newPath ) { } @ LogMessage ( level = Level . ERROR ) @ Message ( value = "Could<seq2seq4repair_space>not<seq2seq4repair_space>read<seq2seq4repair_space>entries" , id = 16015 ) void couldNotReadEntries ( @ Cause IOException ioe ) { } @ LogMessage ( level = Level . WARN ) @ Message ( value = "URL<seq2seq4repair_space>scanner<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>understand<seq2seq4repair_space>the<seq2seq4repair_space>URL<seq2seq4repair_space>protocol<seq2seq4repair_space>%s,<seq2seq4repair_space>CDI<seq2seq4repair_space>beans<seq2seq4repair_space>will<seq2seq4repair_space>not<seq2seq4repair_space>be<seq2seq4repair_space>scanned." , id = 16016 ) void doNotUnderstandProtocol ( URL url ) { } @ LogMessage ( level = Level . WARN ) @ Message ( value = "Found<seq2seq4repair_space>both<seq2seq4repair_space>WEB-INF//beans.xml<seq2seq4repair_space>and<seq2seq4repair_space>WEB-INF//classes//META-INF//beans.xml.<seq2seq4repair_space>It<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>portable<seq2seq4repair_space>to<seq2seq4repair_space>use<seq2seq4repair_space>both<seq2seq4repair_space>locations<seq2seq4repair_space>at<seq2seq4repair_space>the<seq2seq4repair_space>same<seq2seq4repair_space>time.<seq2seq4repair_space>Weld<seq2seq4repair_space>is<seq2seq4repair_space>going<seq2seq4repair_space>to<seq2seq4repair_space>use<seq2seq4repair_space>the<seq2seq4repair_space>former<seq2seq4repair_space>location<seq2seq4repair_space>for<seq2seq4repair_space>this<seq2seq4repair_space>deployment." , id = 16017 ) void duplicateBeansXml ( ) { } @ LogMessage ( level = Level . DEBUG ) @ Message ( value = "Discovered<seq2seq4repair_space>%s" , id = Message . NONE ) void beanArchiveDiscovered ( BeanDeploymentArchive bda ) { } @ LogMessage ( level = Level . DEBUG ) @ Message ( value = "Unable<seq2seq4repair_space>to<seq2seq4repair_space>load<seq2seq4repair_space>annotation<seq2seq4repair_space>%s" , id = Message . NONE ) void unableToLoadAnnotation ( String annotationClassName ) { } }

Fix:
@ Message ( value = "Deployment<seq2seq4repair_space>%s<seq2seq4repair_space>contains<seq2seq4repair_space>CDI<seq2seq4repair_space>annotations<seq2seq4repair_space>but<seq2seq4repair_space>no<seq2seq4repair_space>bean<seq2seq4repair_space>archive<seq2seq4repair_space>was<seq2seq4repair_space>found<seq2seq4repair_space>(no<seq2seq4repair_space>beans.xml<seq2seq4repair_space>or<seq2seq4repair_space>class<seq2seq4repair_space>with<seq2seq4repair_space>bean<seq2seq4repair_space>defining<seq2seq4repair_space>annotations)." , id = 16012 )