Annotation Interface InheritedAnnotation
A meta-annotation that specifies that a declaration annotation should be inherited. This should
not be written on type annotations. Unlike
Inherited
, this
meta-annotation causes the declaration annotation to be inherited even if it is used to annotate
something other than a class.
If an annotation type is meta-annotation with Inherited
, that
annotation will only be inherited when written on a class.