# getting-started

Jon Senchyna

03/01/2023, 9:13 PM
Is there a way to combine annotations that don't have
on them?
Is there a way to create an annotation that applies
to its target, in addition to other things? We often use `@Nested inner class
given some criteria
{...}` to group together test cases in our JUnit unit tests, and its annoying to have to add
every time (plus many teammates forget, so we have warnings popping up all over our tests). Ideally, I'd like to create an annotation that bundles
that we then use for all of these (we'll call it
as an example). I can annotate my
annotation class with
and have that propagate through to whatever I annotate with
, but
appears to just suppress warning on the naming of my annotation class and does not allow me to suppress warnings on the name of the annotated inner class.