Interface IRuntimeVisibleTypeAnnotationsAttribute
- All Superinterfaces:
IClassFileAttribute
- All Known Implementing Classes:
RuntimeVisibleTypeAnnotationsAttribute
Description of a runtime visible type annotations attribute as described in the JVM specifications
(added in JavaSE-1.8).
This interface may be implemented by clients.
- Since:
- 3.10
-
Method Summary
Modifier and TypeMethodDescriptionAnswer back the extended annotations.intAnswer back the number of annotations as described in the JVM specifications.Methods inherited from interface IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndexModifier and TypeMethodDescriptionlongAnswer back the attribute length as specified in the JVM specifications.char[]Answer back the attribute name as specified in the JVM specifications.intAnswer back the attribute name index in the constant pool as specified in the JVM specifications.
-
Method Details
-
getExtendedAnnotationsNumber
int getExtendedAnnotationsNumber()Answer back the number of annotations as described in the JVM specifications.- Returns:
- the number of annotations
-
getExtendedAnnotations
IExtendedAnnotation[] getExtendedAnnotations()Answer back the extended annotations. Answers an empty collection if none.- Returns:
- the extended annotations. Answers an empty collection if none.
-