Buggy code:
public class ComponentDescription { private static final ComponentDescription . DefaultFirstConfigurator FIRST_CONFIGURATOR = new ComponentDescription . DefaultFirstConfigurator ( ) ; private final ServiceName serviceName ; private final String componentName ; private final String componentClassName ; private final EEModuleDescription moduleDescription ; private final EEModuleClassDescription classDescription ; private final List < InterceptorDescription > classInterceptors = new ArrayList < InterceptorDescription > ( ) ; private final Set < String > classInterceptorsSet = new HashSet < String > ( ) ; private final Map < MethodIdentifier , List < InterceptorDescription > > methodInterceptors = new HashMap < MethodIdentifier , List < InterceptorDescription > > ( ) ; private final Map < MethodIdentifier , Set < String > > methodInterceptorsSet = new HashMap < MethodIdentifier , Set < String > > ( ) ; private final Set < MethodIdentifier > methodExcludeDefaultInterceptors = new HashSet < MethodIdentifier > ( ) ; private final Set < MethodIdentifier > methodExcludeClassInterceptors = new HashSet < MethodIdentifier > ( ) ; private final Map < String , InterceptorDescription > allInterceptors = new HashMap < String , InterceptorDescription > ( ) ; private final Map < ServiceName , ServiceBuilder . DependencyType > dependencies = new HashMap < ServiceName , ServiceBuilder . DependencyType > ( ) ; private ComponentNamingMode namingMode = ComponentNamingMode . NONE ; private boolean excludeDefaultInterceptors = false ; private DeploymentDescriptorEnvironment deploymentDescriptorEnvironment ; private final List < ViewDescription > views = new ArrayList < ViewDescription > ( ) ; private final Deque < ComponentConfigurator > configurators = new ArrayDeque < ComponentConfigurator > ( ) ; public ComponentDescription ( final String componentName , final String componentClassName , final EEModuleDescription moduleDescription , final EEModuleClassDescription classDescription , final ServiceName deploymentUnitServiceName ) { } public String getComponentName ( ) { } public ServiceName getServiceName ( ) { } public String getComponentClassName ( ) { } public String getModuleName ( ) { } public String getApplicationName ( ) { } public List < InterceptorDescription > getClassInterceptors ( ) { } public Map < String , InterceptorDescription > getAllInterceptors ( ) { } public boolean isExcludeDefaultInterceptors ( ) { } public void setExcludeDefaultInterceptors ( boolean excludeDefaultInterceptors ) { } public void excludeDefaultInterceptors ( MethodIdentifier method ) { } public boolean isExcludeDefaultInterceptors ( MethodIdentifier method ) { } public void excludeClassInterceptors ( MethodIdentifier method ) { } public boolean isExcludeClassInterceptors ( MethodIdentifier method ) { } public boolean addClassInterceptor ( InterceptorDescription description ) { } public InterceptorDescription getClassInterceptor ( String interceptorClassName ) { } public Map < MethodIdentifier , List < InterceptorDescription > > getMethodInterceptors ( ) { } public boolean addMethodInterceptor ( MethodIdentifier method , InterceptorDescription description ) { } public ComponentNamingMode getNamingMode ( ) { } public void setNamingMode ( final ComponentNamingMode namingMode ) { } public EEModuleDescription getModuleDescription ( ) { } public EEModuleClassDescription getClassDescription ( ) { } public void addDependency ( ServiceName serviceName , ServiceBuilder . DependencyType type ) { } public Map < ServiceName , ServiceBuilder . DependencyType > getDependencies ( ) { } public DeploymentDescriptorEnvironment getDeploymentDescriptorEnvironment ( ) { } public void setDeploymentDescriptorEnvironment ( DeploymentDescriptorEnvironment deploymentDescriptorEnvironment ) { } public List < ViewDescription > getViews ( ) { } public Deque < ComponentConfigurator > getConfigurators ( ) { } private static class DefaultFirstConfigurator implements ComponentConfigurator { public void configure ( final DeploymentPhaseContext context , final ComponentDescription description , final ComponentConfiguration configuration ) throws DeploymentUnitProcessingException { } } static class InjectedConfigurator implements DependencyConfigurator { private final ResourceInjectionConfiguration injectionConfiguration ; private final ComponentConfiguration configuration ; private final DeploymentPhaseContext context ; private final InjectedValue < ManagedReferenceFactory > managedReferenceFactoryValue ; InjectedConfigurator ( final ResourceInjectionConfiguration injectionConfiguration , final ComponentConfiguration configuration , final DeploymentPhaseContext context , final InjectedValue < ManagedReferenceFactory > managedReferenceFactoryValue ) { } public void configureDependency ( final ServiceBuilder < ? > serviceBuilder ) throws DeploymentUnitProcessingException { InjectionSource . ResolutionContext resolutionContext = new InjectionSource . ResolutionContext ( ( ( configuration . getComponentDescription ( ) . getNamingMode ( ) ) == ( ComponentNamingMode . USE_MODULE ) ) , configuration . getComponentName ( ) , configuration . getModuleName ( ) , configuration . getApplicationName ( ) ) ; <START_BUG> injectionConfiguration . getSource ( ) . getResourceValue ( serviceBuilder , context , managedReferenceFactoryValue ) ; <END_BUG> } } }

Fix:
injectionConfiguration . getSource ( ) . getResourceValue ( resolutionContext , serviceBuilder , context , managedReferenceFactoryValue ) ;