public final class AttAnnotationDefault extends BaseAttribute
AnnotationDefault attributes.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_NAME
non-null; attribute name for attributes of this type |
| Constructor and Description |
|---|
AttAnnotationDefault(Constant value,
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.
|
Constant |
getValue()
Gets the annotation default value.
|
getNamepublic static final java.lang.String ATTRIBUTE_NAME
non-null; attribute name for attributes of this typepublic AttAnnotationDefault(Constant value, int byteLength)
value - non-null; the annotation default valuebyteLength - >= 0; attribute data length in the original
classfile (not including the attribute header)public int byteLength()
6.>= 6; the total length, in bytespublic Constant getValue()
non-null; the valueCopyright © 2020. All Rights Reserved.