Return the given set with the given annotations removed. This returns a new immutable annotation set, which contains all the annotations from origSet except the given annotations. The removal is not based on equality but on the id of the annotation: an annotation in origSet which has the same id as
(AnnotationSet origSet, Annotation... except)
| 1292 | * @return A new immutable annotation set with the given annotation removed from the original set |
| 1293 | */ |
| 1294 | public static AnnotationSet minus(AnnotationSet origSet, Annotation... except) { |
| 1295 | return minus(origSet, Arrays.asList(except)); |
| 1296 | } |
| 1297 | |
| 1298 | /** |
| 1299 | * Return the given set with the given annotations removed. |