Buggy code:
public class JPAAnnotationParseProcessor implements DeploymentUnitProcessor { private static final DotName PERSISTENCE_CONTEXT_ANNOTATION_NAME = DotName . createSimple ( PersistenceContext . class . getName ( ) ) ; private static final DotName PERSISTENCE_UNIT_ANNOTATION_NAME = DotName . createSimple ( PersistenceUnit . class . getName ( ) ) ; private static final String ENTITY_MANAGER_CLASS = "javax.persistence.EntityManager" ; private static final String ENTITY_MANAGERFACTORY_CLASS = "javax.persistence.EntityManagerFactory" ; @ Override public void deploy ( DeploymentPhaseContext phaseContext ) throws DeploymentUnitProcessingException { } @ Override public void undeploy ( DeploymentUnit context ) { } private void processPersistenceAnnotations ( final DeploymentUnit deploymentUnit , final EEModuleDescription eeModuleDescription , List < AnnotationInstance > persistenceContexts ) throws DeploymentUnitProcessingException { } private void processField ( final DeploymentUnit deploymentUnit , final AnnotationInstance annotation , final FieldInfo fieldInfo , final EEModuleClassDescription eeModuleClassDescription ) throws DeploymentUnitProcessingException { } private void processMethod ( final DeploymentUnit deploymentUnit , final AnnotationInstance annotation , final MethodInfo methodInfo , final EEModuleClassDescription eeModuleClassDescription ) throws DeploymentUnitProcessingException { } private void processClass ( final DeploymentUnit deploymentUnit , final AnnotationInstance annotation , final ClassInfo classInfo , final EEModuleClassDescription eeModuleClassDescription ) throws DeploymentUnitProcessingException { } private InjectionSource getBindingSource ( final DeploymentUnit deploymentUnit , final AnnotationInstance annotation , String injectionTypeName , final EEModuleClassDescription classDescription ) throws DeploymentUnitProcessingException { } private boolean isExtendedPersistenceContext ( final AnnotationInstance annotation ) { } private boolean isPersistenceContext ( final AnnotationInstance annotation ) { } private String getClassLevelInjectionType ( final AnnotationInstance annotation ) { } private String getScopedPuName ( final DeploymentUnit deploymentUnit , final AnnotationInstance annotation , EEModuleClassDescription classDescription ) throws DeploymentUnitProcessingException { final AnnotationValue puName = annotation . value ( "unitName" ) ; String scopedPuName ; String searchName = null ; if ( puName != null ) { searchName = puName . asString ( ) ; } scopedPuName = PersistenceUnitSearch . resolvePersistenceUnitSupplier ( deploymentUnit , searchName ) ; if ( null == scopedPuName ) { <START_BUG> classDescription . setInvalid ( ( ( ( "Can't<seq2seq4repair_space>find<seq2seq4repair_space>a<seq2seq4repair_space>deployment<seq2seq4repair_space>unit<seq2seq4repair_space>named<seq2seq4repair_space>" + ( puName . asString ( ) ) ) + "<seq2seq4repair_space>at<seq2seq4repair_space>" ) + deploymentUnit ) ) ; <END_BUG> return null ; } return scopedPuName ; } private ServiceName getPuServiceName ( String scopedPuName ) throws DeploymentUnitProcessingException { } private void registerInterceptorsForExtendedPersistenceContext ( SessionBeanComponentDescription componentDescription , AnnotationInstance annotation ) { } }

Fix:
classDescription . setInvalid ( ( ( ( "Can't<seq2seq4repair_space>find<seq2seq4repair_space>a<seq2seq4repair_space>" + ( puName != null ? "persistence<seq2seq4repair_space>unit<seq2seq4repair_space>named" + puName : "default<seq2seq4repair_space>persistence<seq2seq4repair_space>unit" ) ) + "<seq2seq4repair_space>at<seq2seq4repair_space>" ) + deploymentUnit ) ) ;