Buggy code:
public class EjbResourceInjectionAnnotationProcessor implements DeploymentUnitProcessor { private static final DotName EJB_ANNOTATION_NAME = DotName . createSimple ( EJB . class . getName ( ) ) ; private static final Logger logger = Logger . getLogger ( EjbResourceInjectionAnnotationProcessor . class ) ; public void deploy ( DeploymentPhaseContext phaseContext ) throws DeploymentUnitProcessingException { } public void undeploy ( DeploymentUnit context ) { } private void processField ( final EEModuleDescription eeModuleDescription , final EjbResourceInjectionAnnotationProcessor . EJBResourceWrapper annotation , final FieldInfo fieldInfo ) { } private void processMethod ( final EEModuleDescription eeModuleDescription , final EjbResourceInjectionAnnotationProcessor . EJBResourceWrapper annotation , final MethodInfo methodInfo ) { final String methodName = methodInfo . name ( ) ; if ( ( ! ( methodName . startsWith ( "set" ) ) ) || ( ( methodInfo . args ( ) . length ) != 1 ) ) { throw new IllegalArgumentException ( ( "@EJB<seq2seq4repair_space>injection<seq2seq4repair_space>target<seq2seq4repair_space>is<seq2seq4repair_space>invalid.<seq2seq4repair_space>Only<seq2seq4repair_space>setter<seq2seq4repair_space>methods<seq2seq4repair_space>are<seq2seq4repair_space>allowed:<seq2seq4repair_space>" + methodInfo ) ) ; } final String injectionType = ( ( isEmpty ( annotation . beanInterface ( ) ) ) || ( annotation . beanInterface ( ) . equals ( Object . class . getName ( ) ) ) ) ? methodInfo . args ( ) [ 0 ] . name ( ) . toString ( ) : annotation . beanInterface ( ) ; final InjectionTarget targetDescription = new org . jboss . as . ee . component . MethodInjectionTarget ( methodInfo . declaringClass ( ) . name ( ) . toString ( ) , methodName , injectionType ) ; final String localContextName = ( isEmpty ( annotation . name ( ) ) ) ? ( ( ( methodInfo . declaringClass ( ) . name ( ) . toString ( ) ) + "//" ) + ( methodName . substring ( 3 , 4 ) . toLowerCase ( ) ) ) + ( methodName . substring ( 4 ) ) : annotation . name ( ) ; <START_BUG> process ( eeModuleDescription , targetDescription . getClassName ( ) , annotation . beanName ( ) , annotation . lookup ( ) , methodInfo . declaringClass ( ) , targetDescription , localContextName ) ; <END_BUG> } private void processClass ( final EEModuleDescription eeModuleDescription , final EjbResourceInjectionAnnotationProcessor . EJBResourceWrapper annotation , final ClassInfo classInfo ) throws DeploymentUnitProcessingException { } private void process ( final EEModuleDescription eeModuleDescription , final String beanInterface , final String beanName , final String lookup , final ClassInfo classInfo , final InjectionTarget targetDescription , final String localContextName ) { } private boolean isEmpty ( final String string ) { } private class EJBResourceWrapper { private final String name ; private final String beanInterface ; private final String beanName ; private final String lookup ; private final String description ; private EJBResourceWrapper ( final AnnotationInstance annotation ) { } private String name ( ) { } private String beanInterface ( ) { } private String beanName ( ) { } private String lookup ( ) { } private String description ( ) { } private String stringValueOrNull ( final AnnotationInstance annotation , final String attribute ) { } private String classValueOrNull ( final AnnotationInstance annotation , final String attribute ) { } } }

Fix:
process ( eeModuleDescription , targetDescription . getDeclaredValueClassName ( ) , annotation . beanName ( ) , annotation . lookup ( ) , methodInfo . declaringClass ( ) , targetDescription , localContextName ) ;