public abstract class BaseAnnotations extends BaseAttribute
| Constructor and Description |
|---|
BaseAnnotations(java.lang.String attributeName,
Annotations annotations,
int byteLength)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
byteLength()
Get the total length of the attribute in bytes, including the
header.
|
Annotations |
getAnnotations()
Gets the list of annotations associated with this instance.
|
getNamepublic BaseAnnotations(java.lang.String attributeName,
Annotations annotations,
int byteLength)
attributeName - non-null; the name of the attributeannotations - non-null; the list of annotationsbyteLength - >= 0; attribute data length in the original
classfile (not including the attribute header)public final int byteLength()
6.>= 6; the total length, in bytespublic final Annotations getAnnotations()
non-null; the listCopyright © 2020. All Rights Reserved.