constant_pool, length, name_index, tag| Constructor and Description |
|---|
AnnotationDefault(int name_index,
int length,
ElementValue defaultValue,
ConstantPool constant_pool) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class.
|
Attribute |
copy(ConstantPool _constant_pool) |
void |
dump(DataOutputStream dos)
Dump attribute to file stream in binary format.
|
ElementValue |
getDefaultValue() |
void |
setDefaultValue(ElementValue defaultValue) |
addAttributeReader, addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, readAttribute, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndex, toStringpublic AnnotationDefault(int name_index,
int length,
ElementValue defaultValue,
ConstantPool constant_pool)
name_index - Index pointing to the name Codelength - Content length in bytesdefaultValue - the annotation's default valueconstant_pool - Array of constantspublic void accept(Visitor v)
public final void setDefaultValue(ElementValue defaultValue)
defaultValue - the default value of this methodinfo's annotationpublic final ElementValue getDefaultValue()
public Attribute copy(ConstantPool _constant_pool)
public final void dump(DataOutputStream dos) throws IOException
Attributedump in class Attributedos - Output file streamIOExceptionCopyright © 2004–2019 The Apache Software Foundation. All rights reserved.