Buggy code:
public class WebServiceRefAnnotationParsingProcessor implements DeploymentUnitProcessor { private static final DotName WEB_SERVICE_REF_ANNOTATION_NAME = DotName . createSimple ( WebServiceRef . class . getName ( ) ) ; private static final DotName WEB_SERVICE_REFS_ANNOTATION_NAME = DotName . createSimple ( WebServiceRefs . class . getName ( ) ) ; public void deploy ( DeploymentPhaseContext phaseContext ) throws DeploymentUnitProcessingException { } public void undeploy ( DeploymentUnit context ) { } private void processFieldRef ( final DeploymentUnit deploymentUnit , final Module module , final EEModuleDescription eeModuleDescription , final WebServiceRefAnnotationParsingProcessor . WebServiceRefWrapper annotation , final FieldInfo fieldInfo ) { } private void processMethodRef ( final DeploymentUnit deploymentUnit , final Module module , final EEModuleDescription eeModuleDescription , final WebServiceRefAnnotationParsingProcessor . WebServiceRefWrapper annotation , final MethodInfo methodInfo ) { } private void processClassRef ( final DeploymentUnit deploymentUnit , final Module module , final EEModuleDescription eeModuleDescription , final WebServiceRefAnnotationParsingProcessor . WebServiceRefWrapper annotation , final ClassInfo classInfo ) throws DeploymentUnitProcessingException { } private void processRef ( final DeploymentUnit deploymentUnit , final Module module , final EEModuleDescription eeModuleDescription , final String name , final String type , final String value , final String wsdlLocation , final ClassInfo classInfo , final InjectionTarget targetDescription , final String localContextName ) { } private UnifiedServiceRefMetaData getServiceReference ( final DeploymentUnit deploymentUnit , final String name , final String type , final String value , final String wsdlLocation ) { final UnifiedServiceRefMetaData reference = new UnifiedServiceRefMetaData ( getUnifiedVirtualFile ( deploymentUnit ) ) ; reference . setServiceRefName ( name ) ; <START_BUG> if ( ( wsdlLocation . length ( ) ) > 0 ) { <END_BUG> reference . setWsdlFile ( wsdlLocation ) ; } reference . setServiceRefType ( type ) ; reference . setServiceInterface ( value ) ; final boolean isJAXRPC = ( ( reference . getMappingFile ( ) ) != null ) || ( "javax.xml.rpc.Service" . equals ( reference . getServiceInterface ( ) ) ) ; reference . setType ( ( isJAXRPC ? Type . JAXRPC : Type . JAXWS ) ) ; return reference ; } private UnifiedVirtualFile getUnifiedVirtualFile ( final DeploymentUnit deploymentUnit ) { } private static class WebServiceRefValueSource extends InjectionSource implements Value < Object > { private final Module module ; private final UnifiedServiceRefMetaData serviceRef ; private WebServiceRefValueSource ( Module module , UnifiedServiceRefMetaData serviceRef ) { } public void getResourceValue ( final ResolutionContext resolutionContext , ServiceBuilder < ? > serviceBuilder , DeploymentPhaseContext phaseContext , Injector < ManagedReferenceFactory > injector ) throws DeploymentUnitProcessingException { } public int hashCode ( ) { } public boolean equals ( final Object obj ) { } public Object getValue ( ) throws IllegalArgumentException , IllegalStateException { } private Referenceable getReferenceable ( ) { } } private class WebServiceRefWrapper { private final String type ; private final String name ; private final String value ; private final String wsdlLocation ; private WebServiceRefWrapper ( final AnnotationInstance annotation ) { } private String name ( ) { } private String type ( ) { } private String value ( ) { } private String wsdlLocation ( ) { } private String stringValueOrNull ( final AnnotationInstance annotation , final String attribute ) { } private String classValueOrNull ( final AnnotationInstance annotation , final String attribute ) { } } private boolean isEmpty ( final String string ) { } }

Fix:
if ( ( wsdlLocation != null ) && ( ( wsdlLocation . length ( ) ) > 0 ) ) {