boolean function ( DeploymentUnit arg0 ) { return arg0 . getAttachment ( MARKER ) != null ; }
returns true if the deploymentunit has a beans.xml in any of it 's resource roots , or is a top level deployment that contains sub-deployments that are weld deployments . concode_field_sep AttachmentKey<Boolean> MARKER concode_field_sep boolean isPartOfWeldDeployment concode_elem_sep void mark