Annotation
interface Annotation
| java.lang.annotation.Annotation |
The common interface extended by all annotation types. Note that an interface that manually extends this one does not define an annotation type. Also note that this interface does not itself define an annotation type. More information about annotation types can be found in section 9.6 of The Java™ Language Specification. The java.lang.reflect.AnnotatedElement interface discusses compatibility concerns when evolving an annotation type from being non-repeatable to being repeatable.
Summary
| Public methods | |
|---|---|
| abstract Class<out Annotation!>! |
Returns the annotation type of this annotation. |
Public methods
annotationType
abstract fun annotationType(): Class<out Annotation!>!
Returns the annotation type of this annotation.
| Return | |
|---|---|
Class<out Annotation!>! |
the annotation type of this annotation |