AnnotationSelector
Describes a composable selector used to match annotations.
Selectors can be combined using +, negated using unary -, or subtracted using - (which is equivalent to + (-other)).
Examples:
// all annotations except annotations named example.A and example.B
all - named("example.A", "example.B")
// just annotations named example.A and example.B
named("example.A", "example.B")
// all annotations except annotations with names matching "example.+" but including annotation example.A again
all - matches(Regex("example.+")) + named("example.A")Content copied to clipboard