question: extracts list of all executables associated with given collection of label artifacts . concode_field_sep int MAX_PATHS_SHOWN concode_elem_sep ImmutableSet<Options> options concode_elem_sep Map<Label,Collection<Artifact>> locationMap concode_elem_sep String LOCATION concode_elem_sep RuleContext ruleContext concode_elem_sep String attrName concode_elem_sep ImmutableMap<Label,ImmutableCollection<Artifact>> labelMap concode_field_sep Map<Label,Collection<Artifact>> getLocationMap concode_elem_sep Collection<V> mapGet concode_elem_sep String expand concode_elem_sep String expand concode_elem_sep void report concode_elem_sep void report concode_elem_sep void report concode_elem_sep Label parseLabel concode_elem_sep String expandAttribute concode_elem_sep Collection<String> resolveLabel concode_elem_sep Map<Label,Collection<Artifact>> buildLocationMap
target: Set < String > function ( Collection < Artifact > arg0 , boolean arg1 ) { TreeSet < String > loc0 = Sets . newTreeSet ( ) ; for ( Artifact loc1 : arg0 ) { PathFragment loc2 = arg1 ? loc1 . getExecPath ( ) : loc1 . getRootRelativePath ( ) ; if ( loc2 != null ) { loc0 . add ( loc2 . getPathString ( ) ) ; } } return loc0 ; }