private List<URI> toURIs(List<NamedElement> namedElements){
  List<URI> out=Lists.newArrayList();
  if (namedElements != null) {
    for (    NamedElement namedElement : namedElements) {
      out.add(namedElement.getId());
    }
  }
  return out;
}

private List < URI > toURIs ( List < NamedElement > namedElements ) { List < URI > out = Lists . newArrayList ( ) ; if ( namedElements != null ) { for ( NamedElement namedElement : namedElements ) { out . add ( namedElement . getId ( ) ) ; } } return out ; }
change elements to uri
