protected static <A extends Annotation,T>Set<PersistentResource<T>> filter(Class<A> permission,Set<PersistentResource<T>> resources){
  return filter(permission,resources,false);
}

protected static < A extends Annotation , T > Set < PersistentResource < T > > filter ( Class < A > permission , Set < PersistentResource < T > > resources ) { return filter ( permission , resources , false ) ; }
filter a set of persistentresources .
